API Documentation
API Endpoint and Usage
Endpoint: https://deceptioner.site/deceptioner-api
Content Type: application/json
Method: POST
Sample Request
{
"text": "Text to paraphrase",
"readability": 0.7,
"aiContentDetector": "Winston AI",
"apiKey": "Your API Key"
}
Sample Response
{
"status": "success",
"msg": "success",
"current_word_limit": 6000,
"original_text": "Text to paraphrase",
"paraphrased_text": "Your paraphrased text",
}
Code Snippets
Selected Detector:
import requests
body = {
"text": "Text to paraphrase",
"readability": 0.7,
"aiContentDetector": "Winston AI",
"apiKey": "Your API Key"
}
r = requests.post("https://deceptioner.site/deceptioner-api", json=body)
print(r.text)
const axios = require('axios');
const data = {
text: "Text to paraphrase",
readability: 0.7,
aiContentDetector: "Winston AI",
apiKey: "Your API Key"
};
axios.post('https://deceptioner.site/deceptioner-api', data)
.then((response) => {
console.log(response.data);
})
.catch((error) => {
console.error(error);
});
curl -X POST https://deceptioner.site/deceptioner-api \
-H "Content-Type: application/json" \
-d '{"text": "Text to paraphrase", "readability": 0.7, "aiContentDetector": "Winston AI", "apiKey": "Your API Key"}'
$ch = curl_init();
$data = array(
'text' => 'Text to paraphrase',
'readability' => 0.7,
'aiContentDetector' => 'Winston AI',
'apiKey' => 'Your API Key'
);
curl_setopt($ch, CURLOPT_URL, 'https://deceptioner.site/deceptioner-api');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
fetch('https://deceptioner.site/deceptioner-api', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: "Text to paraphrase",
readability: 0.7,
aiContentDetector: "Winston AI",
apiKey: "Your API Key"
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch((error) => {
console.error('Error:', error);
});
Key Points
- The API has the same per request word limit like the website. (min. 10 words, max. 400 words)
- API access is only available on Premium Monthly, Basic Yearly, Standard Yearly, and Premium Yearly plans.
- API access of all plans have a rate limit of 100 requests/min.
- Your account's current word limit (check 'Subscription Info' section in your Profile Page) stays the same if you rewrite the same text again using the API.
- If you are facing any issues regarding the values for 'readability' or 'aiContentDetector' then please refer to the Code Snippets section above.