Article Spinner API – Documentation

Supported Output Languages

Language CodeLanguage NameLanguage CodeLanguage NameLanguage CodeLanguage Name
bnBangladeshitItaliannlDutch
esEspanol (Spanish)caCatalanviVietnamese
enEnglishptPortuguesetrTurkish
frFrenchtlTagalogarArabic
taTamiljaJapanesehiHindi
ruRussiankoKoreandeDeutch (German)
ptPortugueseidIndonesianroRomanian
myMalaysian (Burmese)heHebrewmsMalay

Modes Parameter

Mode ParametersMode Names
m0Human
m1AI Robot
m2Plagiarism Remover
m3Standard
m4Formal

API Endpoints

Node

const axios = require("axios");

const encodedParams = new URLSearchParams();

encodedParams.append("text", encodeURIComponent("In the shortest and most direct description, content marketing is a marketing strategy that focuses on creating and sharing consistent and relevant content."));
// text input limit is 5000

encodedParams.append("mode", "m0");
// 5 modes: m0, m1, m2, m3, m4

encodedParams.append("dest", "en");
// allowed destination languages: ["bn", "es","en","fr","it","ca","pt","tl","nl", "vi","tr", "ar", "ta", "ru", "pt", "my", "ja", "ko", "id", "he", "hi", "de", "ro","ms"]

const options = {
  method: 'POST',
  url: 'https://paraphrasing-tool-by-askseo1.p.rapidapi.com/',
  headers: {
    'content-type': 'application/x-www-form-urlencoded',
    'X-RapidAPI-Key': '{Contact for API Key}',
    'X-RapidAPI-Host': 'paraphrasing-tool-by-askseo1.p.rapidapi.com'
  },
  data: encodedParams
};

axios.request(options).then(function (response) {
	console.log(response.data);
}).catch(function (error) {
	console.error(error);
});

Python

import requests

import urllib.parse

url = "https://paraphrasing-tool-by-askseo1.p.rapidapi.com/"

text = urllib.parse.quote("In the shortest and most direct description, content marketing is a marketing strategy that focuses on creating and sharing consistent and relevant content.")

# text input limit is 5000

mode = 'm0'

# modes: m0, m1, m2, m3, m4

dest = 'en'

# languages : ["bn", "es","en","fr","it","ca","pt","tl","nl", "vi","tr", "ar", "ta", "ru", "pt", "my", "ja", "ko", "id", "he", "hi", "de", "ro","ms"]

payload = f"text={text}&mode={mode}&dest={dest}"

headers = {

            "content-type": "application/x-www-form-urlencoded",

            "X-RapidAPI-Key": "{Contact for API Key}",

            "X-RapidAPI-Host": "paraphrasing-tool-by-askseo1.p.rapidapi.com"

}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)

PHP

<?php

$curl = curl_init();

$text = urlencode("In the shortest and most direct description, content marketing is a marketing strategy that focuses on creating and sharing consistent and relevant content.");

$mode = "m0";

$dest = "en";

curl_setopt_array($curl, [

            CURLOPT_URL => "https://paraphrasing-tool-by-askseo1.p.rapidapi.com/",

            CURLOPT_RETURNTRANSFER => true,

            CURLOPT_FOLLOWLOCATION => true,

            CURLOPT_ENCODING => "",

            CURLOPT_MAXREDIRS => 10,

            CURLOPT_TIMEOUT => 30,

            CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,

            CURLOPT_CUSTOMREQUEST => "POST",

            CURLOPT_POSTFIELDS => "text=". $text ."&mode=". $mode . "&dest=" . $dest,

            CURLOPT_HTTPHEADER => [

                        "X-RapidAPI-Host: paraphrasing-tool-by-askseo1.p.rapidapi.com",

                        "X-RapidAPI-Key: {Contact for API Key}",

                        "content-type: application/x-www-form-urlencoded"

            ],

]);

$response = curl_exec($curl);

$err = curl_error($curl);

curl_close($curl);

if ($err) {

            echo "cURL Error #:" . $err;

} else {

            echo $response;

}

Terms and Conditions

  • Characters limit per input is 5000.
  • Commercial usage can revoke the access to API.
  • Fair usage policy is applied on API
  • API is only allowed on Annual Plan

Note: For API key, please contact on articlespinnerai@gmail.com

Aiarticlespinner.co

Connect