XeoRank Admin API
The admin API from XeoRank — 13 operation(s) for admin.
The admin API from XeoRank — 13 operation(s) for admin.
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/xeorank-com:xeorank-com-admin-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: SEO Intelligence Engine Admin API
version: 0.1.0
tags:
- name: Admin
paths:
/admin/sites:
get:
tags:
- Admin
summary: Get User Sites
operationId: get_user_sites_admin_sites_get
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SiteOut'
title: Response Get User Sites Admin Sites Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/gsc/access:
get:
tags:
- Admin
summary: Get Search Console Access
operationId: get_search_console_access_admin_gsc_access_get
security:
- APIKeyHeader: []
parameters:
- name: site
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SearchConsoleAccessResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/gsc/properties:
get:
tags:
- Admin
summary: Gsc Properties
description: 'List the Search Console properties this user''s Google account can see.
Exists to answer the question a failed sync raises and never answered: the
sync says "devfi.com not found in your Search Console", and the user has no
way to tell whether it is spelled differently there (sc-domain:x.com vs
https://x.com/), lives in another Google account, or was never added. Those
need three different actions; without this list every one of them looked
like the same dead end.'
operationId: gsc_properties_admin_gsc_properties_get
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
- name: site_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Gsc Properties Admin Gsc Properties Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/gsc/disconnect:
post:
tags:
- Admin
summary: Disconnect Gsc Account
description: Remove only this user's shared GSC authorization; retain historical reports.
operationId: disconnect_gsc_account_admin_gsc_disconnect_post
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: true
schema:
type: string
title: Email
- name: site_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Disconnect Gsc Account Admin Gsc Disconnect Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/dataforseo/probe:
get:
tags:
- Admin
summary: Dataforseo Probe
description: 'One live SERP call with DataForSEO''s documented payload, reported raw.
Diagnostic only. Live SERP tasks have been rejected account-wide with
"40502 POST Data Is Empty" while our logged payload was fully populated, and
no tracked keyword on any brand has ever received a position. This isolates
the cause: if the documented minimal payload succeeds, our extra fields
(target, stop_crawl_on_match) are to blame; if it fails identically, the
endpoint is not available to this account. Costs one request.'
operationId: dataforseo_probe_admin_dataforseo_probe_get
security:
- APIKeyHeader: []
parameters:
- name: keyword
in: query
required: false
schema:
type: string
default: albert einstein
title: Keyword
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dataforseo Probe Admin Dataforseo Probe Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/dataforseo/serp-competitors-probe:
get:
tags:
- Admin
summary: Dataforseo Serp Competitors Probe
description: 'Competitor ranks across a brand''s TRACKED keywords — one request.
competitors_domain answers "who else ranks for what you already rank for",
which is noise for a small site. This asks the useful question instead: for
the keywords this brand TARGETS, who is ranking, and where.'
operationId: dataforseo_serp_competitors_probe_admin_dataforseo_serp_competitors_probe_get
security:
- APIKeyHeader: []
parameters:
- name: site_id
in: query
required: true
schema:
type: string
title: Site Id
- name: limit
in: query
required: false
schema:
type: integer
default: 15
title: Limit
- name: by_keyword
in: query
required: false
schema:
type: boolean
default: false
title: By Keyword
- name: top
in: query
required: false
schema:
type: integer
default: 10
title: Top
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dataforseo Serp Competitors Probe Admin Dataforseo Serp Competitors Probe Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/dataforseo/competitor-probe:
get:
tags:
- Admin
summary: Dataforseo Competitor Probe
description: 'Competitors + their keyword overlap, from Labs, in one call each.
Competitor discovery harvests SERPs one keyword at a time, so when live SERP
was rejected account-wide it produced nothing — leaving cogniswitch.ai with
zero competitors and an onboarding report with nothing in it. Labs answers
the same question directly and cheaply.'
operationId: dataforseo_competitor_probe_admin_dataforseo_competitor_probe_get
security:
- APIKeyHeader: []
parameters:
- name: domain
in: query
required: true
schema:
type: string
title: Domain
- name: limit
in: query
required: false
schema:
type: integer
default: 10
title: Limit
- name: location_code
in: query
required: false
schema:
type: integer
default: 2840
title: Location Code
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dataforseo Competitor Probe Admin Dataforseo Competitor Probe Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/dataforseo/ranked-probe:
get:
tags:
- Admin
summary: Dataforseo Ranked Probe
description: 'Can we get rank from ONE Labs call instead of N live SERP calls?
check_rankings currently issues one live SERP request per tracked keyword —
53 requests, ~$0.82, 7.5 minutes, and a rate rejection if paced too fast.
fetch_domain_ranked_keywords asks the Labs endpoint for everything a domain
ranks for in a single request at ~$0.05. It has existed in the codebase with
ZERO callers.
This checks whether that path actually returns positions for this account.
If it does, it replaces the fan-out entirely and takes the DB-session
problem with it, since the call finishes in seconds.'
operationId: dataforseo_ranked_probe_admin_dataforseo_ranked_probe_get
security:
- APIKeyHeader: []
parameters:
- name: domain
in: query
required: true
schema:
type: string
title: Domain
- name: limit
in: query
required: false
schema:
type: integer
default: 100
title: Limit
- name: location_code
in: query
required: false
schema:
type: integer
default: 2840
title: Location Code
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dataforseo Ranked Probe Admin Dataforseo Ranked Probe Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/sync:
post:
tags:
- Admin
summary: Sync Queries
operationId: sync_queries_admin_sync_post
security:
- APIKeyHeader: []
parameters:
- name: site
in: query
required: true
schema:
type: string
title: Site
- name: site_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site Id
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
- name: stub
in: query
required: false
schema:
type: boolean
default: false
title: Stub
- name: connect_only
in: query
required: false
schema:
type: boolean
default: false
title: Connect Only
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SyncResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/gsc/auth-url:
get:
tags:
- Admin
summary: Get Gsc Oauth Url
description: 'Return the Google OAuth authorization URL for Search Console.
CLI flow: `cli_port` is carried in state so the callback redirects back to the CLI.
Web flow: `origin` (frontend host) + `site_id` + the logged-in `user_email` are
signed into state so the callback returns the user to the right site AND attaches
the GSC token to THEIR account — even for email/OTP users whose Google (used for the
GSC consent) isn''t their login. `user_email` must be HMAC-signed with AGENT_API_KEY
(only the frontend, which holds that key, can vouch for a logged-in identity).'
operationId: get_gsc_oauth_url_admin_gsc_auth_url_get
parameters:
- name: cli_port
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Cli Port
- name: origin
in: query
required: false
schema:
type: string
default: ''
title: Origin
- name: site_id
in: query
required: false
schema:
type: string
default: ''
title: Site Id
- name: return_to
in: query
required: false
schema:
type: string
default: ''
title: Return To
- name: user_email
in: query
required: false
schema:
type: string
default: ''
title: User Email
- name: user_sig
in: query
required: false
schema:
type: string
default: ''
title: User Sig
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthURLResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/gsc/callback:
get:
tags:
- Admin
summary: Gsc Oauth Callback
description: 'Exchange OAuth authorization code for tokens.
If state contains a cli_port, also fetches the user profile,
creates/updates the user, issues a personal API key, and redirects
to the local CLI server with the key and user info.'
operationId: gsc_oauth_callback_admin_gsc_callback_get
parameters:
- name: code
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Code
- name: state
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: State
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/ga4/audit-domain-mismatches:
get:
tags:
- Admin
summary: Ga4 Audit Domain Mismatches
description: 'Sweep active GA4 connections for the 2026-09-12 incident class: a
connection whose data stream''s own GA4 "Default URI" doesn''t match the
brand it''s attached to (found live on a real account — see
api/services/google_analytics.ga4_stream_domain_mismatch).
Existing connections predate that guardrail and were never re-checked —
this is the one-time backfill/detection sweep, not something that runs
automatically. Read-only by default; pass apply=true to persist findings
onto each GaConnection row so ga_status starts warning on them too.'
operationId: ga4_audit_domain_mismatches_admin_ga4_audit_domain_mismatches_get
security:
- APIKeyHeader: []
parameters:
- name: apply
in: query
required: false
schema:
type: boolean
description: If true, persist stream_default_uri/domain_mismatch on each checked connection. Default is a dry-run report only.
default: false
title: Apply
description: If true, persist stream_default_uri/domain_mismatch on each checked connection. Default is a dry-run report only.
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
default: 200
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Ga4 Audit Domain Mismatches Admin Ga4 Audit Domain Mismatches Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/rank-checks/run:
post:
tags:
- Admin
summary: Run Rank Checks Ep
description: 'Run the due rank checks (scheduler and local runner both call this).
Defaults to ``dry_run`` so a stray call costs nothing: it reports what it
WOULD check and why it skips the rest. ``force`` ignores the cadence and
plan gates for one named site — for a support request, not for a sweep.'
operationId: run_rank_checks_ep_admin_rank_checks_run_post
security:
- APIKeyHeader: []
parameters:
- name: dry_run
in: query
required: false
schema:
type: boolean
default: true
title: Dry Run
- name: limit_keywords
in: query
required: false
schema:
type: integer
maximum: 20000
minimum: 1
default: 1000
title: Limit Keywords
- name: cadence_days
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 90
minimum: 1
- type: 'null'
title: Cadence Days
- name: site_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site Id
- name: force
in: query
required: false
schema:
type: boolean
default: false
title: Force
- name: explicit_schedules_only
in: query
required: false
schema:
type: boolean
default: false
title: Explicit Schedules Only
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Run Rank Checks Ep Admin Rank Checks Run Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
SearchConsoleAccessResponse:
properties:
site:
anyOf:
- type: string
- type: 'null'
title: Site
sync_mode:
type: string
enum:
- stub
- oauth-ready
- service-account-ready
- connected
title: Sync Mode
current_status:
type: string
title: Current Status
synced_queries:
type: integer
title: Synced Queries
default: 0
required_steps:
items:
type: string
type: array
title: Required Steps
configured_redirect_uri:
anyOf:
- type: string
- type: 'null'
title: Configured Redirect Uri
service_account_email:
anyOf:
- type: string
- type: 'null'
title: Service Account Email
oauth_client_configured:
type: boolean
title: Oauth Client Configured
default: false
type: object
required:
- sync_mode
- current_status
title: SearchConsoleAccessResponse
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
SiteOut:
properties:
id:
type: string
title: Id
domain:
type: string
title: Domain
legacy_brand_ids:
items:
type: string
type: array
title: Legacy Brand Ids
logo_url:
anyOf:
- type: string
- type: 'null'
title: Logo Url
favicon_url:
anyOf:
- type: string
- type: 'null'
title: Favicon Url
already_exists:
type: boolean
title: Already Exists
default: false
org_id:
anyOf:
- type: string
- type: 'null'
title: Org Id
organization_name:
anyOf:
- type: string
- type: 'null'
title: Organization Name
owner_user_id:
anyOf:
- type: string
- type: 'null'
title: Owner User Id
owner_email:
anyOf:
- type: string
- type: 'null'
title: Owner Email
can_admin:
type: boolean
title: Can Admin
default: false
gsc_url:
anyOf:
- type: string
- type: 'null'
title: Gsc Url
synced_queries:
type: integer
title: Synced Queries
default: 0
wp_connected:
type: boolean
title: Wp Connected
default: false
framer_connected:
type: boolean
title: Framer Connected
default: false
gsc_connected:
type: boolean
title: Gsc Connected
default: false
gsc_status:
anyOf:
- type: string
- type: 'null'
title: Gsc Status
shopify_connected:
type: boolean
title: Shopify Connected
default: false
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- domain
- created_at
title: SiteOut
OAuthURLResponse:
properties:
auth_url:
type: string
title: Auth Url
type: object
required:
- auth_url
title: OAuthURLResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
SyncResponse:
properties:
synced_queries:
type: integer
title: Synced Queries
site:
anyOf:
- type: string
- type: 'null'
title: Site
warning:
anyOf:
- type: string
- type: 'null'
title: Warning
type: object
required:
- synced_queries
title: SyncResponse
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-Agent-Key