XeoRank Site Crawl API
The site-crawl API from XeoRank — 11 operation(s) for site-crawl.
The site-crawl API from XeoRank — 11 operation(s) for site-crawl.
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-site-crawl-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 Site Crawl API
version: 0.1.0
tags:
- name: site-crawl
paths:
/site-crawl:
post:
tags:
- site-crawl
summary: Start Crawl
description: 'Create a queued crawl_jobs row. Execution is triggered separately
via Trigger.dev calling POST /site-crawl/{job_id}/_run, OR inline
via BackgroundTasks when ?immediate=1 is set.'
operationId: start_crawl_site_crawl_post
security:
- APIKeyHeader: []
parameters:
- name: immediate
in: query
required: false
schema:
type: boolean
description: If true, schedule a FastAPI BackgroundTask to run the crawl in-process. Used by the CLI (long-lived polling keeps the instance warm). The web UI leaves this false and triggers a Trigger.dev task instead.
default: false
title: Immediate
description: If true, schedule a FastAPI BackgroundTask to run the crawl in-process. Used by the CLI (long-lived polling keeps the instance warm). The web UI leaves this false and triggers a Trigger.dev task instead.
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
- name: X-Org-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Org-Id
- name: x-xyle-source
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Xyle-Source
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/StartSiteCrawlRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CrawlJobStatus'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- site-crawl
summary: List Crawl Jobs
operationId: list_crawl_jobs_site_crawl_get
security:
- APIKeyHeader: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 25
title: Limit
- name: site_id
in: query
required: false
schema:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Site Id
- 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/CrawlJobListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/continue:
post:
tags:
- site-crawl
summary: Continue Crawl Job
description: Extend a page-limited crawl and resume its persisted priority frontier.
operationId: continue_crawl_job_site_crawl__job_id__continue_post
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
- name: X-Org-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Org-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContinueSiteCrawlRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CrawlJobStatus'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/_fail:
post:
tags:
- site-crawl
summary: Fail Undispatched Crawl
description: Mark a job failed when the external worker could not be dispatched.
operationId: fail_undispatched_crawl_site_crawl__job_id___fail_post
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- name: reason
in: query
required: false
schema:
type: string
default: dispatch_failed
title: Reason
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Fail Undispatched Crawl Site Crawl Job Id Fail Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/_run:
post:
tags:
- site-crawl
summary: Run Crawl Inline
description: 'Synchronously execute a queued crawl. Called by the Trigger.dev
`site-crawl` task. Auth: agent key only (no user binding here — the
job row already has user_id and isolation is enforced on read).'
operationId: run_crawl_inline_site_crawl__job_id___run_post
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Run Crawl Inline Site Crawl Job Id Run Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}:
get:
tags:
- site-crawl
summary: Crawl Status
operationId: crawl_status_site_crawl__job_id__get
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- 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/CrawlJobStatus'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/pages:
get:
tags:
- site-crawl
summary: Crawl Pages
operationId: crawl_pages_site_crawl__job_id__pages_get
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 50
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
- name: filter
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Filter
- 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/CrawlPagesResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/overview:
get:
tags:
- site-crawl
summary: Crawl Overview
operationId: crawl_overview_site_crawl__job_id__overview_get
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job 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 Crawl Overview Site Crawl Job Id Overview Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/issues:
get:
tags:
- site-crawl
summary: Crawl Issues
operationId: crawl_issues_site_crawl__job_id__issues_get
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- name: severity
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Severity
- name: category
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Category
- name: group
in: query
required: false
schema:
anyOf:
- type: string
maxLength: 128
- type: 'null'
title: Group
- name: query
in: query
required: false
schema:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Query
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
default: 200
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
- 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/CrawlIssuesResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/issue-report:
get:
tags:
- site-crawl
summary: Issue Report
operationId: issue_report_site_crawl__job_id__issue_report_get
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job 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 Issue Report Site Crawl Job Id Issue Report Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/graph:
get:
tags:
- site-crawl
summary: Crawl Graph
operationId: crawl_graph_site_crawl__job_id__graph_get
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- 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/CrawlGraphResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/site-crawl/{job_id}/cancel:
post:
tags:
- site-crawl
summary: Cancel Crawl Job
operationId: cancel_crawl_job_site_crawl__job_id__cancel_post
security:
- APIKeyHeader: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- 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/CrawlJobStatus'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
SchemaFinding:
properties:
type:
type: string
title: Type
error:
type: string
title: Error
schema_type:
anyOf:
- type: string
- type: 'null'
title: Schema Type
property:
anyOf:
- type: string
- type: 'null'
title: Property
suggested_property:
anyOf:
- type: string
- type: 'null'
title: Suggested Property
missing_required:
items:
type: string
type: array
title: Missing Required
missing_recommended:
items:
type: string
type: array
title: Missing Recommended
severity:
anyOf:
- type: string
enum:
- error
- warning
- type: 'null'
title: Severity
additionalProperties: true
type: object
required:
- type
- error
title: SchemaFinding
CrawlPagesResponse:
properties:
pages:
items:
$ref: '#/components/schemas/CrawledPageSummary'
type: array
title: Pages
total:
type: integer
title: Total
default: 0
limit:
type: integer
title: Limit
default: 50
offset:
type: integer
title: Offset
default: 0
type: object
title: CrawlPagesResponse
CrawledPageSummary:
properties:
id:
type: string
title: Id
url:
type: string
title: Url
http_status:
anyOf:
- type: integer
- type: 'null'
title: Http Status
depth:
type: integer
title: Depth
default: 0
link_reachable:
anyOf:
- type: boolean
- type: 'null'
title: Link Reachable
title:
anyOf:
- type: string
- type: 'null'
title: Title
word_count:
type: integer
title: Word Count
default: 0
seo_score:
anyOf:
- type: number
- type: 'null'
title: Seo Score
aeo_score:
anyOf:
- type: number
- type: 'null'
title: Aeo Score
geo_score:
anyOf:
- type: number
- type: 'null'
title: Geo Score
indexable:
type: boolean
title: Indexable
default: true
issues_count:
type: integer
title: Issues Count
default: 0
error:
anyOf:
- type: string
- type: 'null'
title: Error
checks_unavailable:
items:
type: string
type: array
title: Checks Unavailable
page_type:
anyOf:
- type: string
enum:
- homepage
- about
- contact
- collection
- search_results
- profile
- article
- product
- service
- faq
- howto
- job_posting
- event
- recipe
- course
- dataset
- software
- medical
- webpage
- legal
- pricing
- auth
- support
- error
- type: 'null'
title: Page Type
page_type_confidence:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Page Type Confidence
judgments:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Judgments
rich_result_eligibility:
items:
additionalProperties: true
type: object
type: array
title: Rich Result Eligibility
schema_validation_errors:
items:
$ref: '#/components/schemas/SchemaFinding'
type: array
title: Schema Validation Errors
schema_validation_warnings:
items:
$ref: '#/components/schemas/SchemaFinding'
type: array
title: Schema Validation Warnings
schema_property_checklist:
items:
additionalProperties: true
type: object
type: array
title: Schema Property Checklist
schema_profile_verdict:
anyOf:
- type: string
enum:
- valid
- valid_with_warnings
- invalid
- missing
- not_applicable
- type: 'null'
title: Schema Profile Verdict
rich_results_verdict:
anyOf:
- type: string
- type: 'null'
title: Rich Results Verdict
rich_results_items:
items:
additionalProperties: true
type: object
type: array
title: Rich Results Items
type: object
required:
- id
- url
title: CrawledPageSummary
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
CrawlJobStatus:
properties:
job_id:
type: string
title: Job Id
seed_url:
type: string
title: Seed Url
status:
type: string
enum:
- queued
- running
- completed
- partial
- failed
- cancelled
title: Status
stage:
type: string
title: Stage
default: queued
status_detail:
anyOf:
- type: string
- type: 'null'
title: Status Detail
pages_crawled:
type: integer
title: Pages Crawled
default: 0
pages_discovered:
type: integer
title: Pages Discovered
default: 0
counts:
anyOf:
- $ref: '#/components/schemas/CrawlCounts'
- type: 'null'
errors_count:
type: integer
title: Errors Count
default: 0
health_score:
anyOf:
- type: number
- type: 'null'
title: Health Score
health_breakdown:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Health Breakdown
coverage:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Coverage
error_message:
anyOf:
- type: string
- type: 'null'
title: Error Message
retry_count:
type: integer
title: Retry Count
default: 0
last_heartbeat_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Heartbeat At
dispatch_required:
type: boolean
title: Dispatch Required
default: false
started_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Started At
finished_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Finished At
created_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created At
type: object
required:
- job_id
- seed_url
- status
title: CrawlJobStatus
CrawlCounts:
properties:
fetched_pages:
type: integer
title: Fetched Pages
default: 0
recorded_urls:
type: integer
title: Recorded Urls
default: 0
not_fetched_urls:
type: integer
title: Not Fetched Urls
default: 0
type: object
title: CrawlCounts
ContinueSiteCrawlRequest:
properties:
additional_pages:
type: integer
maximum: 5000.0
minimum: 1.0
title: Additional Pages
default: 500
type: object
title: ContinueSiteCrawlRequest
CrawlGraphResponse:
properties:
nodes:
items:
$ref: '#/components/schemas/CrawlGraphNode'
type: array
title: Nodes
edges:
items:
$ref: '#/components/schemas/CrawlGraphEdge'
type: array
title: Edges
type: object
title: CrawlGraphResponse
CrawlIssuesResponse:
properties:
issues:
items:
$ref: '#/components/schemas/CrawlIssueOut'
type: array
title: Issues
counts_by_severity:
additionalProperties:
type: integer
type: object
title: Counts By Severity
counts_by_category:
additionalProperties:
type: integer
type: object
title: Counts By Category
total:
type: integer
title: Total
default: 0
limit:
type: integer
title: Limit
default: 200
offset:
type: integer
title: Offset
default: 0
type: object
title: CrawlIssuesResponse
CrawlJobListResponse:
properties:
jobs:
items:
$ref: '#/components/schemas/CrawlJobStatus'
type: array
title: Jobs
type: object
title: CrawlJobListResponse
CrawlGraphNode:
properties:
id:
type: string
title: Id
url:
type: string
title: Url
depth:
type: integer
title: Depth
status:
anyOf:
- type: integer
- type: 'null'
title: Status
score:
anyOf:
- type: number
- type: 'null'
title: Score
type: object
required:
- id
- url
- depth
title: CrawlGraphNode
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
StartSiteCrawlRequest:
properties:
seed_url:
type: string
title: Seed Url
site_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Site Id
config:
anyOf:
- $ref: '#/components/schemas/SiteCrawlConfig'
- type: 'null'
type: object
required:
- seed_url
title: StartSiteCrawlRequest
CrawlGraphEdge:
properties:
source:
type: string
title: Source
target:
type: string
title: Target
anchor:
anyOf:
- type: string
- type: 'null'
title: Anchor
type: object
required:
- source
- target
title: CrawlGraphEdge
SiteCrawlConfig:
properties:
max_pages:
type: integer
maximum: 5000.0
minimum: 1.0
title: Max Pages
default: 500
max_depth:
type: integer
maximum: 20.0
minimum: 1.0
title: Max Depth
default: 8
render_js:
type: boolean
title: Render Js
default: false
include_subdomains:
type: boolean
title: Include Subdomains
default: false
type: object
title: SiteCrawlConfig
description: "Public site-crawl config.\n\nSeveral fields are intentionally *not* exposed:\n- ``user_agent`` cannot be overridden — the crawler always identifies as\n ``XeoRank-Crawler/<version>`` so target sites can identify and block us.\n- ``respect_robots`` is always true — a public, multi-tenant crawler\n must never ignore robots.txt. Removed from the surface entirely.\n\nDefaults cover a typical brand site while retaining a hard safety ceiling.\nA crawl that reaches either ceiling is reported as partial rather than\nsilently claiming complete coverage.\n``render_js`` defaults to False (Playwright is expensive); enable only\nwhen crawling JS-heavy SPAs."
CrawlIssueOut:
properties:
id:
type: string
title: Id
page_id:
anyOf:
- type: string
- type: 'null'
title: Page Id
category:
type: string
title: Category
severity:
type: string
title: Severity
message:
type: string
title: Message
page_url:
anyOf:
- type: string
- type: 'null'
title: Page Url
details:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Details
rule_id:
anyOf:
- type: string
- type: 'null'
title: Rule Id
evidence:
items:
additionalProperties: true
type: object
type: array
title: Evidence
actionable:
type: boolean
title: Actionable
default: true
type: object
required:
- id
- category
- severity
- message
title: CrawlIssueOut
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-Agent-Key