API Reference
Build, manage, and push sitemaps to search engines programmatically. RESTful, JSON-native, and built for scale.
Authentication
All API requests require authentication via API Key. Include your key in the Authorization header using Bearer scheme.
Authorization: Bearer sk_live_7x9f2k4m1p8q3r5t6y0 Content-Type: application/json
Generate and rotate keys in your Dashboard → API Keys. Keys are scoped to projects and support granular permissions.
Sitemap Endpoints
Manage sitemap generation, updates, and downloads.
Triggers a full or incremental sitemap generation for a specified project.
Request Body
| Parameter | Type | Description |
|---|---|---|
project_idRequired | string | Unique project identifier |
typeOptional | string | Format: xml, html, or json. Default: xml |
max_urlsOptional | integer | Max URLs per file (50k recommended). Default: 50000 |
asyncOptional | boolean | Run generation in background. Default: false |
Example Request
{
"project_id": "proj_8x2m4k9p1q",
"type": "xml",
"async": true
}
Response
{
"id": "smap_9f3k2m1p",
"status": "completed",
"url": "https://cdn.sitemap.xml/v1/smap_9f3k2m1p.xml",
"urls_indexed": 12450,
"size_bytes": 892304,
"created_at": "2025-01-15T08:32:11Z"
}
Retrieve metadata and download links for a specific sitemap.
| Parameter | Type | Description |
|---|---|---|
:idRequired | string | Sitemap identifier |
includeOptional | string | Comma-separated: urls, stats |
Indexing Endpoints
Push URLs directly to search engine crawlers with priority routing.
Submits URLs for immediate crawling via Google Indexing API and Bing Webmaster Tools.
Request Body
| Parameter | Type | Description |
|---|---|---|
urlsRequired | string[] | Array of absolute URLs (max 100 per call) |
priorityOptional | string | standard, high, or urgent. Default: standard |
notifyOptional | boolean | Send webhook on completion. Default: false |
Response
{
"batch_id": "batch_3x7k9m2p",
"submitted": 45,
"estimated_crawl_time": "15-45 minutes",
"status": "processing"
}
Analytics Endpoints
Monitor crawl health, indexing status, and performance metrics.
Returns crawl activity and search engine indexing status over time.
| Parameter | Type | Description |
|---|---|---|
start_dateRequired | string | ISO 8601 date format |
end_dateRequired | string | ISO 8601 date format |
engineOptional | string | google, bing, all. Default: all |
Error Codes
The API uses standard HTTP status codes and returns detailed error objects.
{
"error": {
"code": "unauthorized",
"message": "Invalid API key. Ensure sk_live_... matches your active key.",
"docs_url": "https://docs.sitemap.xml/errors/401"
}
}
Rate Limits
API requests are limited per project to ensure fair usage and system stability.
| Plan | Requests / min | Concurrent Jobs | Burst Allowance |
|---|---|---|---|
| Starter | 60 | 2 | 10 |
| Professional | 600 | 20 | 100 |
| Enterprise | 6000+ | Unlimited | Custom |
Rate limit headers are included in every response:X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
SDKs & Libraries
Official client libraries for rapid integration.