API and MCP
Write, humanize, score and publish articles from your own systems, or straight from an AI assistant. Everything you can do in the dashboard for articles and WordPress publishing, you can do here, using the same credits.
Overview
There are two ways in, and they share the same accounts, credits and limits:
- REST API at
https://articles.fast/api/v1. JSON over HTTPS for your scripts, content pipelines, Zapier or Make scenarios and internal tools. - MCP server at
https://articles.fast/mcp, so AI assistants such as Claude and ChatGPT can write and publish articles for you in conversation.
Calls act as the person who created the key (or approved the connection) inside their team workspace. They see the team’s articles, sites and schedule, and spend the team’s credits. Billing, team members and WordPress passwords are never available through the API.
Access is currently for invited accounts during the beta.
Quick start
1. Sign in, open Account, and create an API key under API keys. Copy it: it’s shown once.
2. Check the key works and see your credits:
curl https://articles.fast/api/v1/me \
-H "Authorization: Bearer $ARTICLES_FAST_KEY"3. Start an article from a topic. It returns straight away with an id while the work runs in the background:
curl https://articles.fast/api/v1/articles \
-H "Authorization: Bearer $ARTICLES_FAST_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: kitchen-guide-2026-12-01" \
-d '{
"mode": "generate",
"topic": "How much does a kitchen renovation cost in the UK?",
"audience": "UK homeowners planning a renovation",
"notes": "We are a Leeds fitter. Typical jobs £8k-£25k. Mention lead times of 6-10 weeks.",
"template": "guide",
"length": 1500
}'{ "id": "upGpU7pYXOE2", "status": "queued", "credits_used": 1, "credits_left": 59 }4. Poll until status is done (usually 2 to 6 minutes), then read text and the scores:
curl https://articles.fast/api/v1/articles/upGpU7pYXOE2 \
-H "Authorization: Bearer $ARTICLES_FAST_KEY"A simple loop in Python:
import os, time, requests
API = "https://articles.fast/api/v1"
H = {"Authorization": f"Bearer {os.environ['ARTICLES_FAST_KEY']}"}
job = requests.post(f"{API}/articles", headers=H, json={
"mode": "paste",
"text": open("draft.txt").read(),
}).json()
while True:
a = requests.get(f"{API}/articles/{job['id']}", headers=H).json()
if a["status"] in ("done", "failed"):
break
time.sleep(20)
print(a["scores"]["after"], a["text"][:200])Authentication
API keys
Send your key in the Authorization header on every request: Authorization: Bearer af_…. Keys are created and revoked under Account, and each one shows when it was last used.
| Scope | Can do |
|---|---|
read | Read account, articles, sites and schedule. Can't spend credits or publish. |
write | Everything in read, plus create articles, publish, schedule and cancel. |
A workspace can have up to 10 active keys. Anyone on the team can create keys; members can revoke their own, the owner can revoke any. A key stops working straight away if it’s revoked or if its creator is removed from the team.
OAuth for AI assistants
Assistants that support it (Claude and ChatGPT connectors, for example) use “Sign in with articles.fast” instead of a pasted key. The assistant sends you to articles.fast, you sign in and approve, and it gets a token that lasts an hour and renews itself for up to 30 days of use. Connected apps are listed under Account, where you can disconnect them. Technical details: OAuth 2.1 authorization code flow with PKCE (S256 only), dynamic client registration, rotating refresh tokens, and discovery at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server.
Credits and costs
The API uses the same credits as the dashboard. Monthly plan credits are used first, then pack credits.
| Action | Cost |
|---|---|
Create article | 1 credit per 1,500 words (a 2,500-word article is 2 credits). For paste mode, counted on the text you send. |
Publish or schedule | Free |
Reading anything | Free |
If a job fails, its credits are returned automatically. If you don’t have enough credits you get a 402 insufficient_credits error and nothing is charged.
Rate limits
| Limit | Value | Applies to |
|---|---|---|
Requests | 120 a minute | Each API key or connected app |
Creating work | 20 a minute and 500 a day | Each workspace (articles, posts and publishing combined) |
Work in progress | 10 at a time | Each workspace (articles and post sets still being written) |
Failed sign-ins | 20 a minute | Each IP address |
Every response includes X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds). When you hit a limit you get 429 rate_limited with a Retry-After header in seconds. Wait that long before retrying. For bulk jobs, submit up to 10 at a time and start the next one when one finishes. Need higher limits for a big project? Email support@articles.fast.
Idempotency
Network blips happen. So that a retry never charges you twice, send an Idempotency-Key header (8 to 100 characters: letters, digits, - _ : .) on POST /articles and POST /articles/:id/publish. If we’ve seen the same key from your workspace in the last 24 hours, we return the original response with Idempotent-Replayed: true and do nothing new. Use something tied to the job, like clientA-2026-12-01-kitchen-costs.
Errors
Errors use normal HTTP status codes and a consistent body:
{ "error": { "code": "insufficient_credits", "message": "This needs 2 credits and you have 1." } }| Status | Codes | What to do |
|---|---|---|
400 | invalid_json, invalid_mode, too_short, too_long, missing_topic, unknown_site, site_not_connected, article_not_ready, invalid_time, unknown_image, invalid_idempotency_key | Fix the request. The message says what's wrong. |
401 | unauthorized | Missing, wrong or revoked key. |
402 | insufficient_credits | Buy credits or wait for your plan to renew. |
403 | insufficient_scope | Use a read-and-write key. |
404 | not_found | Wrong id, or it belongs to another workspace. |
409 | cannot_cancel | The item has already been published. |
413 | too_large | Keep request bodies under 200 KB. |
429 | rate_limited, too_many_in_progress | Wait for Retry-After, or for running work to finish. |
500 | server_error | Retry with the same Idempotency-Key. If it persists, contact us. |
How work runs
Creating an article or post set returns 202 with an id. The work then moves through these statuses:
| Status | Meaning |
|---|---|
queued | Accepted, waiting to start |
drafting | Writing the first draft (generate mode only) |
scoring | Scoring the draft with AI detectors (the before score) |
humanizing | Rewriting so it reads like a person wrote it |
polishing | Final proofread |
checking | Scoring the finished text (the after score and independent check) |
done | Finished: text and scores are available |
failed | Couldn't finish. Credits have been returned |
Typical times: 2 to 4 minutes for pasted text, 3 to 6 for a generated 1,500-word article. Poll every 15 to 30 seconds; faster polling only uses up your request limit. Scores are percentages from 0 to 100: before is the draft, after the finished text, and independent a second detector run on the finished text where your plan includes it. Detectors are less certain on short texts, especially under about 300 words.
Endpoints
Base URL https://articles.fast/api/v1. All bodies are JSON. Times are ISO 8601 in UTC.
GET/me
Your workspace, plan and credit balances.
{
"workspace": { "id": 2, "name": "Acme Content", "plan": "pro", "subscription_status": "active", "renews_at": "2026-12-23T15:48:06Z" },
"credits": { "articles": 59, "articles_monthly": 29, "articles_pack": 30, "images": 15, "indexing": 49 },
"user": { "id": 2, "email": "you@agency.com", "role": "owner" }
}POST/articles
Start an article. Requires a write key. Returns 202.
| Field | Type | Notes |
|---|---|---|
mode | string | Required. generate (write from a topic) or paste (improve your text). |
topic | string, ≤300 | generate: required. Topic or working title. |
text | string | paste: required. 50 to 5,000 words of plain text. |
title | string, ≤200 | Optional. Otherwise taken from the first line. |
keyword | string, ≤200 | generate: target search keyword, used naturally. |
audience | string, ≤300 | Who it's for. |
notes | string, ≤4,000 | Facts, prices, your experience, brand voice, things to avoid. The single biggest quality lever: real details here stop the writer guessing. |
template | string | generate: guide (default), howto, comparison, explainer. |
length | integer | generate: 800, 1500 (default) or 2500 words. |
site_id | integer | File it under a site. See GET /sites. |
{ "id": "upGpU7pYXOE2", "status": "queued", "credits_used": 1, "credits_left": 59 }GET/articles
List articles, newest first, without the text.
| Query | Notes |
|---|---|
limit | 1 to 100, default 20 |
site_id | Only this site |
status | Only this status, for example done |
before | Pagination: pass next_before from the previous page |
{ "data": [ { "id": "upGpU7pYXOE2", "title": "…", "status": "done", "scores": { … }, … } ],
"has_more": true, "next_before": "2026-11-23T16:02:11.402Z" }GET/articles/{id}
One article with its scores and, once done, the finished plain text. Add ?include_text=false to skip the text.
{
"id": "upGpU7pYXOE2", "title": "How much does a kitchen renovation cost in the UK?",
"status": "done", "mode": "generate", "template": "guide", "site_id": 4,
"words": 1512, "credits_used": 1,
"scores": {
"before": { "label": "AI", "human": 0, "ai": 100 },
"after": { "label": "Human", "human": 100, "ai": 0 },
"independent": { "label": "Human Written", "human": 100, "ai": 0 }
},
"text": "How much does a kitchen renovation cost in the UK?\n\nMost of the quotes we…",
"error": null, "created_at": "…", "updated_at": "…",
"url": "https://articles.fast/articles/upGpU7pYXOE2"
}The text is plain: the title on the first line, headings on their own lines, paragraphs separated by blank lines, and list items starting with •.
GET/sites
Your sites (one per blog or client) with their defaults and whether WordPress publishing is connected. Sites and WordPress logins are managed in the dashboard.
{ "data": [ { "id": 4, "name": "Leeds Kitchens", "url": "https://leedskitchens.co.uk", "wordpress_connected": true,
"audience": "UK homeowners", "brand_voice": "Friendly, plain English…", "default_template": "guide" } ] }POST/articles/{id}/publish
Publish a finished article to a site’s WordPress now, or schedule it. Requires a write key. Returns 201 with the schedule item.
| Field | Type | Notes |
|---|---|---|
site_id | integer | Required. Must have WordPress connected. |
publish_at | string | ISO 8601. Leave out to publish now. Up to a year ahead. |
as_draft | boolean | true saves a WordPress draft for review instead of going live. |
image_id | integer | Optional header image made for this article in the dashboard; set as the featured image. |
{ "id": 31, "article_id": "upGpU7pYXOE2", "site_id": 4, "publish_at": "2026-12-01T09:00:00Z",
"as_draft": false, "status": "scheduled", "post_url": null, "error": null, "finished_at": null }Scheduled items are checked every minute. Status moves to published with post_url set, or failed with an error such as a changed WordPress password.
GET/schedule
Publishing jobs, newest first. Filter with site_id and status (scheduled, publishing, published, failed).
GET/schedule/{id}
One publishing job.
DELETE/schedule/{id}
Cancel a scheduled item or clear a failed one. Published items can’t be cancelled (409). Requires a write key.
MCP for AI assistants
The MCP server lets an assistant do the work in conversation: “Write a 1,500-word guide on kitchen renovation costs for Leeds Kitchens and schedule it for Monday at 9am.” It uses Streamable HTTP at https://articles.fast/mcp and accepts either OAuth (sign in and approve) or an API key in the Authorization header.
Tools
| Tool | What it does |
|---|---|
get_account | Plan and credit balances |
list_sites | Sites with audience, voice, template and WordPress status |
create_article | Write (generate) or improve (paste) an article. Spends credits. |
get_article | Status, scores and text. wait_seconds (up to 50) waits for it to finish. |
list_articles | Recent articles, filter by site or status |
publish_article | Publish or schedule a finished article to WordPress, live or as a draft |
list_scheduled | Publishing jobs and live links |
cancel_scheduled | Cancel a scheduled item |
Read-only keys and connections only see the read tools. Tools that spend credits or publish are marked so assistants ask before using them.
Claude (web and desktop)
Settings → Connectors → Add custom connector. Name it articles.fast and use the URL https://articles.fast/mcp. Click Connect, sign in to articles.fast and approve. On Team and Enterprise plans an owner may need to add the connector first.
ChatGPT
Settings → Apps & Connectors → Advanced, turn on developer mode, then Create. Use the URL https://articles.fast/mcp with OAuth authentication, then sign in and approve.
Claude Code
claude mcp add --transport http articles-fast https://articles.fast/mcp \
--header "Authorization: Bearer $ARTICLES_FAST_KEY"Prompts that work well
- “How many articles.fast credits do I have, and which sites have WordPress connected?”
- “Improve this draft with articles.fast and show me the before and after scores.” (then paste the draft)
- “Write a how-to on fixing a dripping tap for Leeds Kitchens, 800 words, using these notes: … When it’s done, save it to WordPress as a draft.”
- “What’s scheduled to publish this week? Cancel anything for Client B.”
Agency workflows
A month of content for one client
Set the client up as a site in the dashboard with their audience, brand voice and WordPress login. Then from your planning sheet, for each row: POST /articles with site_id, the topic, keyword and the client’s facts in notes, and an Idempotency-Key built from the row (for example clientA-2026-12-row07). Keep at most 10 running. When each is done, check scores.after, then POST /articles/:id/publish with publish_at spread across the month, or as_draft: true if the client signs off in WordPress.
Refreshing old posts
Export old posts as plain text, send each with mode: "paste", and compare scores.before and scores.after to show the client the improvement. Publish as drafts so an editor can swap them in.
Reporting
GET /articles?site_id=…&status=done and GET /schedule?site_id=…&status=published give you everything delivered for a client, with scores and live links, ready for a monthly report.
No-code tools
Zapier, Make and n8n can call the API with their HTTP or webhook steps: set the Authorization header, send the JSON body, then add a delay of a few minutes and a GET to collect the result.
Security
- Keys are shown once and stored only as a one-way hash. If you lose one, revoke it and make a new one.
- Keep keys on the server: never put them in a web page, mobile app or public repository. The API doesn’t allow browser cross-origin requests.
- Use a read-only key for reporting and dashboards. Give each integration its own key, so you can revoke one without breaking the rest.
- Everything is HTTPS only. Each workspace can only ever see its own data; ids from other workspaces return 404.
- OAuth connections use PKCE, single-use codes that expire in 10 minutes, one-hour access tokens and rotating refresh tokens. Reusing an old refresh token disconnects that app.
- WordPress application passwords are stored encrypted and never returned by the API.
- Found a security problem? Email support@articles.fast. Please don’t test against other people’s accounts.
Versioning
This is version 1. We add new fields and endpoints without notice, so ignore fields you don’t recognise. Breaking changes will go into a new version (/api/v2), and v1 will keep working for at least six months after that. The machine-readable spec is at /docs/openapi.json.