TextScore
Agent API

Use TextScore from your AI agents and workflows

The Agent API lets an AI agent, a script or a workflow tool run TextScore for you. It can check texts, write drafts and read the results.

It uses the credits in your account, at the same prices as the dashboard. API access comes with the Large and Studio packs.

How you get access

API access comes with the Large and Studio packs. It switches on the moment one of them is credited to your account. Nothing to apply for, no extra fee. Starter and Standard work in the dashboard only.

What an agent can do

One key gives your agent the same products you use in the dashboard.

AI Check

Get one verdict on a text: human, machine or undecided.

POST /api/runs/ai_check

Text Check

Get readability, tone and link results for a text.

POST /api/runs/regular_check

X Studio

Write posts, threads, replies and comments for X.

POST /api/runs/x_studio

Socials

Write posts, replies and comments for LinkedIn and Facebook.

POST /api/runs/socials

Articles

Write an outline, then the article from it.

POST /api/runs/articles

Results and credits

Read finished results and your credit balance at any time.

GET /api/runs/{id}/result

How to start

  1. Create an account and verify your email.

  2. Buy the Large or Studio pack. Access switches on when the purchase is credited. Then open API in your dashboard and press Enable API access.

  3. Copy your key. It is shown only once.

  4. Give the key to your agent or workflow tool, and point it to the quickstart.

What a call looks like

Checks and drafts run in the background. Your agent starts a run, waits for it, then reads the result.

  1. Start a run

    Send the text and your own ID for this request. The answer contains the run ID.

    POST https://textscore.io/api/runs/ai_check
    Authorization: Bearer YOUR_KEY
    Content-Type: application/json
    
    {
      "text": "YOUR_TEXT",
      "platform": "general",
      "idempotency_key": "your-request-id"
    }
  2. Wait for it

    Ask for the status every few seconds until the run is done.

    GET https://textscore.io/api/runs/RUN_ID
    Authorization: Bearer YOUR_KEY
  3. Read the result

    When the run is done, read the result.

    GET https://textscore.io/api/runs/RUN_ID/result
    Authorization: Bearer YOUR_KEY

Made for agents

Safe retries

Each request carries your own ID. If the same request is sent again, your agent gets the first run back, not a second charge.

Steps written for agents

A plain-text quickstart tells an agent how to start a run, wait and read the result.

A full reference

An OpenAPI file lists every call, field and answer, so tools can read it directly.

A key with limits

The key can run checks and products and read their results. It can't change your account or delete anything from your library.

Stop it at once

Replacing or deleting the key stops any agent using it at once.

Clear limits

Browser and key calls share your account's limits. When a limit is reached, the answer says how many seconds to wait.

Workflow ideas

Check before you publish

Run AI Check on each draft before your workflow posts it.

Review texts from many writers

Check each new text, then send the ones that need a second look to a person.

Posts on a schedule

Write X and social posts from a list of topics, then review them before they go out.

Articles from a brief

Let an agent create an outline, then the article, and keep both in My Library.

A quality step

Stop a text from moving on in your pipeline until its checks look right to you.

Your own tools

Any agent, script or workflow tool that can send a web request with a header can use it.

An AI agent API for text

The TextScore Agent API is a REST API for AI agents. It gives an AI detection API that says whether a text reads as machine-written, a text analysis API for readability and tone, and content generation APIs for X, LinkedIn, Facebook and long-form articles.

It is made for LLM agents and workflow automation. Autonomous agents read the plain-text quickstart and the OpenAPI specification, start runs with an API key, and collect the results without a person in the loop.

Any agent framework, no-code workflow tool or script that can send an HTTPS request can use it. One API key per account, the same credits as the dashboard.

Price

Runs cost the same credits as in the dashboard. There is no extra fee for the API. Access comes with the Large and Studio packs and switches on when the purchase is credited.

  • AI Check: priced per check, the estimate endpoint returns the cost before you run.
  • Text Check: priced on the words you check.
  • X Studio, Socials and Articles: priced on the delivered words, plus the searches you allow.

When your credits run out, the call is refused and nothing is charged.

See all prices

Questions

Who can use the Agent API?

Any account that has bought the Large or Studio pack. There is no separate plan and no extra fee.

Does the API cost extra?

No. Runs cost the same credits as in the dashboard. Access comes with the Large and Studio packs.

Can I try it for free?

Not through the API. New accounts get 3,000 free credits, and those work in the dashboard. Keys open with the Large or Studio pack. If you want to test the API before buying, write to us.

Which tools can call the API?

Any AI agent, script or workflow tool that can send a web request with an Authorization header.

Does the API wait for the result?

No. Your agent starts a run and gets its ID. Then it asks for the status until the run is done, and reads the result.

How many keys can I have?

One per account. You can replace it or delete it at any time from your dashboard.

Which languages does it support?

English.

Connect your first agent

Create an account, buy the Large or Studio pack, and turn on API access in your dashboard.