Paraphrasing and Article Rewriter API
WordSpin AI has a REST API at https://wordspinai.com/api/v1. Create an API key in your account, send it as a Bearer token, and rewrite, paraphrase, summarize, expand spintax or check text. Calls draw on your plan's monthly word allowance.
What the API does
The API exposes the same engines as the web app. Calls are JSON over HTTPS and authenticated with a key from your account. Everything below is available today; the full request reference is shown to signed-in users on the API keys page.
Get a key
- Create a free account.
- Open the API keys page in your account and choose Generate Key. The key is shown once. Keep it private and revoke it from the same page if it leaks.
- Send it on every request as
Authorization: Bearer YOUR_KEY. Base URL:https://wordspinai.com/api/v1.
What you can call
- Rewrite:
POST /api/v1/rewritewith modes rewrite, simplify, formal, casual, creative, shorten, expand, correct, humanize and paragraphs;POST /api/v1/rewrite/batchfor several versions in one call. - Spintax:
POST /api/v1/spintaxto generate spintax from text;POST /api/v1/spintax/expandto expand it into versions (classic, square, hash, tilde or double_curly);POST /api/v1/spintax/downloadto download expanded versions as a ZIP. - Paraphrase, summarize, translate:
POST /api/v1/tools/paraphrase,/tools/summarize,/tools/translate. - Checks:
POST /api/v1/plagiarism-checkandPOST /api/v1/ai-detect. - Bulk files:
POST /api/v1/bulk-upload(a ZIP of .txt articles) andPOST /api/v1/bulk-download. - Articles and publishing: article library endpoints, article generation, and WordPress site and publish endpoints.
- Account:
GET /api/v1/usage,GET /api/v1/accountandPOST /api/v1/check-limitto see your allowance before you spend it.
Example: expand spintax
Request:
curl -X POST https://wordspinai.com/api/v1/spintax/expand \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"spintax": "{Hello|Hi} {friend|reader}", "count": 4, "format": "classic"}'
Example response. The order of versions is random, so read it as an example, not a fixed result:
{
"spintax": "{Hello|Hi} {friend|reader}",
"spintax_format": "classic",
"requested": 4,
"generated": 4,
"versions": ["Hello friend", "Hi friend", "Hi reader", "Hello reader"]
}
Limits and billing
- Rate limits are set per route; for example the rewrite route allows 50 calls an hour, spintax expand 30, plagiarism check 20 and account 30.
- Allowances: words you send or receive count against the same monthly allowances shown on plans. When an allowance is spent the API returns HTTP 429 with a message. There is no separate API plan.
- Errors: 401 for a missing, invalid or revoked key; 400 for bad input; 429 for rate or allowance limits; 502 when the AI service is unavailable.
Questions
Is there a free API?
Any account can create an API key. Calls use your plan's monthly word allowance, and the free plan has 5,000 rewrite words a month.
How do I authenticate?
Send your key as a Bearer token in the Authorization header.
Can I get spintax from the API?
Yes. POST /api/v1/spintax generates spintax from text, and POST /api/v1/spintax/expand expands spintax you provide.
Does the API need a paid plan?
The key route has no plan check in the code. What you can do is limited by your plan's monthly allowances.
More: the FAQ, plans, features, the free spintax expander, our guides (including email spintax) and contact.