Rankability Usage API
The active metering contract, limits, usage events and estimates.
The active metering contract, limits, usage events and estimates.
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/rankability-com:rankability-com-usage-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: Rankability Agent Usage API
version: 1.24.0
description: 'REST API for programmatic SEO and AI search visibility work in Rankability: content jobs, AI and organic rank tracking, keyword research, page and site audits, clients and their Knowledge sources, crawling, and usage.
Authenticate with an organization API key (`Authorization: Bearer rk_live_...`, created in Settings > API keys) or an OAuth 2.0 access token. Each operation lists the scopes it needs in `x-required-scopes` (all required) or `x-accepted-scopes` (any one is enough); an empty `x-required-scopes` with no `x-accepted-scopes` means any Agent API scope works.
Errors use one shape: `{ "error": { "code", "message", "details" } }`. Every response carries `X-Request-Id`, `X-API-Version` and `X-RateLimit-*` headers. Call `GET /usage` before starting on-demand work.'
contact:
name: Rankability support
url: https://help.rankability.com
termsOfService: https://www.rankability.com/terms/
servers:
- url: https://app.rankability.com
description: Production
security:
- ApiKeyAuth: []
- OAuth2: []
tags:
- name: Usage
description: The active metering contract, limits, usage events and estimates.
paths:
/api/agent/v1/credits/balance:
get:
operationId: get_credits_balance
summary: Get the credit balance
description: 'Required scope: one of `copywriter:read` or `reporter:read`.'
tags:
- Usage
x-required-scopes: []
x-accepted-scopes:
- copywriter:read
- reporter:read
security:
- ApiKeyAuth: []
- OAuth2:
- copywriter:read
- OAuth2:
- reporter:read
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-API-Version:
$ref: '#/components/headers/X-API-Version'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
/api/agent/v1/usage:
get:
operationId: get_usage
summary: Read the active metering contract and limits
description: 'Read the active metering contract and limits
Any Agent API scope.'
tags:
- Usage
x-required-scopes: []
security:
- ApiKeyAuth: []
- OAuth2: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-API-Version:
$ref: '#/components/headers/X-API-Version'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
/api/agent/v1/usage/estimate:
get:
operationId: get_usage_estimate
summary: Estimate the usage impact of an operation before running it
description: 'Required scope: one of `copywriter:read` or `copywriter:run` or `optimize:run` or `page_audit:read` or `page_audit:write` or `researcher:read` or `researcher:run` or `scrape:run` or `crawl:run` or `extract:run` or `search_intelligence:query` or `site-auditor:read` or `site-auditor:write` or `reporter:read` or `reporter:run` or `prospect_scan:run` or `prospect_scan:read`.'
tags:
- Usage
x-required-scopes: []
x-accepted-scopes:
- copywriter:read
- copywriter:run
- optimize:run
- page_audit:read
- page_audit:write
- researcher:read
- researcher:run
- scrape:run
- crawl:run
- extract:run
- search_intelligence:query
- site-auditor:read
- site-auditor:write
- reporter:read
- reporter:run
- prospect_scan:run
- prospect_scan:read
security:
- ApiKeyAuth: []
- OAuth2:
- copywriter:read
- OAuth2:
- copywriter:run
- OAuth2:
- optimize:run
- OAuth2:
- page_audit:read
- OAuth2:
- page_audit:write
- OAuth2:
- researcher:read
- OAuth2:
- researcher:run
- OAuth2:
- scrape:run
- OAuth2:
- crawl:run
- OAuth2:
- extract:run
- OAuth2:
- search_intelligence:query
- OAuth2:
- site-auditor:read
- OAuth2:
- site-auditor:write
- OAuth2:
- reporter:read
- OAuth2:
- reporter:run
- OAuth2:
- prospect_scan:run
- OAuth2:
- prospect_scan:read
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-API-Version:
$ref: '#/components/headers/X-API-Version'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
/api/agent/v1/usage/events:
get:
operationId: get_usage_events
summary: List completed usage outcomes with bounded pagination
description: 'List completed usage outcomes with bounded pagination
Any Agent API scope.'
tags:
- Usage
x-required-scopes: []
security:
- ApiKeyAuth: []
- OAuth2: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-API-Version:
$ref: '#/components/headers/X-API-Version'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
components:
headers:
X-RateLimit-Limit:
description: Maximum requests in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: integer
X-Request-Id:
description: Unique request id for tracing and support.
schema:
type: string
X-API-Version:
description: Agent API contract version.
schema:
type: string
responses:
Forbidden:
description: The credential lacks a required scope (`forbidden`), or the organization's plan does not include this (`plan_required`, `plan_limit_exceeded`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, invalid, expired or revoked credentials (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Too many requests (`rate_limit_exceeded`), on-demand usage paused (`usage_limit_reached`), Tracker busy (`capacity_reached`) or too many concurrent jobs (`concurrency_limit_reached`). Honor `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Error:
description: Error. See `error.code`; common codes include `insufficient_credits` (402), `conflict` (409) and `service_unavailable` (503).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
example: invalid_input
message:
type: string
details:
type: object
additionalProperties: true
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: rk_live_ API key
description: 'Organization API key sent as `Authorization: Bearer rk_live_...`. Create keys in Settings > API keys; each key carries its own scopes.'
OAuth2:
type: oauth2
description: 'OAuth 2.0 authorization code flow with PKCE (S256), used by MCP clients and integrations. Dynamic client registration is available at /oauth/register; metadata at /.well-known/oauth-authorization-server. Send the access token as `Authorization: Bearer <token>`.'
flows:
authorizationCode:
authorizationUrl: https://app.rankability.com/oauth/authorize
tokenUrl: https://app.rankability.com/oauth/token
refreshUrl: https://app.rankability.com/oauth/token
scopes:
copywriter:run: Create content
copywriter:read: Read content
reporter:read: Read reporter data
reporter:run: Trigger scans
reporter:write: Manage reporter projects
prospect_scan:run: Run prospect visibility reports
prospect_scan:read: Read prospect visibility reports
researcher:run: Run keyword research
researcher:read: Read research jobs & projects
seo_research:run: Run SEO research
seo_research:read: Read SEO research
clients:read: Read workspaces
clients:write: Create, update & delete workspaces
connections:read: Read eligible provider properties and workspace connections
connections:write: Link authorized provider properties to workspaces
kb:read: Read knowledge base
optimize:run: Run page optimization
page_audit:read: Read page audits
page_audit:write: Run page audits
site-auditor:read: Read site audits
site-auditor:write: Run site audits
search_intelligence:query: Query search intelligence (Google + AI platforms)
scrape:run: Scrape a page (SEO + AEO extraction)
crawl:run: Crawl a site (bounded multi-page)
extract:run: Extract structured data from a page
prospector:read: Read Prospector lists & outreach items
prospector:write: Manage Prospector lists & outreach items
prospector:run: Run Prospector opportunity discovery
backlinks:read: Read saved backlink profile evidence
backlinks:run: Refresh backlink profile evidence
gbp-audit:read: Read saved GBP audit evidence
gbp-audit:run: Run connected Google Business Profile audits
batch-url:read: Read saved Batch URL Analyzer runs
routines:read: Read Automate settings and history
routines:write: Manage Automate settings and recurring work
publishing:read: Read publishing connections & receipts
publishing:write: Create publishing drafts
serena:ask: Consult Serena (read-only)