Skip to content

For developers

The Word of Bots API

Read your businesses, their latest numbers and the stored answers behind them from your own tools. The API is read-only. Every answer is one we already stored: a request never starts a scan or asks an AI tool again.

Getting started

  • Who has it: an account whose plan includes the API (see Pricing). Its tokens stop working the moment the plan no longer does, and work again as soon as it does.
  • Base URL: https://wordofbots.com/api/v1. Every path below is under it.
  • Format: JSON in every answer, errors included, whatever your request asks for. No cookies, no session.
curl -H "Authorization: Bearer wob_…" \
     https://wordofbots.com/api/v1/businesses

Tokens

Make a token in Settings → API (the tab shows only on a plan with the API) and send it on every request:

Authorization: Bearer wob_…
  • A token starts with wob_. It is shown once, when it is made; we keep only a hash of it and its last four characters. A lost token is revoked and replaced, never shown again.
  • An account holds at most 5 tokens that are not revoked.
  • Revoking a token turns it off at once and for good; it stays listed.
  • A token belongs to the account, not to a person. Closing the account erases its tokens.

Limits

  • 60 requests a minute per token. Past it, a 429 with Retry-After (in seconds). Every answer to a good token carries X-RateLimit-Limit and X-RateLimit-Remaining. Each token has its own minute.
  • 30 failed requests a minute per IP address. A 401 (no token, one we do not know, a revoked one) counts against the address it came from. Once an address reaches it, every request from it is a 429, a good token’s too, until the minute from its first failure is up.
  • ?cycles= is 1 to 12; ?per_page= is 1 to 50.
  • New numbers arrive when your plan’s next scan does, so polling more than once a day gains nothing.

Errors

Every error is JSON with a message.

Status codes
StatusWhen
401No token, a token we do not know, or a revoked one. Carries WWW-Authenticate: Bearer.
403The token is good, but the account’s plan does not include the API (a plan without it, a downgrade, a lapse), or the account is suspended or closed.
404A business that is not this account’s or does not exist (never a 403), or a path with no endpoint.
422A query parameter out of range, or an engine we do not know. The body names the field under errors.
429Past a token’s limit, or too many failed requests from your address (see Limits).
503The API is not open yet.
{
    "message": "The selected engine is invalid.",
    "errors": {
        "engine": [
            "The selected engine is invalid."
        ]
    }
}

List businesses

GET /businesses

Every business the account tracks, paused ones too, by name. trade, market, city and region are the market we scan for it (its town and trade), not its street address.

{
    "data": [
        {
            "id": 42,
            "name": "Coastal Breeze Air",
            "website": "https://coastalbreeze.example",
            "paused": false,
            "trade": "hvac",
            "market": "hvac/melbourne-fl",
            "city": "Melbourne",
            "region": "FL"
        }
    ]
}

A business’s metrics

GET /businesses/{id}/metrics

The latest cycle’s numbers, the same ones the dashboard shows.

Query parameters
QueryMeaning
cyclesHow many cycle dates the trend carries: 1 (the default, the latest only) to 12.
{
    "data": {
        "business": {
            "id": 42,
            "name": "Coastal Breeze Air",
            "website": "https://coastalbreeze.example",
            "paused": false,
            "trade": "hvac",
            "market": "hvac/melbourne-fl",
            "city": "Melbourne",
            "region": "FL"
        },
        "status": "ready",
        "in_progress": false,
        "cycle": {
            "date": "2026-10-15",
            "slot": 0,
            "prompt_set_version": 3
        },
        "current": {
            "answers": 80,
            "answers_naming": 20,
            "visibility": 0.25,
            "mean_position": 2,
            "mentions": 20,
            "market_mentions": 200,
            "share_of_voice": 0.1
        },
        "engines": [
            {
                "engine": "chatgpt",
                "label": "OpenAI",
                "status": "ok",
                "answers": 20,
                "named": 5,
                "visibility": 0.25,
                "mean_position": 2,
                "share_of_voice": 0.1
            }
        ],
        "trend": [
            {
                "cycle_date": "2026-10-15",
                "cycle_slot": 0,
                "visibility": 0.25,
                "mean_position": 2,
                "share_of_voice": 0.1
            }
        ]
    }
}
  • status: ready, partial (an engine failed or is missing), failed (no engine answered the latest cycle), pending (no cycle yet) or paused.
  • cycle: which cycle these are. slot 1 is the day’s second cycle (a rescan); prompt_set_version changes when the market’s questions are edited, and the trend stays on one version.
  • visibility is the share of read answers that named the business, mean_position its average rank when named, and share_of_voice its share of every name the engines gave in the market. Each is null when there is nothing to count.
  • engines: one per engine, in this order: chatgpt, perplexity and claude. Its status is ok, failed, running or absent.
  • trend: oldest first, one point a date (a rescanned date at its newer slot).
  • With no cycle yet, cycle and current are null, and engines and trend are empty.

A business’s answers

GET /businesses/{id}/answers

What we found in the latest cycle’s answers in the business’s market, a page at a time, in question order, then engine.

Query parameters
QueryMeaning
pageFrom 1.
per_page1 to 50; 20 by default.
engineOne engine’s answers only: chatgpt (OpenAI), perplexity (Perplexity) or claude (Claude). Any other is a 422. Leave it out for every engine.
GET /businesses/42/answers?engine=chatgpt&per_page=20
{
    "data": {
        "business": {
            "id": 42,
            "name": "Coastal Breeze Air",
            "website": "https://coastalbreeze.example",
            "paused": false,
            "trade": "hvac",
            "market": "hvac/melbourne-fl",
            "city": "Melbourne",
            "region": "FL"
        },
        "cycle": {
            "date": "2026-10-15",
            "slot": 0,
            "prompt_set_version": 3
        },
        "answers": [
            {
                "id": 9001,
                "engine": "chatgpt",
                "label": "OpenAI",
                "prompt": "Who is the best HVAC company in Melbourne, FL?",
                "prompt_position": 1,
                "state": "named",
                "named": true,
                "position": 2,
                "truncated": false,
                "citation_count": 4,
                "sources": [
                    {
                        "source": "yelp.com",
                        "mark": "listed"
                    },
                    {
                        "source": "angi.com",
                        "mark": "not_seen"
                    }
                ],
                "reason": {
                    "sources": [
                        {
                            "source": "yelp.com",
                            "mark": "listed"
                        }
                    ],
                    "linked": true
                }
            }
        ]
    },
    "meta": {
        "page": 1,
        "per_page": 20,
        "total": 80,
        "last_page": 4
    }
}
  • state: named (the answer named the business; position is its best rank in it), not_named, not_read (answered, but not read yet: it counts in no number) or no_answer (the engine gave none).
  • truncated: the engine stopped at its length limit.
  • citation_count: how many sources the answer cited. sources are their sites, each once, in the order cited, each marked cited (your own website), listed (one of your listings is there) or not_seen.
  • reason: why the answer named the business, null unless it did and its sentence was found. Its sources are the sites that sentence leaned on: the ones it links when linked is true, otherwise the first five the whole answer cited, marked as above.
  • The API gives what we found in each answer, never the answer’s own words, links or page titles. Read an answer in full on the business’s page.
  • One answer serves every business tracked in the market; what is per business is state, named, position, the sources’ marks and reason.

Not in this version

Writes of any kind, competitors, the checklist and webhooks. If you need one, tell us.

Newsletter

Stay in the loop

News and updates straight to your inbox — no spam, and you can unsubscribe anytime.