Developer Documentation
Build, integrate, and scale your sitemap generation with our robust REST API, official SDKs, and real-time webhooks. Designed for reliability and developer experience.
Quick Start #
Get up and running in under 3 minutes. Install our CLI or use any HTTP client to start managing your sitemaps.
Once initialized, run sitemap sync to crawl your domain and generate an optimized XML sitemap.
Authentication #
All API requests require authentication via Bearer tokens. Never expose your secret keys in client-side code.
- API Key: Use your secret key from the Dashboard Settings. Prefixed with
sm_sk_ - Webhook Secrets: Used to verify payloads sent to your endpoints
- OAuth 2.0: Available for enterprise integrations requiring user-level consent
Rate Limits #
Our API uses a sliding window rate limit algorithm. Limits vary by tier:
| Plan | Requests/min | Concurrent Crawls |
|---|---|---|
| Starter | 60 | 1 |
| Professional | 300 | 5 |
| Enterprise | Unlimited | Custom |
When rate limited, the API returns 429 Too Many Requests with a Retry-After header. Implement exponential backoff for resilience.
Core Endpoints #
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/sitemaps | List all active sitemaps |
| POST | /v1/sitemaps | Create & configure a new sitemap |
| GET | /v1/sitemaps/:id | Fetch sitemap status & metadata |
| POST | /v1/sitemaps/:id/submit | Push to search engines instantly |
| DEL | /v1/sitemaps/:id | Archive & delete sitemap |
Webhooks #
Receive real-time notifications when sitemaps are updated, indexed, or when crawl errors occur.
SDK Examples #
Official libraries for JavaScript and Python. Full type definitions included.