Also known as: JSON API, Rankmio API, Dev API, HTTP API, api.rankmio, v1 API, /api/v1
The Rankmio JSON API is the programmatic route to the same aggregated SEO and GEO data that the JSON export delivers in the browser. Three endpoints under /api/v1/ give developers, CI pipelines and AI coding agents (Claude Code, Cursor, Aider) a channel for pulling Rankmio data into their workflows without the UI. Authentication uses a personal bearer token (rmk_…) that can be created, rotated and revoked in the profile. The token is stored server-side only as a cryptographic hash; the plain text is shown once. Data structure, blocks and semantics are identical to the browser download — the API is deliberately not a new data channel but a second access facade onto the same data base.
GET /api/v1/projects — discovery: lists all projects the key is allowed to see (id, domain, name, created_at). For agents that do not yet know your project setup.GET /api/v1/projects/{id} — meta data and available blocks: which of the 12 data blocks hold data, the record count and the estimated bytes per block. Ideal for deciding, before the export, which blocks are worth requesting.GET /api/v1/projects/{id}/export?blocks=… — the actual snapshot, in exactly the same structure as the browser JSON download. Blocks are selected via query parameter; without a parameter, all of them are returned.The first two endpoints are free of charge; the export follows the same cost logic as the browser download.
Every call carries the bearer token in the Authorization header. Server-side, a middleware checks the token, the IP whitelist (optional per key) and the project whitelist (optional per key). The rate limit applies per key: 60 requests per minute, 1,000 per day. In addition, every key has a daily credit limit (default 200 credits per key per day) — an anchor against abuse, so that a leaked token cannot drain the balance. The response headers X-RateLimit-Remaining-Minute, X-RateLimit-Remaining-Day and X-Charge-Used-Cr give every pipeline an honest self-report without a separate status call.
A coding agent that does not yet know Rankmio works in three steps: (1) call GET /projects, filter the list for the desired domain and note the project ID. (2) Call GET /projects/{id} and check which blocks hold data and how large they are. (3) Call GET /projects/{id}/export?blocks=… and pass the snapshot into the chat context, a slash command or a CI pipeline. The first two steps are free of charge; only the export deducts credits.
Retry-After header.Every call (including errors) is logged internally in api_key_usage — for audit traceability.
Example: a development team wants to prevent GEO regressions from going live unnoticed before each deployment. The CI pipeline pulls a snapshot via curl -H "Authorization: Bearer rmk_…" "https://rankmio.de/api/v1/projects/89/export?blocks=geo,citation", compares the GEO scores with the snapshot from before the deployment and fails the pipeline if the citability median or the AI visibility drops below a defined threshold. In this way the GEO state remains part of the definition of done — not just the unit test.
Manage API keys in your profile
Free SEO & GEO Check
SEO score, AI visibility and citability of your website in 30 seconds — no registration required.
Register for free, get 10 credits and start right away.
Register now