SDK ReferenceTypeScript SDK

Sitemap

Discover URLs from a domain's sitemap or by crawling.

Sitemap

Discover URLs from a domain's sitemap or by crawling. Accessed via client.sitemap.

create

client.sitemap.create(opts: Record<string, unknown>): Promise<unknown>

POST /v1/sitemap — start a sitemap crawl

get

client.sitemap.get(id: SitemapId): Promise<unknown>

GET /v1/sitemap/{id} — get a sitemap job by ID

On this page