MentionsAPI Keys API
API key management. Authenticated with a Supabase session JWT, not an API key.
API key management. Authenticated with a Supabase session JWT, not an API key.
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-keys-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 Keys 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: Keys
description: API key management. Authenticated with a Supabase session JWT, not an API key.
paths:
/v1/keys:
get:
tags:
- Keys
operationId: listKeys
summary: List API keys for the authenticated account
description: Dashboard session JWT, not an API key. Plaintext tokens are never returned.
security:
- sessionJwt: []
responses:
'200':
description: Keys, newest first.
content:
application/json:
schema:
$ref: '#/components/schemas/KeyListResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
post:
tags:
- Keys
operationId: createKey
summary: Create an API key
description: Mints lvk_live_… or lvk_test_…. The plaintext token is returned only on this response.
security:
- sessionJwt: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/KeyCreateRequest'
responses:
'201':
description: Key created. Plaintext token returned once.
content:
application/json:
schema:
$ref: '#/components/schemas/KeyCreateResponse'
'400':
description: Request body failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/keys/{id}:
delete:
tags:
- Keys
operationId: revokeKey
summary: Revoke an API key
description: Marks the key revoked and purges the API-key cache.
security:
- sessionJwt: []
parameters:
- name: id
in: path
required: true
description: API key id.
schema:
type: string
format: uuid
responses:
'200':
description: Key revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/KeyRevokeResponse'
'400':
description: Invalid key id.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Key not found, or it belongs to another account.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
KeyCreateRequest:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
maxLength: 80
mode:
type: string
enum:
- live
- test
default: live
KeyListItem:
type: object
required:
- id
- name
- prefix
- mode
- status
- created_at
- last_used_at
- revoked_at
properties:
id:
type: string
format: uuid
name:
type: string
prefix:
type: string
mode:
type: string
enum:
- live
- test
status:
type: string
enum:
- active
- revoked
created_at:
type: string
format: date-time
last_used_at:
type: string
format: date-time
nullable: true
revoked_at:
type: string
format: date-time
nullable: true
KeyCreateResponse:
type: object
required:
- request_id
- key
properties:
request_id:
type: string
format: uuid
key:
type: object
required:
- id
- name
- prefix
- mode
- status
- created_at
- token
properties:
id:
type: string
format: uuid
name:
type: string
prefix:
type: string
mode:
type: string
enum:
- live
- test
status:
type: string
enum:
- active
- revoked
created_at:
type: string
format: date-time
token:
type: string
description: Plaintext API key. Returned once.
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
KeyRevokeResponse:
type: object
required:
- request_id
- revoked
- id
properties:
request_id:
type: string
format: uuid
revoked:
type: boolean
enum:
- true
id:
type: string
format: uuid
KeyListResponse:
type: object
required:
- request_id
- keys
properties:
request_id:
type: string
format: uuid
keys:
type: array
items:
$ref: '#/components/schemas/KeyListItem'
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.