Black Friday

40% off yearly plans, every year. Ends December 722 days left

Get 40% off

HomeAPI

SEO WRITING API. Your code writes and publishes.

Does SEO WRITING have an API?

Yes. The SEO WRITING REST API lets your code, scripts and AI agents do what you do in the dashboard: write SEO articles, publish them to WordPress or Shopify, update posts already on your site and get Google data for a keyword. It is part of every paid plan from Starter, $19 a month. Requests use the same credits as the dashboard.

Write an article, send it to WordPress as a draftPOST /v1/generation/article

curl https://api.seowriting.ai/v1/generation/article \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "main_keyword": "best espresso machine for home",
    "model_id": 100,
    "language": "en",
    "target_country": "us",
    "article_type": "listicle",
    "article_size": "medium",
    "publication": { "site_id": "site_...", "status": "draft" },
    "callback_url": "https://example.com/seowriting-hook"
  }'

# answer: { "task_id": "tsk_..." }
Get 3 Free Articles

API on every paid plan. Full API reference

What can I do with the API?

Everything from the dashboard, from code.

  • Write articlesFrom a keyword, like 1-Click Blog Post, or from your own brief and files, like Describe your article.POST /v1/generation/article
  • Write many at onceBulk runs from a list of keywords.POST /v1/generation/bulk
  • Publish to your siteWordPress or Shopify: draft, publish now or schedule. Your own HTML articles too.POST /v1/document/{id}/publishfree
  • Update posts on WordPressChange the text, title, SEO title or description of any post. The old text stays as a revision.PUT /v1/site/{id}/posts/{post_id}free
  • Google data for a keywordRelated searches, "People also ask" and Google's AI answer, in 10 to 30 seconds.POST /v1/search-data0.1 credit
  • Score and improveContent Score against the top Google results, pages of your site to link to, images.POST /v1/document/{id}/content-score

Getting started guide · All features

How does one article work?

Five calls, or fewer.

  1. Ask the price/generation/article/estimateCredits before you pay.
  2. Start the article/generation/articleYou get a task id.
  3. Wait for the callcallback_urlWe call your server when it is ready.
  4. Get the article/generation/{id}/resultThe text and a document id.
  5. Publish/document/{id}/publishOr pass publication at the start and skip this.

AI autoblogging without code · The WordPress plugin

Who uses the API?

Anyone who runs content from code.

  • Agencies with many client sites
  • Developers of SEO tools
  • AI agents and automations
  • Publishers with their own CMS flow
  • Online stores on Shopify

How do keys and limits work?

Simple and safe.

  • Create keys in Settings, IntegrationsOne key per project if you like. Revoke a key and it stops at once.
  • Send the key in every requestThe Authorization: Bearer header.
  • 60 requests a minute per keyOver the limit you get 429 and Retry-After. Callbacks save requests.
  • Signed callbacksEvery call to your server carries X-Seowriting-Signature, so you know it came from us.

Any other questions?

Short answers.

Is the API free?

The API has no extra fee: it is part of every paid plan. What costs credits in the dashboard costs the same credits through the API. Saving and publishing your own articles and updating posts are free. Pricing

Can I use the API on the Free plan?

No. The API works on paid plans, starting with Starter. Your first 3 free articles are made in the dashboard.

Does it work with Shopify?

Yes, for publishing articles to a Shopify blog. Reading and updating existing posts works for WordPress.

Can an AI agent use it?

Yes. Any agent or script that can send HTTP requests can write, check and publish articles with your key.

Where are all the fields and answers?

In the API reference. It is always up to date with the API.

Build with SEO WRITING.

Start free, then get your API key on any paid plan.

Get 3 Free Articles