Accounts are open: add your site and see your first audit right away.Start for free

GetSeoHit

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

MethodPathWhat it doesAccess
GET/meThe user, organization and role the key belongs to.Read key
GET/notificationsNotifications.Read key
POST/notificationsMarks all notifications as read.Read key
GET/push/identityThe user’s identity hash for the mobile notification SDK’s login call (user session only).User session
GET/tasksThe organization’s tasks.Read key
POST/tasksChanges a task’s status.Write key
POST/auth/loginMobile sign-in: gets a session token with email, password and a verification code if set.Not needed
POST/auth/oauthMobile 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/registerMobile sign-up: creates an account with name, email, password and consent, and returns a session token.Not needed
POST/auth/forgotRequests a password reset link by email; the response is the same whether or not the account exists.Not needed
POST/auth/resetSets a new password with the token from the reset link; open sessions are signed out.Not needed
POST/auth/verifyVerifies the email address with the token from the verification link.Not needed
POST/auth/handoffGives 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/providersSign-in providers enabled on the server (Google, Apple); no authentication needed.Not needed
POST/auth/logoutEnds the mobile session.User session
POST/me/profileUpdates the name and language preference.User session
POST/me/passwordChanges the password; other sessions are signed out.User session
POST/me/mfaSets up, confirms or turns off two-step verification.User session
DELETE/me/sessionsSigns out all sessions except this device.User session
GET/me/alertsReturns which alert emails you receive: groups and minimum severity.User session
POST/me/alertsSaves which alert emails you receive: groups and minimum severity.User session
POST/me/orgSwitches the active organization.User session
POST/me/deletePermanently deletes the account (mobile session, password and a verification code if set).User session
GET/manifestSigned release manifest (Ed25519); no authentication needed.Not needed
GET/assetsLists the organization’s site and app assets with their latest score.Read key
POST/assetsCreates 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.mdThe latest crawl’s open issues with suggested code, as Markdown (for AI coding assistants).Read key
GET/assets/{id}/fixesFix proposals: before and after text, steps and status.Read key
POST/fixesApproves, rejects or rolls back a fix proposal (owner or admin session).User session
GET/assets/{id}/logsBot visits over the last 30 days, per day and bot.Read key
POST/assets/{id}/logsSends a server log (Combined Log Format, up to 5 MB); bot visits are counted.Write key
POST/assets/{id}/gateRelease gate: evaluates the latest crawl against your policy; read-only, for CI jobs.Read key
GET/assets/{id}/aso.mdApp Store and Google Play checks as Markdown.Read key
GET/graphKnowledge graph: brands, sites, competitors, topics, queries and AI engines.Read key
GET/eventsThe organization’s event stream, paged with a cursor.Read key
POST/tasks/importImports tasks from CSV (up to 200 rows); dryRun only checks.Write key
POST/assets/{id}/scansStarts a crawl; it doesn’t change anything on the site.Write key
POST/keysCreates an organization API key (shown only once) or revokes one.User session
POST/teamManages the team: change roles, remove members, revoke invitations or leave the organization.User session
POST/team/invitesInvites a member to the organization by email (admin, member or viewer role).User session
POST/team/acceptAccepts a team invitation with its token; only the invited address can accept it.User session
GET/app-configMobile app configuration; no authentication needed.Not needed
GET/usagePlan, limits, this month’s usage (AI credits, crawled pages, assets, seats) and subscription status.Read key
POST/copilotCopilot chat; needs a user session and uses AI credits.User session
GET/assets/{id}/uptimeUptime: up/down status, 24-hour, 7-day and 30-day rates, response time, SSL expiry and outages.Read key
GET/assets/{id}/keywordsTracked keywords: Search Console average position, change, clicks, impressions and Bing position.Read key
POST/assets/{id}/keywordsAdds keywords (up to 50; the plan limit applies).Write key
GET/assets/{id}/pagespeedLatest PageSpeed Insights measurements: four scores, lab and real user metrics, Core Web Vitals and failed audits.Read key
POST/assets/{id}/pagespeedMeasures a page with PageSpeed Insights now (once every 10 minutes per site).Write key
POST/assets/{id}/pagespeed/tasksCreates a task from a failed PageSpeed audit.Write key
GET/billing/catalogIn-app purchase products and store availability.Not needed
POST/billing/storeVerifies an in-app purchase and applies it to the organization.Write key
GET/app/site-menuThe mobile app’s public site menu (no sign-in).Not needed
GET/app/site-screenA public site screen for the mobile app: pages and free tools.Not needed
POST/app/subscribeSubscribes to the SEO newsletter from the app (double opt-in).Not needed
GET/app/menuThe mobile app’s server-driven tools menu.Read key
GET/app/screenA server-driven screen definition for the mobile app (list of blocks).Read key
GET/research/keywordsKeyword research: volume, difficulty, CPC, intent, 12-month trend; related keywords, questions and suggestions (estimated data).Read key
GET/research/domainDomain research: estimated organic traffic, ranking keywords, top pages and organic competitors.Read key
GET/assets/{id}/promptsPrompt Lab: tracked prompts and the latest result per engine.Read key
POST/assets/{id}/promptsAdds a Prompt Lab question.Write key
POST/assets/{id}/verifyVerifies site ownership with a meta tag, a file or a DNS record.Write key
POST/assets/{id}/status-pageTurns the public uptime status page on or off.Write key
POST/me/lessonsMarks 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.

400invalidThe request body or a parameter is invalid.
401unauthorizedThe key is missing, invalid or revoked.
402credits_outThis month’s AI credits are used up; they renew at the start of the month.
403forbiddenThe key’s access isn’t enough for this action (for example, writing with a read key).
403limit, app_limitA plan limit is reached (assets, apps or seats).
403user_requiredThe action needs a user session; an organization key isn’t accepted.
404not_foundThe record doesn’t exist or doesn’t belong to your organization.
409conflictThe record can’t take this action right now (for example, a crawl is already running).
429rate_limitedToo many requests; try again in a few seconds.