Skip to content

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.

Start 7-day free trialStart with the quickstart

Card required, nothing charged for 7 days

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.

Every request looks like this
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/me

300 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.

Shape
{
  "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:

Rate
{
  "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/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'.

Fields of data. (● = always present)
FieldTypeMeaning
organizationAlways presentobject—
organization.namestring | nullOrganisation name.
planAlways presentobject—
plan.namestringseo_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.statusstringStripe subscription status.
plan.trial_ends_atstring | nullISO timestamp, null when not trialling.
plan.promptsobject—
plan.prompts.usedintegerActive prompts across the organisation.
plan.prompts.includedintegerThe cap on active questions for AI visibility tracking, included on every plan: 10 per workspace.
plan.brandsintegerBrands in the organisation.
keyAlways presentobject—
key.scopesstring[]Granted to this key.
key.available_scopesstring[]Every scope that exists, so 'not granted' is distinguishable from 'not real'.
key.pinned_to_brandbooleanTrue when the key is bound to one brand. Such a key refuses any other ?brand=, and GET /brands returns only that one brand.
brandAlways presentobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
rate_limitAlways presentobject—
rate_limit.per_minuteintegerRequests a minute. 300 on every plan.
rate_limit.remainingintegerLeft in the current minute.
rate_limit.resets_in_secondsintegerUntil the window rolls.
reporting_rulesAlways presentobjectNOT ADVISORY. A client that ignores these produces wrong reports.
reporting_rules.min_sampleintegerBelow this many answers, rate is null.
reporting_rules.rate_null_meansstringPlain-language restatement, for surfacing to an end user.
reporting_rules.engines_averagedbooleanAlways false. Engines disagree; a mean describes no real surface.
reporting_rules.alertsobject—
reporting_rules.alerts.enabledboolean—
reporting_rules.alerts.kindsstring[] | stringArray 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_pointsintegerPercentage points of change required to raise a finding.
reporting_rules.alerts.min_sample_each_sideintegerAnswers required on BOTH sides of the comparison.
reporting_rules.alerts.also_suppressed_below_statistical_noisebooleanAlways 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_meansstringThe honest phrasing for an empty /alerts response.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /me — response
{
  "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.

data is an array. Each row: (● = always present)
FieldTypeMeaning
idAlways presentstringThe workspace public id. Pass as ?brand=.
nameAlways presentstringBrand name.
domainstring | nullThe brand's own domain, null before setup finishes.
configuredAlways presentbooleanFalse 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 presentintegerPrompts currently running for this brand.
marketobject—
market.location_codeinteger | nullDataForSEO location code.
market.language_codestring | nullISO language code.
last_collected_atstring | nullISO timestamp of the most recent stored answer.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
pinnedbooleanTrue when this key is bound to one brand.
GET /brands — response
{
  "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.

Query parameters
NameTypeNotes
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
week_startAlways presentstringMonday (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 presentbooleanTrue when the week closed without running because the plan is not active.
errorAlways presentstring | nullWhy the run stopped, when status is failed. Null otherwise.
stepsAlways presentobjectEach step the agent records as it finishes, in order. A step is null until it is reached.
steps.researchAlways presentobject | nullResearched your keywords and competitors.
steps.research.atAlways presentstring | nullWhen it finished.
steps.research.keywords_looked_atAlways presentinteger | nullKeywords the research considered. Null when it recorded no count.
steps.research.competitors_analysedAlways presentinteger | nullCompetitors whose keywords were analysed.
steps.research.new_competitor_pagesAlways presentinteger | nullCompetitor pages first seen ranking this week, baselines excluded.
steps.research.baseline_competitor_pagesAlways presentinteger | nullPages recorded the first week a competitor was analysed. Every page is first seen that week, so none of these is news.
steps.relevanceAlways presentobject | nullJudged which researched keywords are about your business. Only those can become targets or articles.
steps.relevance.atAlways presentstring | nullWhen it finished.
steps.relevance.judgedAlways presentintegerKeywords judged this week.
steps.relevance.relevantAlways presentintegerOf those, judged about your business.
steps.relevance.set_asideAlways presentintegerOf those, set aside: about somebody else's business, not a real search, or naming a competitor or you.
steps.relevance.targets_droppedAlways presentintegerTargets the agent had chosen that it dropped as not relevant. Targets you chose are never dropped.
steps.targetsAlways presentobject | nullChose which keywords to measure.
steps.targets.atAlways presentstring | nullWhen it finished.
steps.targets.addedAlways presentintegerKeywords the agent made targets this week.
steps.rank_checkAlways presentobject | nullChecked your Google rankings for this week.
steps.rank_check.atAlways presentstring | nullWhen the checks were sent.
steps.rank_check.keywords_sentAlways presentintegerKeywords sent to Google for this week's check.
steps.rank_check.measuredAlways presentintegerChecks completed so far this week.
steps.rank_check.in_top_100Always presentintegerMeasured keywords where your site is in the top 100.
steps.rank_check.on_page_oneAlways presentintegerMeasured keywords where your site is in the top 10.
steps.rank_check.still_checkingAlways presentintegerChecks whose results have not arrived yet. They arrive over the next few hours.
steps.rank_check.failedAlways presentintegerChecks that failed. Retried next week.
steps.topicsAlways presentobject | nullChose what to write.
steps.topics.atAlways presentstring | nullWhen it finished.
steps.topics.chosenAlways presentstring[]The searches chosen this week.
steps.topics.noteAlways presentstring | nullWhy 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 presentobjectArticles, by what they need from you.
articles.this_weekAlways presentobjectThe articles chosen THIS WEEK only.
articles.this_week.being_writtenAlways presentintegerBeing written now.
articles.this_week.waiting_for_approvalAlways presentintegerWritten and waiting for you.
articles.this_week.scheduledAlways presentintegerApproved and waiting for a publishing slot, or going out now.
articles.this_week.publishedAlways presentintegerPublished.
articles.waiting_for_approval_all_weeksAlways presentintegerEvery article waiting for your approval, from any week. Read this, not this_week, before saying nothing needs approval.
allowanceAlways presentobjectArticles 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 presentintegerThe plan's monthly allowance.
allowance.usedAlways presentintegerCounted so far this month.
allowance.remainingAlways presentintegerZero means the agent writes no more until the 1st.
setupAlways presentobjectWhether the agent can do its whole job.
setup.search_console_connectedAlways presentboolean | nullFalse: 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 presentbooleanTrue when an active publishing webhook exists. False means approved articles have nowhere to go and wait.
setup.auto_publishAlways presentbooleanTrue when written articles are scheduled without waiting for your approval. Off by default.
setup.pausedAlways presentbooleanTrue when you paused writing and publishing. Research and rank checks continue.
latest_summaryAlways presentobject | nullWhat 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 presentstringThe week it describes, YYYY-MM-DD.
latest_summary.written_atAlways presentstring | nullWhen the summary was written for sending. Delivery is not confirmed by this field.
latest_summary.topics_noteAlways presentstring | nullWhy nothing was written that week, when nothing was. Same values as steps.topics.note.
latest_summary.awaiting_approval[]Always presentobject[]Articles that were waiting for your approval.
latest_summary.awaiting_approval[].idAlways presentstring | nullIts art_ id.
latest_summary.awaiting_approval[].titleAlways presentstring | nullIts title.
latest_summary.scheduled[]Always presentobject[]Articles that were scheduled.
latest_summary.scheduled[].titleAlways presentstring | nullIts title.
latest_summary.scheduled[].scheduled_forAlways presentstring | nullIts publishing slot.
latest_summary.published[]Always presentobject[]Articles published in the 7 days before the email.
latest_summary.published[].titleAlways presentstring | nullIts title.
latest_summary.published[].urlAlways presentstring | nullWhere it went live.
latest_summary.failedAlways presentintegerArticles that could not be written or published that week.
latest_summary.keywords_measuredAlways presentintegerRank checks completed that week.
latest_summary.first_rank_weekAlways presentbooleanTrue when that week was the first with rankings, so there was no movement to report yet.
latest_summary.movers[]Always presentobject[]The biggest rank moves against the week before.
latest_summary.movers[].keywordAlways presentstring | nullThe search.
latest_summary.movers[].fromAlways presentinteger | nullPosition the week before. Null means not in the top 100.
latest_summary.movers[].toAlways presentinteger | nullPosition that week. Null means not in the top 100.
latest_summary.competitor_pages[]Always presentobject[]Competitor pages first seen ranking that week.
latest_summary.competitor_pages[].domainAlways presentstring | nullThe competitor.
latest_summary.competitor_pages[].urlAlways presentstring | nullThe page.
latest_summary.competitor_pages[].positionAlways presentinteger | nullIts best position seen.
latest_summary.search_console_connectedAlways presentbooleanWhether Search Console was connected when the summary was written.
latest_summary.article_clicksAlways presentinteger | nullClicks 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.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /agent — response
{
  "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`.

Query parameters
NameTypeNotes
brandstringWhich 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
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
PATCH /agent — response
{
  "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.

Query parameters
NameTypeNotes
pageintegerdefault 1
limitinteger1 to 100, default 12
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /blog/posts — response
{
  "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.

Query parameters
NameTypeNotes
slugstring
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /blog/posts/{slug} — response
{
  "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.

Query parameters
NameTypeNotes
status"writing" | "waiting" | "scheduled" | "published" | "rejected" | "skipped" | "failed" | "all"default all. Only articles in this status. waiting is the one that needs the customer.
limitinteger1 to 200, default 50
cursorstringAn article id from a previous page's meta.next_cursor.
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
idAlways presentstringPublic id, art_<12>. Pass it to GET /articles/{id}. Also the pagination cursor.
keywordAlways presentstringThe 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 presentstring | nullWhy, in a sentence, when status is skipped or failed. Null otherwise.
titleAlways presentstring | nullNull until the article is written.
whyAlways presentstring | nullWhy the agent chose this topic, in one sentence a customer can read. The numbers behind it are on GET /articles/{id}.
created_atAlways presentstringWhen the agent chose the topic. Lists are ordered by this, newest first.
scheduled_forAlways presentstring | nullThe publishing slot. Null until the article is approved and given one.
published_atAlways presentstring | nullWhen your webhook accepted it. Null until published.
published_urlAlways presentstring | nullWhere 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 presentobject | nullWhat 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 presentintegerClicks from Google search to this page in the window.
results.impressionsAlways presentintegerTimes Google showed this page in search results in the window.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
statusstringThe status filter applied, all when none was given.
next_cursorstring | nullPass as ?cursor=. Null on the last page.
results_window_daysintegerThe Search Console window behind every results figure.
GET /articles — response
{
  "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.

Query parameters
NameTypeNotes
idstringAn article id, art_<12>, from GET /articles.
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
idAlways presentstringPublic id, art_<12>. Pass it to GET /articles/{id}. Also the pagination cursor.
keywordAlways presentstringThe 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 presentstring | nullWhy, in a sentence, when status is skipped or failed. Null otherwise.
titleAlways presentstring | nullNull until the article is written.
whyAlways presentstring | nullWhy the agent chose this topic, in one sentence a customer can read. The numbers behind it are on GET /articles/{id}.
created_atAlways presentstringWhen the agent chose the topic. Lists are ordered by this, newest first.
scheduled_forAlways presentstring | nullThe publishing slot. Null until the article is approved and given one.
published_atAlways presentstring | nullWhen your webhook accepted it. Null until published.
published_urlAlways presentstring | nullWhere 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 presentobject | nullWhat 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 presentintegerClicks from Google search to this page in the window.
results.impressionsAlways presentintegerTimes Google showed this page in search results in the window.
slugAlways presentstring | nullURL slug, lowercase and hyphenated. Null until written.
meta_descriptionAlways presentstring | nullThe search snippet, one or two sentences. Null until written.
body_markdownAlways presentstring | nullThe article, markdown starting at an H2; the title is the H1. Null until written.
evidenceAlways presentobjectWhat 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 presentobject | nullGoogle'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 presentintegerTimes Google showed your site for this search.
evidence.search_console.clicksAlways presentintegerClicks from those impressions.
evidence.search_console.average_positionAlways presentnumber | nullGoogle's average position for your site on this search.
evidence.search_console.your_pages_competingAlways presentintegerHow 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 presentinteger | nullSearches a month in your market, from keyword research. Null when unknown, never zero.
evidence.keyword_difficultyAlways presentinteger | null0 to 100, from keyword research. Null when unknown.
evidence.existing_pageAlways presentstring | nullYour closest page, which ranks poorly for this search. Null when nothing of yours showed for it.
evidence.estimated_positionAlways presentnumber | nullThe 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 presentobject | nullFor 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 presentstringThe competitor's domain.
evidence.competitor.urlAlways presentstring | nullTheir ranking page.
evidence.competitor.positionAlways presentinteger | nullTheir position for this search.
pages_to_beat[]Always presentobject[]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 presentintegerIts position when the article was written.
pages_to_beat[].domainAlways presentstringIts host.
pages_to_beat[].titleAlways presentstring | nullIts title.
pages_to_beat[].urlAlways presentstring | nullThe page.
seo_titleAlways presentstring | nullThe title for Google's result, when it differs from the headline. Null until written.
categoryAlways presentstring | nullOne of the site's own categories, by name. Null when none fitted.
tagsAlways presentstring[]Tag names. Empty until written.
imageAlways presentobject | nullThe hero image on RankHound's CDN. Null when there is none (not made yet, failed, or images are off for the site).
image.urlAlways presentstringThe article-size image, WebP.
image.social_urlAlways presentstring | nullThe social-card size (1200 x 630), WebP.
image.altAlways presentstring | nullAlt text.
googleAlways presentobjectWhat Google's URL Inspection says about the published page, checked daily until it is indexed.
google.index_stateAlways presentstring | nullGoogle's own words, for example "Submitted and indexed" or "Discovered - currently not indexed". Null until first checked.
google.checked_atAlways presentstring | nullWhen it was last checked, ISO 8601.
google.indexed_atAlways presentstring | nullWhen it was first seen indexed, ISO 8601. Null until indexed.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
results_window_daysintegerThe Search Console window behind results.
GET /articles/{id} — response
{
  "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`.

Query parameters
NameTypeNotes
idstringAn article id, art_<12>, from GET /articles.
brandstringWhich 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
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
PATCH /articles/{id} — response
{
  "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.

Query parameters
NameTypeNotes
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
keywordAlways presentstringThe 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 presentobject | nullFor a competitor gap: whose page ranks for it, where, and which page. Null for other sources.
competitor.domainAlways presentstringThe competitor's domain.
competitor.positionAlways presentinteger | nullTheir position for it.
competitor.urlAlways presentstring | nullTheir ranking page.
targeted_byAlways presentstring | nullWho made it a target: the agent, or you.
search_volumeAlways presentinteger | nullSearches a month in your market. Null when unknown, never zero.
keyword_difficultyAlways presentinteger | null0 to 100. Null when unknown.
search_intentAlways presentstring | nullWhat the searcher wants, for example commercial or informational. Null when unknown.
rankAlways presentobjectWhere your site ranks on Google for it, from the weekly check.
rank.latestAlways presentobject | nullThe 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 presentstringMonday (UTC) of the week of that check, YYYY-MM-DD. Not always this week: see this_week_check.
rank.latest.positionAlways presentinteger | nullYour 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 presentstring | nullYour page that ranked. Null when none did.
rank.previous_weekAlways presentobject | nullThe completed check from the week before latest. Null when there was none, so there is no movement to show.
rank.previous_week.positionAlways presentinteger | nullYour position that week. Null means not in the top 100.
rank.changeAlways presentinteger | nullPlaces gained (positive) or lost (negative) since previous_week. Null unless you ranked in both weeks.
rank.movementAlways presentstring | nullAgainst 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 presentstring | nullThis 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 presentboolean | nullWhether 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 presentobject[]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 presentintegerIts position on Google.
rank.top_results[].domainAlways presentstring | nullIts host, without www. Null when the result carried no usable domain.
rank.top_results[].urlAlways presentstring | nullThe ranking page.
rank.top_results[].titleAlways presentstring | nullIts title, as Google showed it.
rank.top_results[].is_youAlways presentbooleanTrue when this result is your own site.
search_consoleAlways presentobject | nullYour 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 presentintegerClicks from Google search.
search_console.impressionsAlways presentintegerTimes Google showed your site for it.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
rank_checks"weekly"How often ranks are measured. Never live.
rank_depthintegerHow deep each check looks. A site below it reads as position null.
marketobjectThe Google market the ranks are checked in.
market.location_codeinteger—
market.language_codestring—
search_console_connectedboolean | nullFalse: not connected, so every search_console is null. Null: this deployment does not offer Search Console.
search_console_window_daysintegerThe window behind every search_console figure.
keywords_researchedintegerKeywords research has found for this brand. Zero means research has never run, so an empty list means not started.
keywords_set_asideintegerResearched 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_atstring | nullWhen research last refreshed. Null when never.
rank_checks_completedintegerRank checks ever completed for this brand, so not checked yet can be told from not ranking.
keywords_trackedintegerTarget keywords across the whole organisation.
keywords_allowedintegerThe plan's cap on target keywords, organisation-wide.
GET /keywords — response
{
  "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`.

Query parameters
NameTypeNotes
brandstringWhich 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
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
POST /keywords — response
{
  "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`.

Query parameters
NameTypeNotes
keywordstring
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
DELETE /keywords — response
{
  "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.

Query parameters
NameTypeNotes
limitinteger1 to 100, default 10. Gaps returned per competitor. gap_count carries the total either way.
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
competitors[]Always presentobject[]—
competitors[].competitorAlways presentstringThe competitor's name as tracked in this brand.
competitors[].domainAlways presentstring | nullTheir domain. Null when none was given, which also means they cannot be analysed.
competitors[].analysedAlways presentbooleanCHECK 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 presentstring | nullWhen their keywords or pages were last refreshed. Null when never.
competitors[].gap_countAlways presentintegerKeywords 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 presentintegerGap 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 presentobject[]The best of them, up to meta.gaps_per_competitor, most winnable for your site first.
competitors[].gaps[].keywordAlways presentstringThe search.
competitors[].gaps[].search_volumeAlways presentinteger | nullSearches a month in your market. Null when unknown, never zero.
competitors[].gaps[].keyword_difficultyAlways presentinteger | null0 to 100. Null when unknown.
competitors[].gaps[].their_positionAlways presentinteger | nullTheir position for it.
competitors[].gaps[].their_pageAlways presentstring | nullTheir ranking page: what an article has to beat.
competitors[].gaps[].targetedAlways presentbooleanTrue when it is one of your target keywords, so it is rank-checked weekly.
competitors[].new_page_countAlways presentintegerPages of theirs first seen ranking in the last 7 days. The denominator for new_pages.
competitors[].new_pages[]Always presentobject[]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 presentstringThe page.
competitors[].new_pages[].titleAlways presentstring | nullIts title.
competitors[].new_pages[].best_keywordAlways presentstring | nullThe keyword it ranks best for, of those seen.
competitors[].new_pages[].best_positionAlways presentinteger | nullIts position for that keyword.
competitors[].new_pages[].first_seen_atAlways presentstringWhen it was first seen ranking.
suggested_competitors[]Always presentobject[]—
suggested_competitors[].domainAlways presentstringTheir domain.
suggested_competitors[].shared_keywordsAlways presentinteger | nullKeywords both sites rank for. Null when unknown.
suggested_competitors[].average_positionAlways presentnumber | nullTheir mean position across those keywords. Null when unknown.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
analysed_limitintegerHow many competitors the weekly research analyses, from the plan.
gaps_per_competitorintegerThe cap on each gaps list for this request.
new_pages_per_competitorintegerThe cap on each new_pages list.
GET /competitor-gaps — response
{
  "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.

Query parameters
NameTypeNotes
daysinteger1 to 365, default 30
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
engines[]object[]—
engines[].engineAlways presentstringStable slug, e.g. chatgpt. Use this for ?engine= filters.
engines[].nameAlways presentstringDisplay name, e.g. ChatGPT.
engines[].collection_methodAlways presentstringHow this surface is read: api, scraper or serp.
engines[].presentAlways presentintegerAnswers that named this brand.
engines[].responsesAlways presentintegerAnswers in the window. The denominator, always returned.
engines[].rateAlways presentnumber | nullpresent/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 presentintegerThe floor below which rate is null.
engines[].citationsintegerAnswers from this engine that cited the brand's own domain.
engines[].avg_rank_when_namednumber | nullMean position in the list WHEN NAMED. Null when never named.
brands[]object[]—
brands[].nameAlways presentstringBrand name.
brands[].roleAlways present"self" | "competitor"Yours, or a rival.
brands[].presentAlways presentintegerAnswers that named this brand.
brands[].responsesAlways presentintegerAnswers in the window. The denominator, always returned.
brands[].rateAlways presentnumber | nullpresent/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 presentintegerThe floor below which rate is null.
brands[].citationsintegerAnswers citing this brand's own domain.
brands[].avg_rank_when_namednumber | nullMean list position when named.
brands[].framingobjectHow the brand was FRAMED where it appeared. Deliberately not called a sentiment score: it counts cue phrases, it does not grade tone.
brands[].framing.classifiedintegerMentions we could classify at all. The denominator here.
brands[].framing.recommendedintegerMentions framed as a recommendation.
brands[].framing.negativeintegerMentions framed negatively.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
window_daysinteger—
GET /visibility — response
{
  "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.

Query parameters
NameTypeNotes
limitinteger1 to 200, default 50
cursorstringAn answer id from a previous page.
enginestringFilter to one engine slug.
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
idAlways presentstringOpaque public id, ans_<12>. Also the pagination cursor. Never an integer.
engineAlways presentstringEngine slug.
collection_methodstringapi, scraper or serp.
promptAlways presentstringThe prompt that was asked. Called `prompt`, not `question`.
answerstring | nullThe 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 presentstringISO timestamp.
location_codeinteger | nullThe market this was collected in.
mentions[]Always presentobject[]—
mentions[].brandAlways presentstringWhich tracked brand this refers to.
mentions[].roleAlways present"self" | "competitor"—
mentions[].mentionedAlways presentbooleanFalse rows exist: we looked and it was absent.
mentions[].rankinteger | nullPosition in the answer's list, 1-based. Null when unranked.
mentions[].countinteger | nullTimes named in this one answer.
mentions[].framingstring | nullrecommended | neutral | negative | null when genuinely ambivalent.
mentions[].framing_signalsstring[] | nullThe cue phrases behind `framing`, so a judgement can be checked.
mentions[].snippetstring | nullThe verbatim sentence naming the brand. This is the evidence.
citations[]Always presentobject[]—
citations[].urlAlways presentstringThe cited page.
citations[].domainAlways presentstringIts host.
citations[].rankinteger | nullPosition in the engine's source list. That order IS the rank.
citations[].titlestring | nullPage title where the engine supplied one.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
next_cursorstring | nullPass as ?cursor=. Null on the last page.
GET /answers — response
{
  "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.

Query parameters
NameTypeNotes
daysinteger1 to 365, default 30
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
domainAlways presentstringNormalised host — www.example.com and example.com are one row.
answers_citing_itAlways presentintegerAnswers in the window that cited this domain.
answers_where_you_were_namedAlways presentintegerOf those, how many also named your brand.
answers_citing_you_without_naming_youAlways presentintegerThe actionable number. A domain read on nine answers that named a competitor every time is a specific page to go and be on.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
window_daysinteger—
limitinteger—
GET /sources — response
{
  "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.

Query parameters
NameTypeNotes
daysinteger1 to 365, default 30
quotes"1"Pass 1 to include up to three supporting sentences per competitor. Omitted entirely when not requested.
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
competitorAlways presentstringThe competitor's name as tracked in this workspace.
domainAlways presentstring | nullTheir domain, when one is recorded.
answers_naming_themAlways presentintegerAnswers in the window that named them.
answers_without_youAlways presentintegerThe 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 presentinteger | nullBest (lowest) position they reached. Null when no answer ranked them.
typical_list_positionAlways presentnumber | nullMedian position to 1dp. Null when no answer ranked them.
total_mentionsAlways presentintegerTimes named across those answers, which can exceed answers_naming_them.
enginesAlways presentstring[]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 presentstringThe sentence the engine wrote, with its ** emphasis left intact.
quotes[].engineAlways presentstringEngine slug the sentence came from.
quotes[].questionAlways presentstringThe tracked prompt whose answer contained it.
quotes[].listRankAlways presentinteger | nullWhere the engine placed them; 1 is first. Null when it wrote no list.
quotes[].answerIdAlways presentstringThe answer this came from, as returned by /answers.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
window_daysinteger—
total_answersintegerAnswers in the window, all engines.
answers_naming_youinteger—
answers_without_youintegertotal_answers - answers_naming_you.
GET /competitors — response
{
  "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`.

Query parameters
NameTypeNotes
brandstringWhich 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
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
POST /competitors — response
{
  "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`.

Query parameters
NameTypeNotes
domainstring
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
DELETE /competitors — response
{
  "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.

Query parameters
NameTypeNotes
daysinteger1 to 365, default 30
limitinteger1 to 50, default 12
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
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 presentintegerSort 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 presentstringThe registrable site. One publisher, one outreach contact.
pages[]Always presentobject[]The specific pages, because 'get listed on medium.com' is advice and naming the roundup is a task. Never empty.
pages[].urlAlways presentstring—
pages[].titleAlways presentstring | null—
answersAlways presentintegerAnswers in the window that cited this site.
answers_naming_youAlways presentintegerOf those, how many named you. Zero for every gap, by definition.
competitors_namedAlways presentintegerDistinct tracked competitors named in those answers.
enginesAlways presentstring[]Which engines read it. Listed, never pooled into one figure.
shareAlways presentnumberFraction of meta.total_answers this door accounts for. Meaningless without that denominator, which is why it is returned beside it.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
window_daysinteger—
total_answersintegerThe denominator for every share above.
displayablebooleanFalse when the corpus is too thin to rank anything honestly. An empty list with displayable false means NOT YET, never NOTHING TO DO.
GET /recommendations — response
{
  "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.

Query parameters
NameTypeNotes
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
idAlways presentstringPublic id.
textAlways presentstring—
categoryAlways presentstring | null—
sourceAlways presentstringHow the question got here, for example user or suggested.
activeAlways presentbooleanInactive questions stop being run but keep the answers they already produced.
answersAlways presentintegerAnswers this question has produced in total, all engines.
answers_naming_youAlways presentinteger—
web_search_volumeAlways presentinteger | nullNULL 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 presentstring | nullWhen volume was last looked up. Null when it never has been.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
questions_allowedintegerThe cap on active questions for AI visibility tracking, included on every plan: 10 per workspace, counted across the organisation.
questions_usedinteger—
questions_remainingintegerZero means another question cannot be added on this plan.
GET /questions — response
{
  "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.

Query parameters
NameTypeNotes
daysinteger1 to 365, default 30
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
brandAlways presentstringThe brand this row describes.
is_youAlways presentbooleanTrue for the workspace's own brand.
answers_naming_themAlways presentintegerAnswers that named this brand. NOT the denominator.
classifiedAlways presentintegerTHE 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 presentintegerOf the classified mentions, how many read as a recommendation.
negativeAlways presentintegerOf the classified mentions, how many read as negative.
neutralAlways presentintegerclassified - recommended - negative, floored at 0.
recommended_shareAlways presentnumber | nullrecommended/classified to 3dp, or NULL below min_sample (5) classified mentions. Null means NOT ENOUGH CLASSIFIED MENTIONS and must never be rendered as 0%.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
window_daysinteger—
min_sampleintegerClassified-mention floor below which recommended_share is null.
GET /sentiment — response
{
  "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/share-of-voice

Each tracked brand's mentions as a share of every tracked brand's

THE ONE PLACE THIS API COMBINES A COMPETITOR'S NUMBER WITH YOURS. Everywhere else engines are reported separately and nothing is averaged; share of voice is a ratio by definition, so the honest move is to publish the denominator beside it rather than refuse the metric. THE DENOMINATOR IS THE BRANDS YOU TRACK, NOT THE MARKET. A workspace tracking two competitors and one tracking twelve produce incomparable numbers from identical answers, so always report brands_counted alongside.

Query parameters
NameTypeNotes
daysinteger1 to 365, default 30
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
brandAlways presentstringThe brand this row describes.
is_youAlways presentbooleanTrue for the workspace's own brand.
mentionsAlways presentintegerAnswers in the window that named this brand.
shareAlways presentnumber | nullThis brand's mentions over every tracked brand's, to 4dp. NULL when no brand was named at all, because a share of an empty pool is undefined. That is not the same as a 0% share.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
window_daysinteger—
total_mentionsintegerThe denominator. Sum of every tracked brand's mentions.
brands_countedintegerHow many brands went into the denominator.
GET /share-of-voice — response
{
  "data": [
    {
      "brand": "Rival",
      "is_you": false,
      "mentions": 48,
      "share": 0.6957
    },
    {
      "brand": "Acme",
      "is_you": true,
      "mentions": 21,
      "share": 0.3043
    }
  ],
  "meta": {
    "generated_at": "2026-09-30T09:00:00.000Z",
    "brand": {
      "id": "wsp_zD6cssxGlJyF",
      "name": "Acme"
    },
    "window_days": 30,
    "total_mentions": 69,
    "brands_counted": 2,
    "note": "The denominator is the brands THIS workspace tracks, not the market. Two workspaces tracking different competitor sets produce incomparable shares from the same answers, so always report brands_counted alongside. share is null when no brand was named at all, which is not the same as a 0% share."
  }
}

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.

Query parameters
NameTypeNotes
limitinteger1 to 200, default 50
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
idAlways presentstringOpaque public id, alr_<12>. Use it to dedupe across polls.
kindAlways presentstringFinding type, e.g. visibility_drop.
titleAlways presentstringOne line.
detailstringThe explanation, including the numbers behind it.
factsobjectThe figures the finding was computed from.
created_atAlways presentstringISO timestamp.
readAlways presentbooleanWhether it has been seen in the dashboard.
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /alerts — response
{
  "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`.

Query parameters
NameTypeNotes
idstringAn article id, art_<12>, from GET /articles.
action"approve" | "reject" | "changes" | "unschedule" | "publish"
brandstringWhich 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
Fields of data. (● = always present)
FieldTypeMeaning
okboolean—
messagestring—
statusstring | null—
published_urlstring | null—
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
POST /articles/{id}/{action} — response
{
  "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/authority

The site's authority beside its competitors

`domain_rating` is Ahrefs Domain Rating (0-100): wherever you show it, show `meta.attribution` ("Domain Rating by Ahrefs", linked), which Ahrefs' licence requires. `domain_rank` is DataForSEO's backlink rank, a different scale. A null change means no 30-day baseline yet, not zero.

Query parameters
NameTypeNotes
brandstringWhich 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.
Fields of data. (● = always present)
FieldTypeMeaning
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /authority — response
{
  "data": {
    "site": {
      "domain": "acme.com",
      "name": "Acme",
      "domain_rating": 38,
      "domain_rating_change_30d": 2,
      "domain_rank": 24,
      "domain_rank_change_30d": null
    },
    "competitors": []
  },
  "meta": {
    "generated_at": "2026-11-09T09:00:00.000Z",
    "brand": {
      "id": "wsp_zD6cssxGlJyF",
      "name": "Acme"
    },
    "attribution": {
      "text": "Domain Rating by Ahrefs",
      "url": "https://ahrefs.com/",
      "required": true
    }
  }
}

Other statuses: 400, 401, 402, 403, 404, 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.

Query parameters
NameTypeNotes
limitinteger1 to 100
brandstringWhich 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.
data is an array. Each row: (● = always present)
FieldTypeMeaning
Fields of meta. (● = always present)
FieldTypeMeaning
generated_atstring—
brandobjectWhich brand a response describes. Present in meta on every data endpoint.
brand.idAlways presentstringPass as ?brand=.
brand.nameAlways presentstringDisplay name.
notestring—
GET /opportunities — response
{
  "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. 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. 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. 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. 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. 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. 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?
Every response is an envelope. data carries the result; meta carries generated_at, the brand the numbers belong to, and often a note explaining a subtlety of that endpoint — the window in days, the next cursor, or whether the key is pinned. An error replaces data with an error object holding a stable code and a human message.
Can the RankHound API change anything?
Yes, since November 2026. A key with the matching write scope can approve, reject, rewrite, edit, unschedule or publish an article (publishing now only works on one you already approved), pause or resume writing, and add or remove keywords and competitors. The scopes are articles:write, agent:write, keywords:write and brands:write. Writes need an active plan, and nothing in the API starts a paid run or touches billing or your team.
How does pagination work in the RankHound API?
Two endpoints paginate, /answers and /articles. Pass limit up to 200, then pass meta.next_cursor back as ?cursor= to continue. The cursor is the opaque id of the last item on the page. A cursor that does not belong to the brand returns 400 rather than silently restarting at page one.
Why is rate sometimes null in the API response?
Because the sample is below the floor of 5 answers. Null means "not enough answers yet", never zero. The worked example on this page deliberately includes a Perplexity row at present 3, responses 4, rate null, because that is the case a client is most likely to render wrongly as 0%.
Can I get one overall AI visibility score from the API?
No, and you should not compute one. Engines retrieve differently and disagree, so a mean describes no surface that exists. If you genuinely need a single figure, sum present and sum responses across engines and say plainly that is what you did. GET /me returns engines_averaged: false so a client can state this rather than assume it.
Does the API count RankHound outages as my brand being absent?
No. A failed collection — an error or a timeout — is excluded from the denominator entirely and never appears in /answers. Separately, outcome "empty" is a real observation: the engine answered and named nobody. That one is counted, because it happened.
Is the RankHound API documented with OpenAPI?
Yes. There is an OpenAPI 3.1 document with a schema and a worked example for every path, and this page is generated from it. A test in the API's own suite compares the documented property names against what the handlers actually return, in both directions, so a renamed field fails a build rather than becoming a quietly wrong sentence here.

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.