SERP Agent Accounts API
Programmatic signup and account status.
Programmatic signup and account status.
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/serp-agent-com:serp-agent-com-accounts-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: SERP Agent Accounts API
version: 1.0.0
description: 'Agent-ready SEO automation API: programmatic signup, technical site audits, and end-to-end SEO article generation. Designed for AI agents — instant sandbox keys (no CAPTCHA, no payment method), uniform machine-readable errors, idempotent POSTs, and signed webhooks. All request and response fields are snake_case. Quickstart for agents: https://serp-agent.com/docs/agents'
contact:
url: https://serp-agent.com/docs
servers:
- url: https://serp-agent.com
description: Production
security:
- apiKey: []
tags:
- name: Accounts
description: Programmatic signup and account status.
paths:
/v1/accounts:
post:
operationId: createAccount
summary: Create an account (programmatic signup)
description: Public, CAPTCHA-free signup. Returns a sandbox API key **immediately** — shown exactly once, before any email verification. Sandbox keys expire after 14 days and carry hard usage caps (1 project, 1 audit, 2 articles). Rate limited to 5 signups/hour per IP. Idempotency-Key is scoped to the caller's IP so a retried signup replays the stored 201 (raw key included) instead of hitting `account_exists`.
tags:
- Accounts
security: []
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Any unique string (max 200 chars). Retrying a request with the same key replays the stored response verbatim (with header Idempotent-Replayed: true) instead of re-executing — including one-time secrets in the original body. Keys are scoped per account (per client IP on the unauthenticated signup) and pruned after 24h. Reusing a key on a different endpoint returns 409 idempotency_conflict.'
schema:
type: string
maxLength: 200
example: b3f1c9e2-1a77-4d0e-9f5a-2f4f4f4f4f4f
x-sandbox-limits:
audits: 1
articles: 2
projects: 1
expires_days: 14
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
properties:
email:
type: string
format: email
maxLength: 320
description: Trimmed and lowercased server-side.
company_name:
type: string
minLength: 1
maxLength: 200
origin:
type: string
enum:
- agent
- human
description: Who is signing up. Defaults to "agent".
example:
email: agent@example.com
company_name: Acme Agents
origin: agent
responses:
'201':
description: Account created. `api_key` is the raw sandbox key — it is shown exactly once and never retrievable again.
headers:
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/SignupResponse'
example:
account_id: usr_01h9x2
api_key: sk_sandbox_REDACTED_EXAMPLE_KEY
mode: sandbox
sandbox_limits:
audits: 1
articles: 2
expires_days: 14
upgrade_url: https://serp-agent.com/pricing
docs: https://serp-agent.com/docs/agents
'400':
description: 'Malformed JSON or invalid field. Code: `invalid_request`.'
headers:
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: invalid_request
message: 'Invalid email: Invalid email address.'
doc_url: https://serp-agent.com/docs/errors#invalid_request
'409':
description: 'Email already registered. Code: `account_exists`.'
headers:
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: account_exists
message: An account with this email already exists. Log in to the dashboard and manage API keys at /settings, or authenticate with an existing API key.
doc_url: https://serp-agent.com/docs/errors#account_exists
'429':
description: 'Too many signups from this IP (5/hour). Code: `rate_limited`.'
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: rate_limited
message: Too many signup attempts from this IP. Try again later.
doc_url: https://serp-agent.com/docs/errors#rate_limited
'500':
description: 'Unexpected server error — safe to retry with the same Idempotency-Key. Code: `internal_error`.'
headers:
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: internal_error
message: Something went wrong creating the account. Try again.
doc_url: https://serp-agent.com/docs/errors#internal_error
/v1/account:
get:
operationId: getAccount
summary: Get the calling account
description: Snapshot of the account behind the presented API key. Sandbox callers additionally see their usage ledger (`sandbox_usage`) and limits so an agent can self-manage the trial budget. `plan` is currently always `null` (populated by the upcoming billing phase).
tags:
- Accounts
responses:
'200':
description: The account snapshot.
headers:
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
example:
account_id: usr_01h9x2
email: agent@example.com
email_verified: false
mode: sandbox
plan: null
sandbox_usage:
audits: 1
articles: 0
sandbox_limits:
audits: 1
articles: 2
expires_days: 14
created_at: '2026-07-23T09:00:00.000Z'
projects_count: 1
'401':
description: 'Missing, malformed, unknown, revoked, or expired API key. Codes: `unauthorized`, `key_revoked`, `key_expired`.'
headers:
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: unauthorized
message: 'Missing or malformed Authorization header. Expected: Bearer sk_...'
doc_url: https://serp-agent.com/docs/errors#unauthorized
'429':
description: Rate limit exceeded (600 requests/minute per API key). Honor `Retry-After`.
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
X-RateLimit-Limit:
description: Request budget for the current window (600/min per API key on authenticated routes; 5/hour per IP on signup).
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix timestamp (seconds) when the window resets.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: rate_limited
message: Rate limit exceeded for this API key.
doc_url: https://serp-agent.com/docs/errors#rate_limited
components:
schemas:
Error:
type: object
description: 'Uniform error body returned by every non-2xx response. `code` is machine-readable (full catalog: https://serp-agent.com/docs/errors); `doc_url` links its documentation.'
required:
- error
properties:
error:
type: object
required:
- code
- message
- doc_url
properties:
code:
type: string
example: rate_limited
message:
type: string
description: Human/agent-readable explanation, often with the exact next step.
doc_url:
type: string
format: uri
SandboxLimits:
type: object
description: Hard caps on a sandbox trial key.
required:
- audits
- articles
- expires_days
properties:
audits:
type: integer
example: 1
articles:
type: integer
example: 2
expires_days:
type: integer
example: 14
Account:
type: object
required:
- account_id
- email
- email_verified
- mode
- plan
- sandbox_usage
- sandbox_limits
- created_at
- projects_count
properties:
account_id:
type: string
email:
type: string
format: email
email_verified:
type: boolean
mode:
type: string
enum:
- sandbox
- live
description: Mode of the key used on this request.
plan:
type: 'null'
description: Always null for now — populated by the upcoming billing phase.
sandbox_usage:
type:
- object
- 'null'
description: Trial units consumed. Null for live keys.
properties:
audits:
type: integer
articles:
type: integer
sandbox_limits:
oneOf:
- $ref: '#/components/schemas/SandboxLimits'
- type: 'null'
description: Null for live keys.
created_at:
type: string
format: date-time
projects_count:
type: integer
SignupResponse:
type: object
required:
- account_id
- api_key
- mode
- sandbox_limits
- upgrade_url
- docs
properties:
account_id:
type: string
api_key:
type: string
description: Raw sandbox key (sk_sandbox_…). Shown exactly once — store it now.
mode:
type: string
const: sandbox
sandbox_limits:
$ref: '#/components/schemas/SandboxLimits'
upgrade_url:
type: string
format: uri
docs:
type: string
format: uri
securitySchemes:
apiKey:
type: http
scheme: bearer
description: 'API key in the Authorization header: `Authorization: Bearer sk_sandbox_...` (trial) or `Bearer sk_live_...` (paid). Keys are obtained from POST /v1/accounts (instant sandbox key) or POST /v1/api-keys. The raw key is shown exactly once at creation — only a hash is stored. Sandbox keys expire after 14 days.'
x-sandbox-limits:
description: 'Hard caps on a free sandbox trial (per key): 1 project, 1 audit, 2 draft-only articles; the key expires after 14 days. Exceeding a cap returns 403 sandbox_limit_reached with the upgrade URL. Upgrade: https://serp-agent.com/pricing'
projects: 1
audits: 1
articles: 2
expires_days: 14