MentionsAPI Mentions API
Query and crawl the LLM brand-mentions database.
Query and crawl the LLM brand-mentions database.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/mentionsapi-com:mentionsapi-com-mentions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Mentions API
version: 1.0.0
description: Unified API for tracking brand mentions across ChatGPT, Claude, Gemini, Perplexity, and live AI search surfaces (Google AI Overviews, AI Mode, Bing Copilot). The primary call is POST /v1/check. POST /v1/ask remains mounted for existing integrations. Built for GEO tool builders, SEO agencies, and brand monitoring teams.
contact:
name: MentionsAPI Support
email: hello@mentionsapi.com
url: https://mentionsapi.com/docs
license:
name: Proprietary
url: https://mentionsapi.com/legal/terms
servers:
- url: https://api.mentionsapi.com
description: Production
security:
- bearerAuth: []
tags:
- name: Mentions
description: Query and crawl the LLM brand-mentions database.
paths:
/v1/mentions/search:
get:
tags:
- Mentions
operationId: searchMentions
summary: Search the brand-mentions database
description: Query the historical brand-mentions index populated by the crawler. Filter by brand, provider, and time window. Returns suggestions (via pg_trgm) when no exact matches exist.
security:
- bearerAuth: []
parameters:
- name: brand
in: query
required: true
description: Brand name to look up.
schema:
type: string
minLength: 1
maxLength: 120
- name: provider
in: query
description: Restrict to a single provider.
schema:
$ref: '#/components/schemas/ProviderId'
- name: since
in: query
description: ISO 8601 datetime lower bound (snapshot_at ≥ since).
schema:
type: string
format: date-time
- name: limit
in: query
description: Max rows to return.
schema:
type: integer
minimum: 1
maximum: 100
default: 50
responses:
'200':
description: Matching mentions plus optional suggestions.
content:
application/json:
schema:
$ref: '#/components/schemas/MentionsSearchResponse'
'400':
description: Invalid query parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing, malformed, or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'402':
description: Insufficient credits (35 credits per query).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/mentions/crawl:
post:
tags:
- Mentions
operationId: crawlMentions
summary: Trigger an on-demand brand crawl
description: 'Fires a live 4-provider fanout with web search enabled, extracts brand mentions from each response, and writes them into the `brand_mentions` table. Automatically adds the queried brand to `brand_catalog`. Price: flat $2.00.'
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MentionsCrawlRequest'
responses:
'200':
description: Crawl completed; provider results and inserted mentions returned.
content:
application/json:
schema:
$ref: '#/components/schemas/MentionsCrawlResponse'
'400':
description: Invalid request body.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing, malformed, or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'402':
description: Insufficient credits (650 credits per crawl).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
MentionsSearchResponse:
type: object
required:
- request_id
- query
- mentions
- suggestions
- usage
properties:
request_id:
type: string
format: uuid
query:
type: object
properties:
brand:
type: string
normalized_brand:
type: string
provider:
type: string
nullable: true
since:
type: string
format: date-time
nullable: true
limit:
type: integer
mentions:
type: array
items:
$ref: '#/components/schemas/Mention'
suggestions:
type: array
items:
$ref: '#/components/schemas/BrandSuggestion'
usage:
type: object
properties:
billable_units:
type: integer
latency_ms:
type: integer
cost_cents:
type: integer
MentionsCrawlRequest:
type: object
required:
- brand
properties:
brand:
type: string
minLength: 1
maxLength: 120
prompt:
type: string
minLength: 1
maxLength: 2000
description: Custom crawl prompt. Defaults to an 'alternatives to <brand>' question.
category:
type: string
minLength: 1
maxLength: 60
ProviderResult:
type: object
required:
- provider
- model
- content
- citations
- tokens
- latency_ms
properties:
provider:
$ref: '#/components/schemas/ProviderId'
model:
type: string
example: gpt-4o-2024-08-06
content:
type: string
citations:
type: array
items:
$ref: '#/components/schemas/Citation'
tokens:
$ref: '#/components/schemas/TokenUsage'
latency_ms:
type: integer
minimum: 0
BrandSuggestion:
type: object
required:
- brand
- normalized_brand
- similarity
properties:
brand:
type: string
normalized_brand:
type: string
category:
type: string
nullable: true
similarity:
type: number
ErrorObject:
type: object
required:
- code
- message
properties:
code:
type: string
example: insufficient_credits
message:
type: string
example: Insufficient credits. Subscribe or top up at https://mentionsapi.com/app/billing
balance_cents:
type: integer
required_cents:
type: integer
Mention:
type: object
required:
- id
- brand
- provider
- model
- prompt
- snapshot_at
- citations
properties:
id:
type: integer
brand:
type: string
provider:
type: string
model:
type: string
prompt:
type: string
prompt_category:
type: string
nullable: true
snapshot_at:
type: string
format: date-time
content:
type: string
nullable: true
rank:
type: integer
nullable: true
sentiment:
type: string
enum:
- positive
- neutral
- negative
nullable: true
context:
type: string
nullable: true
citations:
type: array
items:
$ref: '#/components/schemas/Citation'
raw_response_id:
type: string
nullable: true
MentionsCrawlResponse:
type: object
required:
- request_id
- brand
- normalized_brand
- prompt
- mentions
- total_mentions_found
- providers
- usage
properties:
request_id:
type: string
format: uuid
brand:
type: string
normalized_brand:
type: string
prompt:
type: string
mentions:
type: array
items:
type: object
properties:
brand:
type: string
provider:
type: string
model:
type: string
snapshot_at:
type: string
format: date-time
rank:
type: integer
nullable: true
sentiment:
type: string
nullable: true
context:
type: string
nullable: true
content_excerpt:
type: string
nullable: true
total_mentions_found:
type: integer
minimum: 0
providers:
type: array
items:
oneOf:
- $ref: '#/components/schemas/ProviderResult'
- $ref: '#/components/schemas/ProviderError'
usage:
type: object
properties:
billable_units:
type: integer
latency_ms:
type: integer
cost_cents:
type: integer
ProviderError:
type: object
required:
- provider
- error
properties:
provider:
$ref: '#/components/schemas/ProviderId'
error:
type: object
required:
- code
- message
properties:
code:
type: string
example: provider_timeout
message:
type: string
TokenUsage:
type: object
required:
- input
- output
properties:
input:
type: integer
minimum: 0
output:
type: integer
minimum: 0
reasoning:
type: integer
minimum: 0
ProviderId:
type: string
enum:
- openai
- anthropic
- gemini
- perplexity
description: The LLM provider that produced a result.
Citation:
type: object
required:
- url
properties:
url:
type: string
format: uri
title:
type: string
snippet:
type: string
ErrorResponse:
type: object
required:
- error
properties:
error:
$ref: '#/components/schemas/ErrorObject'
request_id:
type: string
format: uuid
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API key
description: 'Send your API key as ''Authorization: Bearer <token>''. Create and manage keys in your dashboard.'
sessionJwt:
type: http
scheme: bearer
bearerFormat: JWT
description: Supabase session JWT for the logged-in dashboard user. Used by /v1/keys, /v1/webhooks, /v1/monitors, and /v1/stripe/*. Not an API key.