Docs
RankHound API reference
Reads over what RankHound has done and what its AI visibility tracking has collected, and writes that approve, edit and publish articles, pause the agent and change what it tracks. One header, one envelope, and a worked response for every endpoint.
Base URL and authentication
A key from app.rankhound.ai/api-keys, shown once at creation. `Authorization: Bearer <key>` is accepted equivalently. Keys belong to the organisation, not to a person, so they survive that person leaving.
curl -H "X-API-Key: $RANKHOUND_API_KEY" https://app.rankhound.ai/api/v1/me
# Authorization: Bearer is accepted equivalently
curl -H "Authorization: Bearer $RANKHOUND_API_KEY" https://app.rankhound.ai/api/v1/me300 requests a minute, the same on every plan. Errors and rate limits has the headers, the two different things that cause a 429, and every code you can be handed.
The response envelope
Success puts the result in data and the context you need to describe it in meta. meta.brand tells you which brand these numbers belong to, which is what stops a multi-brand client filing one customer's figures under another's.
{
"data": ...,
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": { "id": "wsp_...", "name": "Acme" },
"note": "..."
}
}Anywhere a rate appears it is this shape, never a bare number. The denominator travels with the figure so nobody has to guess how much is behind it:
{
"present": 3, // answers that named the brand
"responses": 4, // answers in the window — the denominator
"rate": null, // present/responses to 3dp, or NULL below min_sample
"min_sample": 5 // the floor below which rate is null
}That is the case worth staring at. Three of four answers named the brand, and rate is null because four answers is too few to quote a percentage from. Rendering it as 0% reports a collapse in visibility that did not happen.
The 27 endpoints
Reads are GET. Writes are POST, PATCH or DELETE and need a key with the matching write scope. All return the same envelope, and every table below is generated from the OpenAPI document, so it describes what the API actually does rather than what someone remembered.
- GET /meWho this key is, and the rules for reading the numbers
- GET /brandsEvery brand this key may read
- GET /agentThis week: what the SEO agent did, and what is waiting on you
- PATCH /agentPause or resume writing and publishing
- GET /blog/postsPublished articles for your own site to render (Blog API)
- GET /blog/posts/{slug}One published article with its html (Blog API)
- GET /articlesThe articles the SEO agent chose, wrote and published, and why
- GET /articles/{id}One article in full, with the evidence it was chosen on
- PATCH /articles/{id}Edit an article before it publishes
- GET /keywordsThe keywords the SEO agent ranks weekly, with who ranks above you
- POST /keywordsTarget a keyword
- DELETE /keywordsStop tracking a keyword
- GET /competitor-gapsWhat each competitor ranks for that you do not, with the page that ranks
- GET /visibilityPresence per engine and per brand over a trailing window
- GET /answersThe stored answers, with their mentions and citations
- GET /sourcesThe domains the engines read before answering
- GET /competitorsWho the engines name instead of you
- POST /competitorsTrack a competitor
- DELETE /competitorsStop tracking a competitor
- GET /recommendationsWhat to do next, ranked, with the evidence
- GET /questionsThe questions this workspace runs against the engines
- GET /sentimentHow the engines frame each brand when they name it
- GET /share-of-voiceEach tracked brand's mentions as a share of every tracked brand's
- GET /alertsFindings about your brand, newest first
- POST /articles/{id}/{action}Approve, reject, rewrite, unschedule or publish an article
- GET /authorityThe site's authority beside its competitors
- GET /opportunitiesSearches the site shows up for but no page wins
GET/me
Who this key is, and the rules for reading the numbers
Call this first. The reporting_rules block is not advisory: it carries the sample floor and the live alert thresholds, which is the only way a client can tell 'no alerts' from 'nothing changed'.
| Field | Type | Meaning |
|---|---|---|
| organizationAlways present | object | — |
| organization.name | string | null | Organisation name. |
| planAlways present | object | — |
| plan.name | string | seo_solo | seo_starter | seo_growth | seo_scale, or trial. An account on a prompt-only plan from before 23 Oct 2026 reads solo | starter | growth | agency. |
| plan.status | string | Stripe subscription status. |
| plan.trial_ends_at | string | null | ISO timestamp, null when not trialling. |
| plan.prompts | object | — |
| plan.prompts.used | integer | Active prompts across the organisation. |
| plan.prompts.included | integer | The cap on active questions for AI visibility tracking, included on every plan: 10 per workspace. |
| plan.brands | integer | Brands in the organisation. |
| keyAlways present | object | — |
| key.scopes | string[] | Granted to this key. |
| key.available_scopes | string[] | Every scope that exists, so 'not granted' is distinguishable from 'not real'. |
| key.pinned_to_brand | boolean | True when the key is bound to one brand. Such a key refuses any other ?brand=, and GET /brands returns only that one brand. |
| brandAlways present | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| rate_limitAlways present | object | — |
| rate_limit.per_minute | integer | Requests a minute. 300 on every plan. |
| rate_limit.remaining | integer | Left in the current minute. |
| rate_limit.resets_in_seconds | integer | Until the window rolls. |
| reporting_rulesAlways present | object | NOT ADVISORY. A client that ignores these produces wrong reports. |
| reporting_rules.min_sample | integer | Below this many answers, rate is null. |
| reporting_rules.rate_null_means | string | Plain-language restatement, for surfacing to an end user. |
| reporting_rules.engines_averaged | boolean | Always false. Engines disagree; a mean describes no real surface. |
| reporting_rules.alerts | object | — |
| reporting_rules.alerts.enabled | boolean | — |
| reporting_rules.alerts.kinds | string[] | string | Array of requested kinds, or the string 'all' when none are set. Kinds: visibility_drop, visibility_rise, competitor_overtook, cited_not_named, negative_framing, engine_blackout. |
| reporting_rules.alerts.min_delta_points | integer | Percentage points of change required to raise a finding. |
| reporting_rules.alerts.min_sample_each_side | integer | Answers required on BOTH sides of the comparison. |
| reporting_rules.alerts.also_suppressed_below_statistical_noise | boolean | Always true. Even a move clearing min_delta_points is suppressed if it sits inside a 95% CI on the difference of two proportions. Whichever bar is HIGHER wins. |
| reporting_rules.alerts.empty_list_means | string | The honest phrasing for an empty /alerts response. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"organization": {
"name": "Acme Inc"
},
"plan": {
"name": "seo_growth",
"status": "active",
"trial_ends_at": null,
"prompts": {
"used": 7,
"included": 9
},
"brands": 2
},
"key": {
"scopes": [
"read"
],
"available_scopes": [
"read",
"prompts:write",
"brands:write"
],
"pinned_to_brand": false
},
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"rate_limit": {
"per_minute": 300,
"remaining": 299,
"resets_in_seconds": 41
},
"reporting_rules": {
"min_sample": 5,
"rate_null_means": "not enough answers yet — NOT zero",
"engines_averaged": false,
"alerts": {
"enabled": true,
"kinds": "all",
"min_delta_points": 15,
"min_sample_each_side": 10,
"also_suppressed_below_statistical_noise": true,
"empty_list_means": "no change large enough to distinguish from noise at this sample size"
}
}
},
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z"
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/brands
Every brand this key may read
The ids to pass as ?brand=. A pinned key sees only its own.
| Field | Type | Meaning |
|---|---|---|
| idAlways present | string | The workspace public id. Pass as ?brand=. |
| nameAlways present | string | Brand name. |
| domain | string | null | The brand's own domain, null before setup finishes. |
| configuredAlways present | boolean | False means setup was never finished. Data endpoints return 404 brand_not_configured for one of these rather than a page of zeroes, which would read as measured absence. |
| active_promptsAlways present | integer | Prompts currently running for this brand. |
| market | object | — |
| market.location_code | integer | null | DataForSEO location code. |
| market.language_code | string | null | ISO language code. |
| last_collected_at | string | null | ISO timestamp of the most recent stored answer. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| pinned | boolean | True when this key is bound to one brand. |
{
"data": [
{
"id": "wsp_zD6cssxGlJyF",
"name": "Acme",
"domain": "acme.com",
"configured": true,
"active_prompts": 5,
"market": {
"location_code": 2840,
"language_code": "en"
},
"last_collected_at": "2026-09-30T04:12:00.000Z"
},
{
"id": "wsp_094oxa5e",
"name": "Acme Labs",
"domain": null,
"configured": false,
"active_prompts": 0,
"market": {
"location_code": 2840,
"language_code": "en"
},
"last_collected_at": null
}
],
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"pinned": false,
"note": "Pass one of these ids as ?brand= on every other endpoint."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/agent
This week: what the SEO agent did, and what is waiting on you
Call this first for "what has my SEO agent been doing?". The steps it has reached this week, the week's articles by what they need from you, the month's article allowance, and whether Search Console and a publishing destination are set up. `articles.this_week` COUNTS ONLY THIS WEEK'S TOPICS. Read `waiting_for_approval_all_weeks` before telling anyone nothing needs approval: an article written last week and still unapproved is not in this week's number. Read-only. Approving, publishing and starting a run happen in RankHound, by a person; articles publish without approval only when `setup.auto_publish` is true.
| Name | Type | Notes |
|---|---|---|
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| week_startAlways present | string | Monday (UTC) of the current week, YYYY-MM-DD. |
| statusAlways present | "not_started" | "running" | "done" | "failed" | not_started: no run has opened for this week yet. running: the agent is working through the steps. done: every step is recorded. failed: the run gave up after retrying, and error says why. |
| skippedAlways present | boolean | True when the week closed without running because the plan is not active. |
| errorAlways present | string | null | Why the run stopped, when status is failed. Null otherwise. |
| stepsAlways present | object | Each step the agent records as it finishes, in order. A step is null until it is reached. |
| steps.researchAlways present | object | null | Researched your keywords and competitors. |
| steps.research.atAlways present | string | null | When it finished. |
| steps.research.keywords_looked_atAlways present | integer | null | Keywords the research considered. Null when it recorded no count. |
| steps.research.competitors_analysedAlways present | integer | null | Competitors whose keywords were analysed. |
| steps.research.new_competitor_pagesAlways present | integer | null | Competitor pages first seen ranking this week, baselines excluded. |
| steps.research.baseline_competitor_pagesAlways present | integer | null | Pages recorded the first week a competitor was analysed. Every page is first seen that week, so none of these is news. |
| steps.relevanceAlways present | object | null | Judged which researched keywords are about your business. Only those can become targets or articles. |
| steps.relevance.atAlways present | string | null | When it finished. |
| steps.relevance.judgedAlways present | integer | Keywords judged this week. |
| steps.relevance.relevantAlways present | integer | Of those, judged about your business. |
| steps.relevance.set_asideAlways present | integer | Of those, set aside: about somebody else's business, not a real search, or naming a competitor or you. |
| steps.relevance.targets_droppedAlways present | integer | Targets the agent had chosen that it dropped as not relevant. Targets you chose are never dropped. |
| steps.targetsAlways present | object | null | Chose which keywords to measure. |
| steps.targets.atAlways present | string | null | When it finished. |
| steps.targets.addedAlways present | integer | Keywords the agent made targets this week. |
| steps.rank_checkAlways present | object | null | Checked your Google rankings for this week. |
| steps.rank_check.atAlways present | string | null | When the checks were sent. |
| steps.rank_check.keywords_sentAlways present | integer | Keywords sent to Google for this week's check. |
| steps.rank_check.measuredAlways present | integer | Checks completed so far this week. |
| steps.rank_check.in_top_100Always present | integer | Measured keywords where your site is in the top 100. |
| steps.rank_check.on_page_oneAlways present | integer | Measured keywords where your site is in the top 10. |
| steps.rank_check.still_checkingAlways present | integer | Checks whose results have not arrived yet. They arrive over the next few hours. |
| steps.rank_check.failedAlways present | integer | Checks that failed. Retried next week. |
| steps.topicsAlways present | object | null | Chose what to write. |
| steps.topics.atAlways present | string | null | When it finished. |
| steps.topics.chosenAlways present | string[] | The searches chosen this week. |
| steps.topics.noteAlways present | string | null | Why nothing was chosen, when nothing was. paused: you paused writing. allowance_used: this month's articles are all written. no_candidates: nothing worth writing that would not compete with a page you already have. site_unreadable: RankHound could not read your site's pages this week, so it wrote nothing rather than risk a page you already have; the team is alerted. |
| articlesAlways present | object | Articles, by what they need from you. |
| articles.this_weekAlways present | object | The articles chosen THIS WEEK only. |
| articles.this_week.being_writtenAlways present | integer | Being written now. |
| articles.this_week.waiting_for_approvalAlways present | integer | Written and waiting for you. |
| articles.this_week.scheduledAlways present | integer | Approved and waiting for a publishing slot, or going out now. |
| articles.this_week.publishedAlways present | integer | Published. |
| articles.waiting_for_approval_all_weeksAlways present | integer | Every article waiting for your approval, from any week. Read this, not this_week, before saying nothing needs approval. |
| allowanceAlways present | object | Articles per calendar month, counted across the whole organisation rather than per brand. An article counts once it is being written; a rejected one still counts, a skipped one does not. |
| allowance.articles_per_monthAlways present | integer | The plan's monthly allowance. |
| allowance.usedAlways present | integer | Counted so far this month. |
| allowance.remainingAlways present | integer | Zero means the agent writes no more until the 1st. |
| setupAlways present | object | Whether the agent can do its whole job. |
| setup.search_console_connectedAlways present | boolean | null | False: not connected, so the agent chooses topics without seeing what Google already shows you for, and cannot measure its own articles. NULL: this deployment does not offer Search Console, so there is nothing to connect. |
| setup.publishing_destinationAlways present | boolean | True when an active publishing webhook exists. False means approved articles have nowhere to go and wait. |
| setup.auto_publishAlways present | boolean | True when written articles are scheduled without waiting for your approval. Off by default. |
| setup.pausedAlways present | boolean | True when you paused writing and publishing. Research and rank checks continue. |
| latest_summaryAlways present | object | null | What the most recent weekly email told you. Null until one has been written. A week closed because the plan was not active sends no email and is not included. |
| latest_summary.week_startAlways present | string | The week it describes, YYYY-MM-DD. |
| latest_summary.written_atAlways present | string | null | When the summary was written for sending. Delivery is not confirmed by this field. |
| latest_summary.topics_noteAlways present | string | null | Why nothing was written that week, when nothing was. Same values as steps.topics.note. |
| latest_summary.awaiting_approval[]Always present | object[] | Articles that were waiting for your approval. |
| latest_summary.awaiting_approval[].idAlways present | string | null | Its art_ id. |
| latest_summary.awaiting_approval[].titleAlways present | string | null | Its title. |
| latest_summary.scheduled[]Always present | object[] | Articles that were scheduled. |
| latest_summary.scheduled[].titleAlways present | string | null | Its title. |
| latest_summary.scheduled[].scheduled_forAlways present | string | null | Its publishing slot. |
| latest_summary.published[]Always present | object[] | Articles published in the 7 days before the email. |
| latest_summary.published[].titleAlways present | string | null | Its title. |
| latest_summary.published[].urlAlways present | string | null | Where it went live. |
| latest_summary.failedAlways present | integer | Articles that could not be written or published that week. |
| latest_summary.keywords_measuredAlways present | integer | Rank checks completed that week. |
| latest_summary.first_rank_weekAlways present | boolean | True when that week was the first with rankings, so there was no movement to report yet. |
| latest_summary.movers[]Always present | object[] | The biggest rank moves against the week before. |
| latest_summary.movers[].keywordAlways present | string | null | The search. |
| latest_summary.movers[].fromAlways present | integer | null | Position the week before. Null means not in the top 100. |
| latest_summary.movers[].toAlways present | integer | null | Position that week. Null means not in the top 100. |
| latest_summary.competitor_pages[]Always present | object[] | Competitor pages first seen ranking that week. |
| latest_summary.competitor_pages[].domainAlways present | string | null | The competitor. |
| latest_summary.competitor_pages[].urlAlways present | string | null | The page. |
| latest_summary.competitor_pages[].positionAlways present | integer | null | Its best position seen. |
| latest_summary.search_console_connectedAlways present | boolean | Whether Search Console was connected when the summary was written. |
| latest_summary.article_clicksAlways present | integer | null | Clicks Google sent to the agent's published articles over the 28 days before, from your own Search Console. NULL when it was not connected or had nothing to report, never zero. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"week_start": "2026-10-19",
"status": "done",
"skipped": false,
"error": null,
"steps": {
"research": {
"at": "2026-10-19T06:04:12.000Z",
"keywords_looked_at": 412,
"competitors_analysed": 3,
"new_competitor_pages": 7,
"baseline_competitor_pages": 0
},
"relevance": {
"at": "2026-10-19T06:04:31.000Z",
"judged": 148,
"relevant": 111,
"set_aside": 37,
"targets_dropped": 0
},
"targets": {
"at": "2026-10-19T06:04:33.000Z",
"added": 12
},
"rank_check": {
"at": "2026-10-19T06:04:40.000Z",
"keywords_sent": 100,
"measured": 100,
"in_top_100": 41,
"on_page_one": 9,
"still_checking": 0,
"failed": 0
},
"topics": {
"at": "2026-10-19T06:05:02.000Z",
"chosen": [
"crm for small agencies"
],
"note": null
}
},
"articles": {
"this_week": {
"being_written": 0,
"waiting_for_approval": 1,
"scheduled": 0,
"published": 0
},
"waiting_for_approval_all_weeks": 2
},
"allowance": {
"articles_per_month": 24,
"used": 7,
"remaining": 17
},
"setup": {
"search_console_connected": true,
"publishing_destination": true,
"auto_publish": false,
"paused": false
},
"latest_summary": {
"week_start": "2026-10-12",
"written_at": "2026-10-12T09:41:00.000Z",
"topics_note": null,
"awaiting_approval": [
{
"id": "art_Q4m8Zr2Kd7Lw",
"title": "How agencies price retainers"
}
],
"scheduled": [],
"published": [
{
"title": "Client onboarding checklist for agencies",
"url": "https://acme.com/blog/client-onboarding-checklist"
}
],
"failed": 0,
"keywords_measured": 96,
"first_rank_week": false,
"movers": [
{
"keyword": "agency crm",
"from": 18,
"to": 9
},
{
"keyword": "crm for consultants",
"from": null,
"to": 64
}
],
"competitor_pages": [
{
"domain": "rival.com",
"url": "https://rival.com/blog/agency-crm",
"position": 3
}
],
"search_console_connected": true,
"article_clicks": 37
}
},
"meta": {
"generated_at": "2026-10-23T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"note": "week_start is Monday (UTC) of the current week. A step is null until the agent reaches it; status not_started means no run has opened for this week yet. articles.this_week counts only the topics chosen this week: use waiting_for_approval_all_weeks before saying nothing needs approval. Articles publish only once a person approves them in RankHound, unless setup.auto_publish is true; this API cannot approve, publish or start anything. setup.paused true means the customer stopped writing and publishing, while research and rank checks continue. The allowance is articles per calendar month, counted across the whole organisation; an article counts once it is being written, and a rejected one still counts. setup.publishing_destination false means approved articles have nowhere to go and wait. setup.search_console_connected null means this deployment does not offer Search Console, so do not ask the customer to connect it. latest_summary is what the last weekly email told the customer; its article_clicks is null when Search Console had nothing to report, never zero."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
PATCH/agent, PATCH
Pause or resume writing and publishing
Research and weekly rank checks continue while paused. Scope: `agent:write`.
| Name | Type | Notes |
|---|---|---|
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| paused (body) | boolean |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Paused."
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
GET/blog/posts
Published articles for your own site to render (Blog API)
For a site built in code (Next.js, Astro, anything that can fetch on the server). The site's PUBLISHED articles only, newest first, without their bodies: fetch one by slug for its `html`. Use a key pinned to the site, from Publishing, Built in code. A ready-made Next.js blog reads this endpoint.
| Name | Type | Notes |
|---|---|---|
| page | integer | default 1 |
| limit | integer | 1 to 100, default 12 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": [
{
"slug": "how-to-choose-a-crm-for-a-five-person-team",
"title": "How to choose a CRM for a five-person team",
"seo_title": "How to Choose a CRM for a Small Team",
"description": "What actually matters when five people share one CRM.",
"category": "Guides",
"tags": [
"crm"
],
"image": {
"url": "https://media.rankhound.ai/wsp_x/hero.webp",
"social_url": "https://media.rankhound.ai/wsp_x/hero-social.webp",
"alt": "Five desks around one screen"
},
"published_at": "2026-11-10T09:00:04.000Z",
"updated_at": "2026-11-10T09:00:04.000Z",
"url": "https://acme.example/blog/how-to-choose-a-crm-for-a-five-person-team"
}
],
"meta": {
"generated_at": "2026-11-10T09:05:00.000Z",
"page": 1,
"limit": 12,
"total": 1,
"pages": 1
}
}Other statuses: . See errors and rate limits.
GET/blog/posts/{slug}
One published article with its html (Blog API)
The article's cleaned `html` (starts at H2, raw HTML escaped, links https only) and `markdown`, with its SEO title, description, image and dates. A slug that is not published on this site, or belongs to another site, is 404 not_found.
| Name | Type | Notes |
|---|---|---|
| slug | string | |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"slug": "how-to-choose-a-crm-for-a-five-person-team",
"title": "How to choose a CRM for a five-person team",
"seo_title": "How to Choose a CRM for a Small Team",
"description": "What actually matters when five people share one CRM.",
"html": "<h2>Start with the pipeline you already have</h2>\n<p>Write down the stages a deal moves through today.</p>",
"markdown": "## Start with the pipeline you already have\n\nWrite down the stages a deal moves through today.",
"category": "Guides",
"tags": [
"crm"
],
"image": null,
"published_at": "2026-11-10T09:00:04.000Z",
"updated_at": "2026-11-10T09:00:04.000Z",
"url": "https://acme.example/blog/how-to-choose-a-crm-for-a-five-person-team"
}
}Other statuses: . See errors and rate limits.
GET/articles
The articles the SEO agent chose, wrote and published, and why
Newest first, each with the reason the agent chose it (`why`). Filter with `status`; keyset pagination, so pass meta.next_cursor as ?cursor=. `results` IS NULL UNTIL THERE IS SOMETHING TO MEASURE, never 0. It is clicks and impressions from the customer's own Search Console, and an article that is not published, has no URL, or that Google has not reported yet has no number at all. Reporting null as 0 clicks tells a customer an article failed that nobody has measured. An unknown `status` is refused with 400 unknown_status rather than ignored: a misspelt filter that quietly returned everything would read as every article waiting for approval.
| Name | Type | Notes |
|---|---|---|
| status | "writing" | "waiting" | "scheduled" | "published" | "rejected" | "skipped" | "failed" | "all" | default all. Only articles in this status. waiting is the one that needs the customer. |
| limit | integer | 1 to 200, default 50 |
| cursor | string | An article id from a previous page's meta.next_cursor. |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| idAlways present | string | Public id, art_<12>. Pass it to GET /articles/{id}. Also the pagination cursor. |
| keywordAlways present | string | The search the article was written for. |
| intentAlways present | "new" | Always new: RankHound writes new pages only and never changes a page you already have. Nothing of yours owns this search. |
| sourceAlways present | "search_console" | "competitor_gap" | "keyword" | "manual" | Where the topic came from: a search Google already shows you for in your own Search Console, a keyword a tracked competitor ranks for and you do not, keyword research, or a request. |
| statusAlways present | "writing" | "waiting" | "scheduled" | "published" | "rejected" | "skipped" | "failed" | writing: chosen and being written. waiting: written and waiting for your approval. scheduled: approved and waiting for its publishing slot, or going out now. published: your webhook accepted it. rejected: you said no, and it is never proposed again. skipped: the agent dropped it before writing, and status_reason says why; not a failure. failed: writing or delivery gave up, and status_reason says why. |
| status_reasonAlways present | string | null | Why, in a sentence, when status is skipped or failed. Null otherwise. |
| titleAlways present | string | null | Null until the article is written. |
| whyAlways present | string | null | Why the agent chose this topic, in one sentence a customer can read. The numbers behind it are on GET /articles/{id}. |
| created_atAlways present | string | When the agent chose the topic. Lists are ordered by this, newest first. |
| scheduled_forAlways present | string | null | The publishing slot. Null until the article is approved and given one. |
| published_atAlways present | string | null | When your webhook accepted it. Null until published. |
| published_urlAlways present | string | null | Where it went live, from your endpoint's reply or your article URL pattern. Null when neither said, which also means its results cannot be measured. |
| resultsAlways present | object | null | What Google sent this article, from your own Search Console over meta.results_window_days. NULL UNTIL THERE IS SOMETHING TO MEASURE, never 0: not published yet, no published URL, Search Console not connected, or Google has not reported the page yet. Rendering null as 0 clicks reports a failure nobody measured. |
| results.clicksAlways present | integer | Clicks from Google search to this page in the window. |
| results.impressionsAlways present | integer | Times Google showed this page in search results in the window. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| status | string | The status filter applied, all when none was given. |
| next_cursor | string | null | Pass as ?cursor=. Null on the last page. |
| results_window_days | integer | The Search Console window behind every results figure. |
{
"data": [
{
"id": "art_8fK2mQ9xLp3T",
"keyword": "crm for small agencies",
"intent": "new",
"source": "search_console",
"status": "waiting",
"status_reason": null,
"title": "The CRM a 10-person agency actually needs",
"why": "Google showed you for this 1,840 times in the last 28 days, and the best page you have ranks 38.",
"created_at": "2026-10-19T06:05:02.000Z",
"scheduled_for": null,
"published_at": null,
"published_url": null,
"results": null
},
{
"id": "art_3Vb7nR1cWq8Z",
"keyword": "agency client onboarding checklist",
"intent": "new",
"source": "keyword",
"status": "published",
"status_reason": null,
"title": "Client onboarding checklist for agencies",
"why": "Related to what you already rank for, and winnable for your site. About 880 searches a month, difficulty 22.",
"created_at": "2026-10-05T06:10:00.000Z",
"scheduled_for": "2026-10-07T09:00:00.000Z",
"published_at": "2026-10-07T09:00:41.000Z",
"published_url": "https://acme.com/blog/client-onboarding-checklist",
"results": {
"clicks": 37,
"impressions": 2210
}
}
],
"meta": {
"generated_at": "2026-10-23T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"status": "all",
"next_cursor": null,
"results_window_days": 28,
"note": "Newest first. status waiting means written and waiting for the customer's approval, which happens in RankHound (or automatically when auto-publish is on: GET /agent, setup.auto_publish). This API cannot approve, reject or publish. results is clicks and impressions from the customer's own Search Console over results_window_days, and is null until there is something to measure (not published, no URL, Search Console not connected, or not yet reported by Google). Null is not zero. Pass next_cursor as ?cursor= for the following page."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/articles/{id}
One article in full, with the evidence it was chosen on
The text (`body_markdown`), title, slug and meta description; the numbers the agent saw when it chose the topic (`evidence`); and the search results it was written against (`pages_to_beat`). `evidence` IS A SNAPSHOT FROM WHEN THE TOPIC WAS CHOSEN and does not update: Search Console is a rolling window and search results move every week, so the numbers that justified an article are stored with it. `evidence.search_console` is null when the topic did not come from Search Console, which means never measured, not zero. `results` is the live measure. An id that belongs to another brand, in this organisation or any other, is 404 no_such_article, never 403.
| Name | Type | Notes |
|---|---|---|
| id | string | An article id, art_<12>, from GET /articles. |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| idAlways present | string | Public id, art_<12>. Pass it to GET /articles/{id}. Also the pagination cursor. |
| keywordAlways present | string | The search the article was written for. |
| intentAlways present | "new" | Always new: RankHound writes new pages only and never changes a page you already have. Nothing of yours owns this search. |
| sourceAlways present | "search_console" | "competitor_gap" | "keyword" | "manual" | Where the topic came from: a search Google already shows you for in your own Search Console, a keyword a tracked competitor ranks for and you do not, keyword research, or a request. |
| statusAlways present | "writing" | "waiting" | "scheduled" | "published" | "rejected" | "skipped" | "failed" | writing: chosen and being written. waiting: written and waiting for your approval. scheduled: approved and waiting for its publishing slot, or going out now. published: your webhook accepted it. rejected: you said no, and it is never proposed again. skipped: the agent dropped it before writing, and status_reason says why; not a failure. failed: writing or delivery gave up, and status_reason says why. |
| status_reasonAlways present | string | null | Why, in a sentence, when status is skipped or failed. Null otherwise. |
| titleAlways present | string | null | Null until the article is written. |
| whyAlways present | string | null | Why the agent chose this topic, in one sentence a customer can read. The numbers behind it are on GET /articles/{id}. |
| created_atAlways present | string | When the agent chose the topic. Lists are ordered by this, newest first. |
| scheduled_forAlways present | string | null | The publishing slot. Null until the article is approved and given one. |
| published_atAlways present | string | null | When your webhook accepted it. Null until published. |
| published_urlAlways present | string | null | Where it went live, from your endpoint's reply or your article URL pattern. Null when neither said, which also means its results cannot be measured. |
| resultsAlways present | object | null | What Google sent this article, from your own Search Console over meta.results_window_days. NULL UNTIL THERE IS SOMETHING TO MEASURE, never 0: not published yet, no published URL, Search Console not connected, or Google has not reported the page yet. Rendering null as 0 clicks reports a failure nobody measured. |
| results.clicksAlways present | integer | Clicks from Google search to this page in the window. |
| results.impressionsAlways present | integer | Times Google showed this page in search results in the window. |
| slugAlways present | string | null | URL slug, lowercase and hyphenated. Null until written. |
| meta_descriptionAlways present | string | null | The search snippet, one or two sentences. Null until written. |
| body_markdownAlways present | string | null | The article, markdown starting at an H2; the title is the H1. Null until written. |
| evidenceAlways present | object | What the agent saw when it chose this topic, stored with the article because Search Console is a rolling window and search results move every week: these numbers could not be recomputed later, and they DO NOT UPDATE. results is the live measure. |
| evidence.search_consoleAlways present | object | null | Google's numbers for this search on your site over the 28 days before the topic was chosen. NULL when the topic did not come from Search Console, which means these were never measured, NOT that they were zero. |
| evidence.search_console.impressionsAlways present | integer | Times Google showed your site for this search. |
| evidence.search_console.clicksAlways present | integer | Clicks from those impressions. |
| evidence.search_console.average_positionAlways present | number | null | Google's average position for your site on this search. |
| evidence.search_console.your_pages_competingAlways present | integer | How many of your own pages took impressions for this search. Above 1 means the site discusses it in several places and owns it in none, which the article is meant to fix. |
| evidence.search_volumeAlways present | integer | null | Searches a month in your market, from keyword research. Null when unknown, never zero. |
| evidence.keyword_difficultyAlways present | integer | null | 0 to 100, from keyword research. Null when unknown. |
| evidence.existing_pageAlways present | string | null | Your closest page, which ranks poorly for this search. Null when nothing of yours showed for it. |
| evidence.estimated_positionAlways present | number | null | The keyword database's estimate of where existing_page ranked when the topic was chosen. An ESTIMATE, not a rank check and not your live position. Null when unknown. |
| evidence.competitorAlways present | object | null | For a competitor gap: whose page ranks for this search when yours does not. That page is the one to beat. Null for other sources. |
| evidence.competitor.domainAlways present | string | The competitor's domain. |
| evidence.competitor.urlAlways present | string | null | Their ranking page. |
| evidence.competitor.positionAlways present | integer | null | Their position for this search. |
| pages_to_beat[]Always present | object[] | The search results when the article was written, in order: the pages it has to beat. Kept as they were then. Empty until the article is written. |
| pages_to_beat[].rankAlways present | integer | Its position when the article was written. |
| pages_to_beat[].domainAlways present | string | Its host. |
| pages_to_beat[].titleAlways present | string | null | Its title. |
| pages_to_beat[].urlAlways present | string | null | The page. |
| seo_titleAlways present | string | null | The title for Google's result, when it differs from the headline. Null until written. |
| categoryAlways present | string | null | One of the site's own categories, by name. Null when none fitted. |
| tagsAlways present | string[] | Tag names. Empty until written. |
| imageAlways present | object | null | The hero image on RankHound's CDN. Null when there is none (not made yet, failed, or images are off for the site). |
| image.urlAlways present | string | The article-size image, WebP. |
| image.social_urlAlways present | string | null | The social-card size (1200 x 630), WebP. |
| image.altAlways present | string | null | Alt text. |
| googleAlways present | object | What Google's URL Inspection says about the published page, checked daily until it is indexed. |
| google.index_stateAlways present | string | null | Google's own words, for example "Submitted and indexed" or "Discovered - currently not indexed". Null until first checked. |
| google.checked_atAlways present | string | null | When it was last checked, ISO 8601. |
| google.indexed_atAlways present | string | null | When it was first seen indexed, ISO 8601. Null until indexed. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| results_window_days | integer | The Search Console window behind results. |
{
"data": {
"id": "art_8fK2mQ9xLp3T",
"keyword": "crm for small agencies",
"intent": "new",
"source": "search_console",
"status": "waiting",
"status_reason": null,
"title": "The CRM a 10-person agency actually needs",
"why": "Google showed you for this 1,840 times in the last 28 days, and the best page you have ranks 38.",
"created_at": "2026-10-19T06:05:02.000Z",
"scheduled_for": null,
"published_at": null,
"published_url": null,
"results": null,
"slug": "crm-for-small-agencies",
"meta_description": "What a 10-person agency needs from a CRM, what it can skip, and the setup that takes an afternoon rather than a quarter.",
"body_markdown": "## What a small agency actually needs\n\nThree things, and pipeline reporting is not one of them...",
"evidence": {
"search_console": {
"impressions": 1840,
"clicks": 6,
"average_position": 38.4,
"your_pages_competing": 2
},
"search_volume": 1300,
"keyword_difficulty": 27,
"existing_page": "https://acme.com/features",
"estimated_position": null,
"competitor": null
},
"pages_to_beat": [
{
"rank": 1,
"domain": "rival.com",
"title": "Best CRM for agencies in 2026",
"url": "https://rival.com/blog/agency-crm"
},
{
"rank": 2,
"domain": "reviewsite.com",
"title": "12 CRMs for small agencies",
"url": "https://reviewsite.com/crm/agencies"
}
]
},
"meta": {
"generated_at": "2026-10-23T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"results_window_days": 28,
"note": "evidence is what the agent saw when it chose this topic, kept as it was then; it does not update. evidence.search_console is null when the topic did not come from Search Console, which means those numbers were never measured, not that they were zero. pages_to_beat is the search results when the article was written. results is the live measure from the customer's own Search Console over results_window_days, null until Google has reported the published page. Null is not zero. This API cannot approve, edit or publish an article."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
PATCH/articles/{id}, PATCH
Edit an article before it publishes
Only the fields given change. Kept as a version and the SEO checks run again. Scope: `articles:write`.
| Name | Type | Notes |
|---|---|---|
| id | string | An article id, art_<12>, from GET /articles. |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| title (body) | string | |
| seo_title (body) | string | |
| meta_description (body) | string | |
| body_markdown (body) | string |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Saved. The SEO checks have run again."
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
GET/keywords
The keywords the SEO agent ranks weekly, with who ranks above you
This week's Google position for each target keyword, last week's, the movement, search volume and difficulty, the top three results (`top_results`), and your own Search Console clicks and impressions for the same search. RANKS ARE CHECKED WEEKLY, through the top 100, not live. TWO NULLS THAT LOOK ALIKE AND ARE NOT: `rank.latest` is null when a keyword has never been checked, and `rank.latest.position` is null when it was checked and the site is not in the top 100. The second is a real result. Neither is position 0. Ordered by how winnable each keyword is for this site, best first. The score behind that order is deliberately not returned; the volume and difficulty it is made from are.
| Name | Type | Notes |
|---|---|---|
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| keywordAlways present | string | The search, lowercased. |
| sourceAlways present | "ranked" | "competitor_gap" | "idea" | "search_console" | "manual" | Where the agent found it: you already rank for it, a competitor ranks and you do not, related to what you rank for, Google already shows you for it in Search Console, or you added it. |
| competitorAlways present | object | null | For a competitor gap: whose page ranks for it, where, and which page. Null for other sources. |
| competitor.domainAlways present | string | The competitor's domain. |
| competitor.positionAlways present | integer | null | Their position for it. |
| competitor.urlAlways present | string | null | Their ranking page. |
| targeted_byAlways present | string | null | Who made it a target: the agent, or you. |
| search_volumeAlways present | integer | null | Searches a month in your market. Null when unknown, never zero. |
| keyword_difficultyAlways present | integer | null | 0 to 100. Null when unknown. |
| search_intentAlways present | string | null | What the searcher wants, for example commercial or informational. Null when unknown. |
| rankAlways present | object | Where your site ranks on Google for it, from the weekly check. |
| rank.latestAlways present | object | null | The most recent completed check. NULL WHEN THE KEYWORD HAS NEVER BEEN CHECKED, so there is no position to report at all. |
| rank.latest.week_startAlways present | string | Monday (UTC) of the week of that check, YYYY-MM-DD. Not always this week: see this_week_check. |
| rank.latest.positionAlways present | integer | null | Your best organic position in that check. NULL MEANS CHECKED AND NOT IN THE TOP 100: a real result, not missing data, and never position 0. |
| rank.latest.urlAlways present | string | null | Your page that ranked. Null when none did. |
| rank.previous_weekAlways present | object | null | The completed check from the week before latest. Null when there was none, so there is no movement to show. |
| rank.previous_week.positionAlways present | integer | null | Your position that week. Null means not in the top 100. |
| rank.changeAlways present | integer | null | Places gained (positive) or lost (negative) since previous_week. Null unless you ranked in both weeks. |
| rank.movementAlways present | string | null | Against previous_week. entered: into the top 100. dropped: out of it. same with both positions null: outside the top 100 both weeks. Null when there is no previous_week to compare with. |
| rank.this_week_checkAlways present | string | null | This calendar week's check: checking (sent to Google, results arrive over the next few hours), done, or failed (retried next week). Null when none is scheduled this week yet. |
| rank.has_ai_overviewAlways present | boolean | null | Whether Google shows an AI Overview for this search: from the latest check, or from keyword research before the first one. Null when unknown. |
| rank.top_results[]Always present | object[] | Who ranks today: the top three organic results in the latest check, with your own site marked. Empty until a check has completed. |
| rank.top_results[].positionAlways present | integer | Its position on Google. |
| rank.top_results[].domainAlways present | string | null | Its host, without www. Null when the result carried no usable domain. |
| rank.top_results[].urlAlways present | string | null | The ranking page. |
| rank.top_results[].titleAlways present | string | null | Its title, as Google showed it. |
| rank.top_results[].is_youAlways present | boolean | True when this result is your own site. |
| search_consoleAlways present | object | null | Your own Search Console for this exact search over meta.search_console_window_days. NULL when Search Console reported nothing for it in the window, or is not connected (meta.search_console_connected). Never zero. |
| search_console.clicksAlways present | integer | Clicks from Google search. |
| search_console.impressionsAlways present | integer | Times Google showed your site for it. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| rank_checks | "weekly" | How often ranks are measured. Never live. |
| rank_depth | integer | How deep each check looks. A site below it reads as position null. |
| market | object | The Google market the ranks are checked in. |
| market.location_code | integer | — |
| market.language_code | string | — |
| search_console_connected | boolean | null | False: not connected, so every search_console is null. Null: this deployment does not offer Search Console. |
| search_console_window_days | integer | The window behind every search_console figure. |
| keywords_researched | integer | Keywords research has found for this brand. Zero means research has never run, so an empty list means not started. |
| keywords_set_aside | integer | Researched keywords the agent judged not about this business, or naming a competitor or you. It never targets or writes for these on its own. |
| last_researched_at | string | null | When research last refreshed. Null when never. |
| rank_checks_completed | integer | Rank checks ever completed for this brand, so not checked yet can be told from not ranking. |
| keywords_tracked | integer | Target keywords across the whole organisation. |
| keywords_allowed | integer | The plan's cap on target keywords, organisation-wide. |
{
"data": [
{
"keyword": "agency crm",
"source": "competitor_gap",
"competitor": {
"domain": "rival.com",
"position": 3,
"url": "https://rival.com/blog/agency-crm"
},
"targeted_by": "agent",
"search_volume": 1900,
"keyword_difficulty": 34,
"search_intent": "commercial",
"rank": {
"latest": {
"week_start": "2026-10-19",
"position": 9,
"url": "https://acme.com/crm"
},
"previous_week": {
"position": 18
},
"change": 9,
"movement": "up",
"this_week_check": "done",
"has_ai_overview": false,
"top_results": [
{
"position": 1,
"domain": "rival.com",
"url": "https://rival.com/blog/agency-crm",
"title": "Best CRM for agencies in 2026",
"is_you": false
},
{
"position": 2,
"domain": "reviewsite.com",
"url": "https://reviewsite.com/crm/agencies",
"title": "12 CRMs for small agencies",
"is_you": false
},
{
"position": 3,
"domain": "otherco.com",
"url": "https://otherco.com/agencies",
"title": "CRM built for agencies",
"is_you": false
}
]
},
"search_console": {
"clicks": 12,
"impressions": 640
}
},
{
"keyword": "crm for consultants",
"source": "idea",
"competitor": null,
"targeted_by": "agent",
"search_volume": 320,
"keyword_difficulty": 18,
"search_intent": "informational",
"rank": {
"latest": {
"week_start": "2026-10-19",
"position": null,
"url": null
},
"previous_week": {
"position": 87
},
"change": null,
"movement": "dropped",
"this_week_check": "done",
"has_ai_overview": true,
"top_results": [
{
"position": 1,
"domain": "reviewsite.com",
"url": "https://reviewsite.com/crm/consultants",
"title": "CRMs for independent consultants",
"is_you": false
}
]
},
"search_console": null
},
{
"keyword": "client portal for agencies",
"source": "manual",
"competitor": null,
"targeted_by": "customer",
"search_volume": null,
"keyword_difficulty": null,
"search_intent": null,
"rank": {
"latest": null,
"previous_week": null,
"change": null,
"movement": null,
"this_week_check": "checking",
"has_ai_overview": null,
"top_results": []
},
"search_console": null
}
],
"meta": {
"generated_at": "2026-10-23T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"rank_checks": "weekly",
"rank_depth": 100,
"market": {
"location_code": 2840,
"language_code": "en"
},
"search_console_connected": true,
"search_console_window_days": 28,
"keywords_researched": 412,
"keywords_set_aside": 37,
"last_researched_at": "2026-10-19T06:04:12.000Z",
"rank_checks_completed": 296,
"keywords_tracked": 100,
"keywords_allowed": 100,
"note": "Ranks are checked WEEKLY on Google, through the top 100 results, not live. rank.latest is null when a keyword has never been checked. rank.latest.position null means it WAS checked and the site is not in the top 100: a real result, not missing data, and never position 0. previous_week is null when there was no completed check the week before, so there is no movement to show. search_console is null when Search Console reported nothing for this search in the window or is not connected (search_console_connected), never zero. keywords_researched 0 means research has never run for this brand, which is why an empty list here can mean not started rather than nothing found. keywords_set_aside counts researched keywords the agent judged not about this business, or naming a competitor or the customer; it never targets or writes for those on its own, and the customer can track one by hand in RankHound. The keyword allowance is counted across the whole organisation."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
POST/keywords, POST
Target a keyword
Its rank, volume and difficulty arrive with the next weekly check. The plan's keyword allowance applies. Scope: `keywords:write`.
| Name | Type | Notes |
|---|---|---|
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| keyword (body) | string |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Tracking \"social media calendar\"."
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
DELETE/keywords, DELETE
Stop tracking a keyword
The agent will not pick it again; its rank history is kept. Scope: `keywords:write`.
| Name | Type | Notes |
|---|---|---|
| keyword | string | |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Stopped tracking \"social media calendar\"."
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
GET/competitor-gaps
What each competitor ranks for that you do not, with the page that ranks
Per tracked competitor: the keywords they rank for that your site does not, each with their ranking page (the page an article has to beat), and the pages they started ranking with in the last 7 days. CHECK `analysed` BEFORE REPORTING. The weekly research looks at a limited number of competitors, and one outside that limit, or with no domain, is never looked at: an empty gap list there means NOT LOOKED AT, never no gaps. Keywords the agent set aside as not about your business, or naming a brand, are left out of `gaps` and `gap_count` and counted in `set_aside_count`, because a gap list is read as "write about these". `suggested_competitors` share keywords with your site and are not tracked yet.
| Name | Type | Notes |
|---|---|---|
| limit | integer | 1 to 100, default 10. Gaps returned per competitor. gap_count carries the total either way. |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| competitors[]Always present | object[] | — |
| competitors[].competitorAlways present | string | The competitor's name as tracked in this brand. |
| competitors[].domainAlways present | string | null | Their domain. Null when none was given, which also means they cannot be analysed. |
| competitors[].analysedAlways present | boolean | CHECK THIS FIRST. True when the weekly research looks at this competitor. False means it does not (outside the plan's meta.analysed_limit, or no domain), so an empty gap list here means NOT LOOKED AT, never no gaps. |
| competitors[].last_analysed_atAlways present | string | null | When their keywords or pages were last refreshed. Null when never. |
| competitors[].gap_countAlways present | integer | Keywords they rank for that your site does not, leaving out ones you dismissed and ones the agent set aside. The denominator for gaps. |
| competitors[].set_aside_countAlways present | integer | Gap keywords the agent set aside as not about your business, not a real search, or naming a competitor or you. Left out of gap_count and gaps; the agent never writes for them on its own. |
| competitors[].gaps[]Always present | object[] | The best of them, up to meta.gaps_per_competitor, most winnable for your site first. |
| competitors[].gaps[].keywordAlways present | string | The search. |
| competitors[].gaps[].search_volumeAlways present | integer | null | Searches a month in your market. Null when unknown, never zero. |
| competitors[].gaps[].keyword_difficultyAlways present | integer | null | 0 to 100. Null when unknown. |
| competitors[].gaps[].their_positionAlways present | integer | null | Their position for it. |
| competitors[].gaps[].their_pageAlways present | string | null | Their ranking page: what an article has to beat. |
| competitors[].gaps[].targetedAlways present | boolean | True when it is one of your target keywords, so it is rank-checked weekly. |
| competitors[].new_page_countAlways present | integer | Pages of theirs first seen ranking in the last 7 days. The denominator for new_pages. |
| competitors[].new_pages[]Always present | object[] | Up to meta.new_pages_per_competitor of them, best ranking first. Empty in the first week a competitor is analysed, which is a baseline: everything is first seen that week and none of it is news. |
| competitors[].new_pages[].urlAlways present | string | The page. |
| competitors[].new_pages[].titleAlways present | string | null | Its title. |
| competitors[].new_pages[].best_keywordAlways present | string | null | The keyword it ranks best for, of those seen. |
| competitors[].new_pages[].best_positionAlways present | integer | null | Its position for that keyword. |
| competitors[].new_pages[].first_seen_atAlways present | string | When it was first seen ranking. |
| suggested_competitors[]Always present | object[] | — |
| suggested_competitors[].domainAlways present | string | Their domain. |
| suggested_competitors[].shared_keywordsAlways present | integer | null | Keywords both sites rank for. Null when unknown. |
| suggested_competitors[].average_positionAlways present | number | null | Their mean position across those keywords. Null when unknown. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| analysed_limit | integer | How many competitors the weekly research analyses, from the plan. |
| gaps_per_competitor | integer | The cap on each gaps list for this request. |
| new_pages_per_competitor | integer | The cap on each new_pages list. |
{
"data": {
"competitors": [
{
"competitor": "Rival",
"domain": "rival.com",
"analysed": true,
"last_analysed_at": "2026-10-19T06:04:12.000Z",
"gap_count": 42,
"set_aside_count": 9,
"gaps": [
{
"keyword": "agency crm",
"search_volume": 1900,
"keyword_difficulty": 34,
"their_position": 3,
"their_page": "https://rival.com/blog/agency-crm",
"targeted": true
},
{
"keyword": "crm with client portal",
"search_volume": 590,
"keyword_difficulty": 21,
"their_position": 6,
"their_page": "https://rival.com/features/portal",
"targeted": false
}
],
"new_page_count": 1,
"new_pages": [
{
"url": "https://rival.com/blog/retainer-pricing",
"title": "How to price a retainer",
"best_keyword": "agency retainer pricing",
"best_position": 7,
"first_seen_at": "2026-10-19T06:04:12.000Z"
}
]
},
{
"competitor": "Otherco",
"domain": null,
"analysed": false,
"last_analysed_at": null,
"gap_count": 0,
"set_aside_count": 0,
"gaps": [],
"new_page_count": 0,
"new_pages": []
}
],
"suggested_competitors": [
{
"domain": "thirdco.com",
"shared_keywords": 214,
"average_position": 11.4
}
]
},
"meta": {
"generated_at": "2026-10-23T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"analysed_limit": 5,
"gaps_per_competitor": 10,
"new_pages_per_competitor": 10,
"note": "gap_count is every keyword this competitor ranks for that your site does not, leaving out ones you dismissed and ones the agent set aside as not about your business or naming a brand (set_aside_count says how many); gaps holds the best gaps_per_competitor of them, each with the competitor's ranking page, which is the page an article has to beat. CHECK analysed: false means the weekly research does not look at this competitor (outside the plan's analysed_limit, or no domain), so an empty list there means not looked at, never no gaps. new_pages are pages first seen ranking in the last 7 days; a competitor's first analysed week is a baseline and shows none by design. suggested_competitors share keywords with your site and are not tracked yet."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/visibility
Presence per engine and per brand over a trailing window
There is no single visibility score and there will not be one. The engines disagree, so an average describes no real surface; compute one yourself if you want it, knowing exactly what went in.
| Name | Type | Notes |
|---|---|---|
| days | integer | 1 to 365, default 30 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| engines[] | object[] | — |
| engines[].engineAlways present | string | Stable slug, e.g. chatgpt. Use this for ?engine= filters. |
| engines[].nameAlways present | string | Display name, e.g. ChatGPT. |
| engines[].collection_methodAlways present | string | How this surface is read: api, scraper or serp. |
| engines[].presentAlways present | integer | Answers that named this brand. |
| engines[].responsesAlways present | integer | Answers in the window. The denominator, always returned. |
| engines[].rateAlways present | number | null | present/responses to 3dp, or NULL below min_sample (5). Null means NOT ENOUGH ANSWERS YET and must never be rendered as 0% — doing so reports a collapse in visibility that did not happen. |
| engines[].min_sampleAlways present | integer | The floor below which rate is null. |
| engines[].citations | integer | Answers from this engine that cited the brand's own domain. |
| engines[].avg_rank_when_named | number | null | Mean position in the list WHEN NAMED. Null when never named. |
| brands[] | object[] | — |
| brands[].nameAlways present | string | Brand name. |
| brands[].roleAlways present | "self" | "competitor" | Yours, or a rival. |
| brands[].presentAlways present | integer | Answers that named this brand. |
| brands[].responsesAlways present | integer | Answers in the window. The denominator, always returned. |
| brands[].rateAlways present | number | null | present/responses to 3dp, or NULL below min_sample (5). Null means NOT ENOUGH ANSWERS YET and must never be rendered as 0% — doing so reports a collapse in visibility that did not happen. |
| brands[].min_sampleAlways present | integer | The floor below which rate is null. |
| brands[].citations | integer | Answers citing this brand's own domain. |
| brands[].avg_rank_when_named | number | null | Mean list position when named. |
| brands[].framing | object | How the brand was FRAMED where it appeared. Deliberately not called a sentiment score: it counts cue phrases, it does not grade tone. |
| brands[].framing.classified | integer | Mentions we could classify at all. The denominator here. |
| brands[].framing.recommended | integer | Mentions framed as a recommendation. |
| brands[].framing.negative | integer | Mentions framed negatively. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| window_days | integer | — |
{
"data": {
"engines": [
{
"engine": "chatgpt",
"name": "ChatGPT",
"collection_method": "scraper",
"present": 18,
"responses": 30,
"rate": 0.6,
"min_sample": 5,
"citations": 7,
"avg_rank_when_named": 2.4
},
{
"engine": "perplexity",
"name": "Perplexity",
"collection_method": "api",
"present": 3,
"responses": 4,
"rate": null,
"min_sample": 5,
"citations": 1,
"avg_rank_when_named": 3
}
],
"brands": [
{
"name": "Acme",
"role": "self",
"present": 21,
"responses": 34,
"rate": 0.618,
"min_sample": 5,
"citations": 8,
"avg_rank_when_named": 2.5,
"framing": {
"classified": 21,
"recommended": 14,
"negative": 1
}
}
]
},
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"window_days": 30,
"note": "Engines are reported separately and never averaged. The perplexity row above has rate: null because 4 answers is below min_sample — that means NOT ENOUGH DATA, not 0%."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/answers
The stored answers, with their mentions and citations
The raw material every other number traces back to. Keyset pagination: pass meta.next_cursor as ?cursor=. outcome='empty' is a real observation (the engine answered and named nobody), not a failure.
| Name | Type | Notes |
|---|---|---|
| limit | integer | 1 to 200, default 50 |
| cursor | string | An answer id from a previous page. |
| engine | string | Filter to one engine slug. |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| idAlways present | string | Opaque public id, ans_<12>. Also the pagination cursor. Never an integer. |
| engineAlways present | string | Engine slug. |
| collection_method | string | api, scraper or serp. |
| promptAlways present | string | The prompt that was asked. Called `prompt`, not `question`. |
| answer | string | null | The answer verbatim, markdown. Null when the engine returned none. |
| outcomeAlways present | "ok" | "empty" | 'empty' is a REAL OBSERVATION: the engine answered and named nobody. It is in the denominator everywhere. Failed collections (error, timeout) are excluded entirely and never appear here. |
| collected_atAlways present | string | ISO timestamp. |
| location_code | integer | null | The market this was collected in. |
| mentions[]Always present | object[] | — |
| mentions[].brandAlways present | string | Which tracked brand this refers to. |
| mentions[].roleAlways present | "self" | "competitor" | — |
| mentions[].mentionedAlways present | boolean | False rows exist: we looked and it was absent. |
| mentions[].rank | integer | null | Position in the answer's list, 1-based. Null when unranked. |
| mentions[].count | integer | null | Times named in this one answer. |
| mentions[].framing | string | null | recommended | neutral | negative | null when genuinely ambivalent. |
| mentions[].framing_signals | string[] | null | The cue phrases behind `framing`, so a judgement can be checked. |
| mentions[].snippet | string | null | The verbatim sentence naming the brand. This is the evidence. |
| citations[]Always present | object[] | — |
| citations[].urlAlways present | string | The cited page. |
| citations[].domainAlways present | string | Its host. |
| citations[].rank | integer | null | Position in the engine's source list. That order IS the rank. |
| citations[].title | string | null | Page title where the engine supplied one. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| next_cursor | string | null | Pass as ?cursor=. Null on the last page. |
{
"data": [
{
"id": "ans_SfwqC8iCWwte",
"engine": "chatgpt",
"collection_method": "scraper",
"prompt": "best project management tools for agencies",
"answer": "For agencies, the most commonly recommended options are…",
"outcome": "ok",
"collected_at": "2026-09-30T04:12:00.000Z",
"location_code": 2840,
"mentions": [
{
"brand": "Acme",
"role": "self",
"mentioned": true,
"rank": 2,
"count": 1,
"framing": "recommended",
"framing_signals": [
"best for"
],
"snippet": "Acme is best for agencies juggling many clients."
},
{
"brand": "Rival",
"role": "competitor",
"mentioned": false,
"rank": null,
"count": 0,
"framing": null,
"framing_signals": null,
"snippet": null
}
],
"citations": [
{
"url": "https://example.com/best-pm-tools",
"domain": "example.com",
"rank": 1,
"title": "Best PM tools in 2026"
}
]
}
],
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"next_cursor": "ans_vIUZWjBPDEm2",
"note": "Pass next_cursor as ?cursor= for the following page."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/sources
The domains the engines read before answering
answers_citing_you_without_naming_you is the actionable column: a source read on nine answers that named a competitor every time is a specific page to go and be on. Hosts are normalised, so www.example.com and example.com are one row.
| Name | Type | Notes |
|---|---|---|
| days | integer | 1 to 365, default 30 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| domainAlways present | string | Normalised host — www.example.com and example.com are one row. |
| answers_citing_itAlways present | integer | Answers in the window that cited this domain. |
| answers_where_you_were_namedAlways present | integer | Of those, how many also named your brand. |
| answers_citing_you_without_naming_youAlways present | integer | The actionable number. A domain read on nine answers that named a competitor every time is a specific page to go and be on. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| window_days | integer | — |
| limit | integer | — |
{
"data": [
{
"domain": "g2.com",
"answers_citing_it": 12,
"answers_where_you_were_named": 3,
"answers_citing_you_without_naming_you": 9
},
{
"domain": "acme.com",
"answers_citing_it": 5,
"answers_where_you_were_named": 5,
"answers_citing_you_without_naming_you": 0
}
],
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"window_days": 30,
"limit": 200,
"note": "g2.com was read on 12 answers and named you on 3. Those other 9 are the work."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/competitors
Who the engines name instead of you
answers_without_you is the column that matters. 'Named in 48 answers' is a fact about a competitor; 'named in 47 answers that never mentioned you' is a fact about you, and it is the one you can act on. Quotes are OFF by default and capped at three per competitor. They are the evidence behind the number, and pulling them for twenty competitors on every call turns a report into a transcript.
| Name | Type | Notes |
|---|---|---|
| days | integer | 1 to 365, default 30 |
| quotes | "1" | Pass 1 to include up to three supporting sentences per competitor. Omitted entirely when not requested. |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| competitorAlways present | string | The competitor's name as tracked in this workspace. |
| domainAlways present | string | null | Their domain, when one is recorded. |
| answers_naming_themAlways present | integer | Answers in the window that named them. |
| answers_without_youAlways present | integer | The actionable column. Answers that named this competitor and never mentioned you. 'Named in 48 answers' is a fact about them; 'named in 47 answers that never mentioned you' is a fact about you. |
| best_list_positionAlways present | integer | null | Best (lowest) position they reached. Null when no answer ranked them. |
| typical_list_positionAlways present | number | null | Median position to 1dp. Null when no answer ranked them. |
| total_mentionsAlways present | integer | Times named across those answers, which can exceed answers_naming_them. |
| enginesAlways present | string[] | Engine slugs that named them. Listed, never pooled into one figure. |
| quotes[] | object[] | Up to three supporting sentences, best-ranked first. PRESENT ONLY with ?quotes=1, and absent rather than empty otherwise. |
| quotes[].snippetAlways present | string | The sentence the engine wrote, with its ** emphasis left intact. |
| quotes[].engineAlways present | string | Engine slug the sentence came from. |
| quotes[].questionAlways present | string | The tracked prompt whose answer contained it. |
| quotes[].listRankAlways present | integer | null | Where the engine placed them; 1 is first. Null when it wrote no list. |
| quotes[].answerIdAlways present | string | The answer this came from, as returned by /answers. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| window_days | integer | — |
| total_answers | integer | Answers in the window, all engines. |
| answers_naming_you | integer | — |
| answers_without_you | integer | total_answers - answers_naming_you. |
{
"data": [
{
"competitor": "Rival",
"domain": "rival.com",
"answers_naming_them": 48,
"answers_without_you": 47,
"best_list_position": 1,
"typical_list_position": 2.5,
"total_mentions": 61,
"engines": [
"chatgpt",
"perplexity"
]
},
{
"competitor": "Otherco",
"domain": null,
"answers_naming_them": 6,
"answers_without_you": 4,
"best_list_position": null,
"typical_list_position": null,
"total_mentions": 6,
"engines": [
"gemini"
]
}
],
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"window_days": 30,
"total_answers": 60,
"answers_naming_you": 8,
"answers_without_you": 52,
"note": "answers_without_you is the actionable column: answers that named this competitor and never mentioned you. Engines are listed, never pooled into one figure. Pass quotes=1 for up to three supporting sentences per competitor."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
POST/competitors, POST
Track a competitor
The plan's competitor cap applies. Scope: `brands:write`.
| Name | Type | Notes |
|---|---|---|
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| domain (body) | string | |
| name (body) | string |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Later added. It appears in the next weekly run."
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
DELETE/competitors, DELETE
Stop tracking a competitor
By domain. Scope: `brands:write`.
| Name | Type | Notes |
|---|---|---|
| domain | string | |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Later is no longer tracked."
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
GET/recommendations
What to do next, ranked, with the evidence
CHECK `displayable` BEFORE REPORTING ANYTHING. When it is false the list is empty because the corpus is too thin to rank honestly, NOT because there is nothing to do, and reporting that as a clean bill of health is the worst mistake available on this endpoint. Those two states call for opposite reactions. Ordered by `tier`, which is an editorial judgement about whose permission the work needs rather than a measurement: your own page outranks a marketplace because nobody has to agree to it. There is deliberately NO blended score. A caller who disagrees with the order can see exactly which judgement to argue with, which is not true of 0.734. Every row cites the pages behind it. There is no 'write more content' and no 'add schema markup': an item with nothing to point at is filtered out rather than softened into advice.
| Name | Type | Notes |
|---|---|---|
| days | integer | 1 to 365, default 30 |
| limit | integer | 1 to 50, default 12 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| kindAlways present | "own_page" | "listing" | "community" | "marketplace" | What kind of WORK this is, not what kind of site it is. You submit to a listing, you participate in a community, you rewrite your own page this afternoon. |
| tierAlways present | integer | Sort order, and an argument rather than a score: 1 your own page (nobody has to agree), 2 a listing you can submit to this week, 3 a community you must participate in, 4 a marketplace that is usually a procurement decision. |
| siteAlways present | string | The registrable site. One publisher, one outreach contact. |
| pages[]Always present | object[] | The specific pages, because 'get listed on medium.com' is advice and naming the roundup is a task. Never empty. |
| pages[].urlAlways present | string | — |
| pages[].titleAlways present | string | null | — |
| answersAlways present | integer | Answers in the window that cited this site. |
| answers_naming_youAlways present | integer | Of those, how many named you. Zero for every gap, by definition. |
| competitors_namedAlways present | integer | Distinct tracked competitors named in those answers. |
| enginesAlways present | string[] | Which engines read it. Listed, never pooled into one figure. |
| shareAlways present | number | Fraction of meta.total_answers this door accounts for. Meaningless without that denominator, which is why it is returned beside it. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| window_days | integer | — |
| total_answers | integer | The denominator for every share above. |
| displayable | boolean | False when the corpus is too thin to rank anything honestly. An empty list with displayable false means NOT YET, never NOTHING TO DO. |
{
"data": [
{
"kind": "own_page",
"tier": 1,
"site": "yoursite.com",
"pages": [
{
"url": "https://yoursite.com/pricing",
"title": "Pricing"
}
],
"answers": 17,
"answers_naming_you": 1,
"competitors_named": 4,
"engines": [
"chatgpt",
"perplexity"
],
"share": 0.28
},
{
"kind": "listing",
"tier": 2,
"site": "someroundup.com",
"pages": [
{
"url": "https://someroundup.com/best-tools",
"title": "The 12 Best Tools"
}
],
"answers": 9,
"answers_naming_you": 0,
"competitors_named": 6,
"engines": [
"gemini"
],
"share": 0.15
}
],
"meta": {
"generated_at": "2026-10-13T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"window_days": 30,
"total_answers": 60,
"displayable": true,
"note": "Ordered by tier, which is an editorial judgement about whose permission the work needs, not by volume: your own page outranks a marketplace because nobody has to agree to it. Engines are listed, never pooled. `share` is a fraction of total_answers, which is the only denominator it is comparable against. Every row cites the pages behind it; a recommendation with nothing to point at is filtered out rather than softened into advice."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/questions
The questions this workspace runs against the engines
Call this before interpreting a disappointing visibility number. Everything else in this API is derived from these questions, so a low figure may mean the wrong question rather than poor visibility, and the two have opposite fixes. `web_search_volume` IS NULL WHEN UNCHECKED, not when it is zero. Read `volume_checked_at` before quoting demand: rendering an unchecked volume as 0 asserts nobody searches a question nobody has measured. The allowance in meta counts ACTIVE questions across the whole organisation, not per workspace, because a question costs the same vendor spend whichever brand it sits under.
| Name | Type | Notes |
|---|---|---|
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| idAlways present | string | Public id. |
| textAlways present | string | — |
| categoryAlways present | string | null | — |
| sourceAlways present | string | How the question got here, for example user or suggested. |
| activeAlways present | boolean | Inactive questions stop being run but keep the answers they already produced. |
| answersAlways present | integer | Answers this question has produced in total, all engines. |
| answers_naming_youAlways present | integer | — |
| web_search_volumeAlways present | integer | null | NULL MEANS NOT CHECKED, not zero. Reporting an unchecked volume as 0 asserts nobody searches a question nobody has measured. Read volume_checked_at before quoting demand. |
| volume_checked_atAlways present | string | null | When volume was last looked up. Null when it never has been. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| questions_allowed | integer | The cap on active questions for AI visibility tracking, included on every plan: 10 per workspace, counted across the organisation. |
| questions_used | integer | — |
| questions_remaining | integer | Zero means another question cannot be added on this plan. |
{
"data": [
{
"id": "qst_7Hk2",
"text": "best ai visibility tools",
"category": "category",
"source": "user",
"active": true,
"answers": 121,
"answers_naming_you": 1,
"web_search_volume": 390,
"volume_checked_at": "2026-10-01T00:00:00.000Z"
},
{
"id": "qst_9Lp4",
"text": "how to track brand mentions in chatgpt",
"category": null,
"source": "suggested",
"active": true,
"answers": 60,
"answers_naming_you": 0,
"web_search_volume": null,
"volume_checked_at": null
}
],
"meta": {
"generated_at": "2026-10-13T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"questions_allowed": 5,
"questions_used": 2,
"questions_remaining": 3,
"note": "These are the questions every other measurement in this API is derived from, so a disappointing visibility figure may mean the wrong question rather than poor visibility. web_search_volume is null when it has not been checked, NOT when it is zero: check volume_checked_at before reporting demand. The allowance counts active questions across the whole organisation, because a question costs the same vendor spend whichever brand it sits under."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/sentiment
How the engines frame each brand when they name it
NOT a score. THE DENOMINATOR IS `classified`, NOT `answers_naming_them`, and that is the whole shape of this endpoint. The classifier abstains on most listicle mentions by design: being item four in '12 best tools' is a mention with no opinion attached, and inventing one would be the product making something up. So `classified` is usually much smaller than `answers_naming_them`, and a share computed against the latter understates every brand's positivity by the abstention rate. There is no single sentiment number per brand, for the same reason there is no single visibility score: recommended and negative are separate counts over a shared denominator, and collapsing them discards the actionable part.
| Name | Type | Notes |
|---|---|---|
| days | integer | 1 to 365, default 30 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| brandAlways present | string | The brand this row describes. |
| is_youAlways present | boolean | True for the workspace's own brand. |
| answers_naming_themAlways present | integer | Answers that named this brand. NOT the denominator. |
| classifiedAlways present | integer | THE DENOMINATOR. Mentions the classifier was willing to call. It abstains on listicle mentions, where an engine names a brand without endorsing it, so this is usually much smaller than answers_naming_them. |
| recommendedAlways present | integer | Of the classified mentions, how many read as a recommendation. |
| negativeAlways present | integer | Of the classified mentions, how many read as negative. |
| neutralAlways present | integer | classified - recommended - negative, floored at 0. |
| recommended_shareAlways present | number | null | recommended/classified to 3dp, or NULL below min_sample (5) classified mentions. Null means NOT ENOUGH CLASSIFIED MENTIONS and must never be rendered as 0%. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
| window_days | integer | — |
| min_sample | integer | Classified-mention floor below which recommended_share is null. |
{
"data": [
{
"brand": "Acme",
"is_you": true,
"answers_naming_them": 21,
"classified": 9,
"recommended": 6,
"negative": 1,
"neutral": 2,
"recommended_share": 0.667
},
{
"brand": "Rival",
"is_you": false,
"answers_naming_them": 48,
"classified": 3,
"recommended": 2,
"negative": 0,
"neutral": 1,
"recommended_share": null
}
],
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"window_days": 30,
"min_sample": 5,
"note": "classified is the denominator, not answers_naming_them: the classifier abstains on listicle mentions where the engine named a brand without endorsing it. recommended_share is null below min_sample, which means NOT ENOUGH CLASSIFIED MENTIONS, never zero."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
GET/alerts
Findings about your brand, newest first
AN EMPTY LIST DOES NOT MEAN NOTHING CHANGED. A finding is raised only when both comparison windows carry enough answers AND the change is larger than its own margin of error. Read an empty list as 'no change large enough to distinguish from noise at this sample size'. GET /me returns the thresholds.
| Name | Type | Notes |
|---|---|---|
| limit | integer | 1 to 200, default 50 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|---|---|
| idAlways present | string | Opaque public id, alr_<12>. Use it to dedupe across polls. |
| kindAlways present | string | Finding type, e.g. visibility_drop. |
| titleAlways present | string | One line. |
| detail | string | The explanation, including the numbers behind it. |
| facts | object | The figures the finding was computed from. |
| created_atAlways present | string | ISO timestamp. |
| readAlways present | boolean | Whether it has been seen in the dashboard. |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": [],
"meta": {
"generated_at": "2026-09-30T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"note": "An empty list does NOT mean nothing changed. It means no move was large enough to distinguish from noise at this sample size."
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
POST/articles/{id}/{action}, POST
Approve, reject, rewrite, unschedule or publish an article
`approve`: a waiting article takes the next publishing slot. `reject`: never published; the topic is not suggested again. `changes`: rewrite from `{ instruction, passage? }` (a paid model call, 40 a day per organisation). `unschedule`: back to waiting. `publish`: an APPROVED article goes live on the connected site now. Scope: `articles:write`.
| Name | Type | Notes |
|---|---|---|
| id | string | An article id, art_<12>, from GET /articles. |
| action | "approve" | "reject" | "changes" | "unschedule" | "publish" | |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| instruction (body) | string | |
| passage (body) | string |
| Field | Type | Meaning |
|---|---|---|
| ok | boolean | — |
| message | string | — |
| status | string | null | — |
| published_url | string | null | — |
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": {
"ok": true,
"message": "Approved. It publishes Thu 12 Nov at 09:00.",
"status": "approved",
"published_url": null
},
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
}
}
}Other statuses: 400, 402, 403, 404, 409, 429. See errors and rate limits.
GET/opportunities
Searches the site shows up for but no page wins
From Search Console, last 28 days: the list the agent picks new topics from. Empty with `meta.search_console_connected` false means not connected, not no opportunities.
| Name | Type | Notes |
|---|---|---|
| limit | integer | 1 to 100 |
| brand | string | Which brand to report on, from GET /brands. REQUIRED when the organisation has more than one: omitting it returns 400 brand_required rather than defaulting, because a silent default files one customer's numbers under another's. Ignored by a key pinned to a single brand, which refuses any other. |
| Field | Type | Meaning |
|---|
| Field | Type | Meaning |
|---|---|---|
| generated_at | string | — |
| brand | object | Which brand a response describes. Present in meta on every data endpoint. |
| brand.idAlways present | string | Pass as ?brand=. |
| brand.nameAlways present | string | Display name. |
| note | string | — |
{
"data": [
{
"query": "social media calendar template",
"impressions_28d": 1840,
"clicks_28d": 6,
"position": 38.4,
"best_page": "https://acme.com/blog/calendar",
"best_page_position": 41.2
}
],
"meta": {
"generated_at": "2026-11-09T09:00:00.000Z",
"brand": {
"id": "wsp_zD6cssxGlJyF",
"name": "Acme"
},
"search_console_connected": true,
"window_days": 28
}
}Other statuses: 400, 401, 402, 403, 404, 429. See errors and rate limits.
Rules that govern every response
Three rules for the SEO numbers
Every SEO tool and endpoint carries these. Each one is a way to report a ranking or an article wrongly while looking right.
- 1
A null number is never zero.
It means not measured yet, or, for a rank inside a completed check, not in the top 100. An article's results stay null until it is published and Google reports the page; a keyword's rank.latest is null until its first check. Never render either as 0 clicks or position 0.
- 2
Ranks are checked weekly, not live.
Quote a position as of the week it was checked (rank.latest.week_start). A rank check runs once a week through the top 100, and its results arrive over a few hours rather than instantly.
- 3
These tools only read.
Approving, rejecting or publishing an article happens in RankHound, so send the customer there for it. There is no endpoint, flag or tool that publishes.
Three rules for the AI visibility numbers
These are not style preferences. Breaking them produces a confidently wrong report in your customer's name.
- 1
A null rate means "not enough answers yet". It is NOT zero.
Rates come back as {present, responses, rate, min_sample}. When rate is null, the sample is below the floor. Say “3 of 4 answers, too few to quote a percentage”. Never render it as 0%, and never let it into an average. Reporting “0% visibility” for a brand that was named in 3 of 4 answers is the single most damaging thing you can do with this data.
- 2
Never average the engines.
There is no single visibility score and you must not compute one. ChatGPT, Perplexity and Google AI Overviews are different surfaces that disagree, so a mean describes nothing real. Report per engine. If the user insists on one number, give them the pooled counts (present and responses summed) and say plainly what you did.
- 3
An empty alerts list does NOT mean nothing changed.
A finding is raised only when both comparison windows carry enough answers AND the move is larger than its own margin of error. On a small plan that excludes most real movement. Say “no change large enough to distinguish from noise at this sample size”. GET /me shows the thresholds in force.
The long version, including why a failed collection on our side never counts as your brand being absent, is on how to read our numbers. The reasoning behind all of it is on our public methodology page.
API reference questions
Answered from the implementation, not from a brief.
What does the RankHound API return?
Can the RankHound API change anything?
How does pagination work in the RankHound API?
Why is rate sometimes null in the API response?
Can I get one overall AI visibility score from the API?
Does the API count RankHound outages as my brand being absent?
Is the RankHound API documented with OpenAPI?
7-day trial
The API reads what RankHound collects
RankHound is SEO automation software that finds the searches your site can win and writes for them. Start a trial and the first week's research, rankings and articles are readable here, in full.
Card required, nothing charged for 7 days.
On every plan
- Keyword research and competitor analysis, every week.
- Articles written against the pages that rank, waiting for your approval.
- Google rankings checked weekly, beside your Search Console data.
- Publishing to WordPress or any site by webhook, once you approve.
- AI visibility tracking across six AI assistants.