XeoRank AI Visibility API
The ai-visibility API from XeoRank — 7 operation(s) for ai-visibility.
The ai-visibility API from XeoRank — 7 operation(s) for ai-visibility.
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-ai-visibility-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 AI Visibility API
version: 0.1.0
tags:
- name: ai-visibility
paths:
/ai-visibility/scan:
post:
tags:
- ai-visibility
summary: Run Scan
description: Kick off a grounded visibility scan. Returns immediately; poll the scan_id.
operationId: run_scan_ai_visibility_scan_post
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ScanRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Run Scan Ai Visibility Scan Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ai-visibility/prompts:
post:
tags:
- ai-visibility
summary: Get Prompt Pool
description: 'Return the pool of prompts to choose from for a scan.
Default reuses the site''s saved prompts (free); regenerate=true generates a
fresh candidate pool. Generation is a cheap Gemini call and is NOT metered —
only running a scan against the paid engines consumes quota.'
operationId: get_prompt_pool_ai_visibility_prompts_post
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PromptsRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Get Prompt Pool Ai Visibility Prompts Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ai-visibility/list:
get:
tags:
- ai-visibility
summary: List Scans
description: 'List visibility scans, newest first, optionally scoped to one site.
site_id is filtered here rather than by the caller: the column is indexed
(ix_visibility_scans_site_created) and LIMIT is applied in SQL, so filtering
after the fact would return the newest N scans across every site and then
discard most of them.'
operationId: list_scans_ai_visibility_list_get
security:
- APIKeyHeader: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 25
title: Limit
- 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 List Scans Ai Visibility List Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ai-visibility/sources:
get:
tags:
- ai-visibility
summary: Get Sources
description: 'Which external domains do AI engines cite for this site''s topics?
These are the sites the engines already trust — i.e. the backlink targets.'
operationId: get_sources_ai_visibility_sources_get
security:
- APIKeyHeader: []
parameters:
- name: site_id
in: query
required: true
schema:
type: string
title: Site Id
- name: days
in: query
required: false
schema:
type: integer
maximum: 365
minimum: 1
default: 30
title: Days
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 25
title: Limit
- 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 Get Sources Ai Visibility Sources Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ai-visibility/{scan_id}:
get:
tags:
- ai-visibility
summary: Get Scan
operationId: get_scan_ai_visibility__scan_id__get
security:
- APIKeyHeader: []
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
- 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 Get Scan Ai Visibility Scan Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ai-visibility/outreach/discover-contacts:
post:
tags:
- ai-visibility
summary: Outreach Discover Contacts
operationId: outreach_discover_contacts_ai_visibility_outreach_discover_contacts_post
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DiscoverContactsRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Outreach Discover Contacts Ai Visibility Outreach Discover Contacts Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/ai-visibility/outreach/draft:
post:
tags:
- ai-visibility
summary: Outreach Draft
operationId: outreach_draft_ai_visibility_outreach_draft_post
security:
- APIKeyHeader: []
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/api__routers__ai_visibility__DraftRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Outreach Draft Ai Visibility Outreach Draft Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PromptsRequest:
properties:
site_id:
type: string
title: Site Id
regenerate:
type: boolean
title: Regenerate
default: false
count:
type: integer
title: Count
default: 8
type: object
required:
- site_id
title: PromptsRequest
ScanRequest:
properties:
site_id:
type: string
title: Site Id
query:
anyOf:
- type: string
- type: 'null'
title: Query
providers:
anyOf:
- items:
type: string
enum:
- gemini
- openai
- anthropic
- perplexity
- grok
type: array
- type: 'null'
title: Providers
regenerate:
type: boolean
title: Regenerate
default: false
prompts:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Prompts
type: object
required:
- site_id
title: ScanRequest
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
api__routers__ai_visibility__DraftRequest:
properties:
site_id:
type: string
title: Site Id
target_domain:
type: string
title: Target Domain
contact_email:
type: string
title: Contact Email
scan_id:
anyOf:
- type: string
- type: 'null'
title: Scan Id
type: object
required:
- site_id
- target_domain
- contact_email
title: DraftRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DiscoverContactsRequest:
properties:
site_id:
type: string
title: Site Id
domains:
items:
type: string
type: array
title: Domains
type: object
required:
- site_id
- domains
title: DiscoverContactsRequest
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-Agent-Key