REST API
GetSeoHit REST API v1
Access crawl, finding, task, fix and usage data as JSON. Every response is UTF-8 JSON; the Markdown endpoints return text/markdown.
Base URL
https://getseohit.com/api/v1
OpenAPI spec
The machine-readable spec is in OpenAPI 3.1 format; use it to generate a client or import it into Postman. The signed release manifest gives tool and ruleset digests with an Ed25519 signature.
Endpoints
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /me | The user, organization and role the key belongs to. | Read key |
| GET | /notifications | Notifications. | Read key |
| POST | /notifications | Marks all notifications as read. | Read key |
| GET | /push/identity | The user’s identity hash for the mobile notification SDK’s login call (user session only). | User session |
| GET | /tasks | The organization’s tasks. | Read key |
| POST | /tasks | Changes a task’s status. | Write key |
| POST | /auth/login | Mobile sign-in: gets a session token with email, password and a verification code if set. | Not needed |
| POST | /auth/oauth | Mobile Google or Apple sign-in: gets a session token with the provider’s ID token; repeat with a code if two-step verification is on. | Not needed |
| POST | /auth/register | Mobile sign-up: creates an account with name, email, password and consent, and returns a session token. | Not needed |
| POST | /auth/forgot | Requests a password reset link by email; the response is the same whether or not the account exists. | Not needed |
| POST | /auth/reset | Sets a new password with the token from the reset link; open sessions are signed out. | Not needed |
| POST | /auth/verify | Verifies the email address with the token from the verification link. | Not needed |
| POST | /auth/handoff | Gives a one-time, two-minute link that opens a browser-only task (Google connection consent, data export or report PDF) in the in-app browser. | User session |
| GET | /auth/providers | Sign-in providers enabled on the server (Google, Apple); no authentication needed. | Not needed |
| POST | /auth/logout | Ends the mobile session. | User session |
| POST | /me/profile | Updates the name and language preference. | User session |
| POST | /me/password | Changes the password; other sessions are signed out. | User session |
| POST | /me/mfa | Sets up, confirms or turns off two-step verification. | User session |
| DELETE | /me/sessions | Signs out all sessions except this device. | User session |
| GET | /me/alerts | Returns which alert emails you receive: groups and minimum severity. | User session |
| POST | /me/alerts | Saves which alert emails you receive: groups and minimum severity. | User session |
| POST | /me/org | Switches the active organization. | User session |
| POST | /me/delete | Permanently deletes the account (mobile session, password and a verification code if set). | User session |
| GET | /manifest | Signed release manifest (Ed25519); no authentication needed. | Not needed |
| GET | /assets | Lists the organization’s site and app assets with their latest score. | Read key |
| POST | /assets | Creates a new asset: a name and a site or app URL are required. | Write key |
| POST | /assets/{id} | Updates an asset (name, addresses, goal, type, language, country, description, keywords) or deletes it with all its data. | User session |
| GET | /assets/{id} | The latest crawl, score and findings. | Read key |
| GET | /assets/{id}/seo.md | The latest crawl’s open issues with suggested code, as Markdown (for AI coding assistants). | Read key |
| GET | /assets/{id}/fixes | Fix proposals: before and after text, steps and status. | Read key |
| POST | /fixes | Approves, rejects or rolls back a fix proposal (owner or admin session). | User session |
| GET | /assets/{id}/logs | Bot visits over the last 30 days, per day and bot. | Read key |
| POST | /assets/{id}/logs | Sends a server log (Combined Log Format, up to 5 MB); bot visits are counted. | Write key |
| POST | /assets/{id}/gate | Release gate: evaluates the latest crawl against your policy; read-only, for CI jobs. | Read key |
| GET | /assets/{id}/aso.md | App Store and Google Play checks as Markdown. | Read key |
| GET | /graph | Knowledge graph: brands, sites, competitors, topics, queries and AI engines. | Read key |
| GET | /events | The organization’s event stream, paged with a cursor. | Read key |
| POST | /tasks/import | Imports tasks from CSV (up to 200 rows); dryRun only checks. | Write key |
| POST | /assets/{id}/scans | Starts a crawl; it doesn’t change anything on the site. | Write key |
| POST | /keys | Creates an organization API key (shown only once) or revokes one. | User session |
| POST | /team | Manages the team: change roles, remove members, revoke invitations or leave the organization. | User session |
| POST | /team/invites | Invites a member to the organization by email (admin, member or viewer role). | User session |
| POST | /team/accept | Accepts a team invitation with its token; only the invited address can accept it. | User session |
| GET | /app-config | Mobile app configuration; no authentication needed. | Not needed |
| GET | /usage | Plan, limits, this month’s usage (AI credits, crawled pages, assets, seats) and subscription status. | Read key |
| POST | /copilot | Copilot chat; needs a user session and uses AI credits. | User session |
| GET | /assets/{id}/uptime | Uptime: up/down status, 24-hour, 7-day and 30-day rates, response time, SSL expiry and outages. | Read key |
| GET | /assets/{id}/keywords | Tracked keywords: Search Console average position, change, clicks, impressions and Bing position. | Read key |
| POST | /assets/{id}/keywords | Adds keywords (up to 50; the plan limit applies). | Write key |
| GET | /assets/{id}/pagespeed | Latest PageSpeed Insights measurements: four scores, lab and real user metrics, Core Web Vitals and failed audits. | Read key |
| POST | /assets/{id}/pagespeed | Measures a page with PageSpeed Insights now (once every 10 minutes per site). | Write key |
| POST | /assets/{id}/pagespeed/tasks | Creates a task from a failed PageSpeed audit. | Write key |
| GET | /billing/catalog | In-app purchase products and store availability. | Not needed |
| POST | /billing/store | Verifies an in-app purchase and applies it to the organization. | Write key |
| GET | /app/site-menu | The mobile app’s public site menu (no sign-in). | Not needed |
| GET | /app/site-screen | A public site screen for the mobile app: pages and free tools. | Not needed |
| POST | /app/subscribe | Subscribes to the SEO newsletter from the app (double opt-in). | Not needed |
| GET | /app/menu | The mobile app’s server-driven tools menu. | Read key |
| GET | /app/screen | A server-driven screen definition for the mobile app (list of blocks). | Read key |
| GET | /research/keywords | Keyword research: volume, difficulty, CPC, intent, 12-month trend; related keywords, questions and suggestions (estimated data). | Read key |
| GET | /research/domain | Domain research: estimated organic traffic, ranking keywords, top pages and organic competitors. | Read key |
| GET | /assets/{id}/prompts | Prompt Lab: tracked prompts and the latest result per engine. | Read key |
| POST | /assets/{id}/prompts | Adds a Prompt Lab question. | Write key |
| POST | /assets/{id}/verify | Verifies site ownership with a meta tag, a file or a DNS record. | Write key |
| POST | /assets/{id}/status-page | Turns the public uptime status page on or off. | Write key |
| POST | /me/lessons | Marks a learning center lesson as done or not done. | User session |
Examples
List your assets
curl -H "Authorization: Bearer $GETSEOHIT_API_KEY" \ https://getseohit.com/api/v1/assets
Start a crawl (with an Idempotency-Key so the same request isn’t processed twice)
curl -X POST -H "Authorization: Bearer $GETSEOHIT_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ https://getseohit.com/api/v1/assets/ASSET_ID/scans
Release gate in a CI job: the job fails if the score is below 80 or there’s a critical finding
curl -fsS -X POST -H "Authorization: Bearer $GETSEOHIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"minScore":80,"failOn":["critical"]}' \
https://getseohit.com/api/v1/assets/ASSET_ID/gate | jq -e '.pass'Give your AI coding assistant the open issues as Markdown
curl -H "Authorization: Bearer $GETSEOHIT_API_KEY" \ "https://getseohit.com/api/v1/assets/ASSET_ID/seo.md?lang=en" > seo.md
Error responses
Errors come back as { "error": "code" }. The code is machine-readable, not prose.
| 400 | invalid | The request body or a parameter is invalid. |
|---|---|---|
| 401 | unauthorized | The key is missing, invalid or revoked. |
| 402 | credits_out | This month’s AI credits are used up; they renew at the start of the month. |
| 403 | forbidden | The key’s access isn’t enough for this action (for example, writing with a read key). |
| 403 | limit, app_limit | A plan limit is reached (assets, apps or seats). |
| 403 | user_required | The action needs a user session; an organization key isn’t accepted. |
| 404 | not_found | The record doesn’t exist or doesn’t belong to your organization. |
| 409 | conflict | The record can’t take this action right now (for example, a crawl is already running). |
| 429 | rate_limited | Too many requests; try again in a few seconds. |