Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: SERPmantics Account API
version: '1.0'
description: 'Every authenticated endpoint may answer `503` with `{ "success": false, "error": "Service temporarily unavailable", "code": "database_unavailable" }` and a `Retry-After: 30` header when the database cannot be reached. This is a temporary outage on our side: your API key is not in question, do not regenerate or revoke it, retry after the delay (see the `DatabaseUnavailable` response).'
tags:
- name: Account
paths:
/api/v1/usage:
get:
tags:
- Account
summary: Get current API usage and quota status
description: 'Returns the current period''s API guide usage (guides created through the API or MCP), quota limit, remaining count and the renewal date. Aligned on the Stripe subscription billing cycle, or on the calendar month (UTC) for a Conqueror account without a subscription. Does not consume credits. `enforced` tells whether the quota is enforced on the current window: when `true`, a guide creation through the API or MCP that would exceed the limit is refused with HTTP 402 (see `POST /api/v1/guides`). When `false` (any plan other than Conqueror, a billing cycle that started before the refusal went live, or a Conqueror subscription in payment recovery, counted over the last 30 days with no reset date), the figures are informational only and nothing is refused on quota grounds. `upgrade_url` is the absolute link to the "Priority and API volume" add-on (the same as `details.upgrade_url` of the 402), absent when the add-on cannot raise the quota (already at its highest volume, or account without a subscription to add it to).'
security:
- BearerAuth: []
responses:
'200':
description: Current quota status
'401':
description: Unauthorized
operationId: getApiV1Usage
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API key