API

Responses

Collected AI answers with mention verdicts and cited URLs

A response is one collected AI answer with your property's mention verdict: whether the brand appeared, where, with what sentiment, and which URLs the platform cited. Verdict rows exist whether or not the brand was mentioned. Filter with mentioned to narrow to hits or misses.

List responses

GET /v1/responses

Returns responses for paid properties in the API key's scope. Ordered by date, newest first. Default range: the last 30 UTC days. List rows carry a plain-text excerpt; fetch the full markdown text from the detail endpoint.

Headers

HeaderValueRequired
AuthorizationBearer hdg_sk_live_...Yes

Query parameters

ParameterTypeDescription
propertyIdstringReturn responses for one property only.
promptIdstringReturn responses for one prompt only.
modelstringReturn responses for one AI platform only (e.g. chatgpt).
mentionedbooleantrue = only responses mentioning the brand; false = only misses.
fromstringRange start, UTC day (yyyy-MM-dd). Inclusive.
tostringRange end, UTC day (yyyy-MM-dd). Inclusive.
limitintegerMaximum results per page. Default: 100, max: 1000.
offsetintegerRows to skip. Default: 0.

Example

curl "https://api.useheading.com/v1/responses?mentioned=true&model=chatgpt" \
  -H "Authorization: Bearer hdg_sk_live_abc123..."

Response: 200 OK

{
  "data": [
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "promptId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "prompt": "What is the best SEO tool for enterprise?",
      "model": "chatgpt",
      "date": "2026-07-21",
      "mentioned": true,
      "matchedTerm": "Acme Corp",
      "position": 2,
      "sentiment": 0.6,
      "excerpt": "For enterprise SEO, the leading options are Conductor, Acme Corp, and BrightEdge. Conductor stands out for…",
      "sourceUrls": [
        "https://techcrunch.com/2026/05/12/enterprise-seo-tools",
        "https://reddit.com/r/seo/comments/enterprise_tools"
      ],
      "property": {
        "id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
        "name": "Acme Corp"
      }
    }
  ],
  "total": 1
}

Response fields

FieldTypeDescription
idstringResponse verdict UUID. Use with the detail endpoint.
promptIdstringPrompt UUID. Matches id on /v1/prompts.
promptstringThe prompt text that produced this answer
modelstringAI platform identifier
datestringUTC day the response was collected (yyyy-MM-dd)
mentionedbooleanWhether the brand appeared in the answer
matchedTermstring or nullThe brand term that matched. Null when not mentioned.
positionnumber or nullCharacter position of the first mention. Null when not mentioned.
sentimentnumber or nullMention sentiment. Null when not mentioned.
excerptstringPlain-text excerpt of the answer (≤300 chars)
sourceUrlsstring[]URLs the platform cited or consulted
propertyobjectThe property this verdict belongs to
property.idstringProperty UUID
property.namestringProperty display name

Get a response

GET /v1/responses/{id}

Returns one response with the full markdown answer text.

Example

curl https://api.useheading.com/v1/responses/b2c3d4e5-f6a7-8901-bcde-f12345678901 \
  -H "Authorization: Bearer hdg_sk_live_abc123..."

Response: 200 OK

{
  "data": {
    "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "promptId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "prompt": "What is the best SEO tool for enterprise?",
    "model": "chatgpt",
    "date": "2026-07-21",
    "mentioned": true,
    "matchedTerm": "Acme Corp",
    "position": 2,
    "sentiment": 0.6,
    "excerpt": "For enterprise SEO, the leading options are Conductor, Acme Corp, and BrightEdge. Conductor stands out for…",
    "text": "For enterprise SEO, the leading options are **Conductor**, **Acme Corp**, and **BrightEdge**.\n\n1. Conductor stands out for…",
    "sourceUrls": [
      "https://techcrunch.com/2026/05/12/enterprise-seo-tools"
    ],
    "property": {
      "id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
      "name": "Acme Corp"
    }
  }
}

text: string. The complete answer as markdown. All other fields match the list row.

Error responses

StatusCodeWhen
400INVALID_PARAMInvalid query parameter
401MISSING_AUTHNo Authorization header
401INVALID_AUTHHeader is not Bearer {key}
401INVALID_KEYInvalid or revoked API key
404NOT_FOUNDNo response with this id in the key's scope
429RATE_LIMIT_EXCEEDEDRate limit exceeded (100 req/min)
500INTERNAL_ERRORServer error