Map URLs
Changed onDiscover a site's URLs, with page titles, descriptions, keywords, and language when available. Metadata can be missing on newly discovered URLs.
Request
- Base URL: https://api.context.dev/v1
- URL: https://api.context.dev/v1/web/urls
- Auth: HTTP bearer
Query parameters
Domain to map, e.g. stripe.com.
Include URLs on subdomains.
Maximum number of URLs to return.
Fetch this sitemap instead of discovering sitemaps. Must belong to the domain or a subdomain.
Regex pattern. Only URLs matching this pattern are returned and counted against maxLinks.
Regex pattern. URLs matching this pattern are not returned, even when they match urlRegex.
Filter URLs by a topic or phrase, most relevant first.
HTTP headers for the target origin. Non-empty headers bypass caching.
enabled turns on zero data retention. Returns 403 ZDR_NOT_ENABLED unless your organization has ZDR.
Labels for filtering usage in the dashboard.
Comma-separated labels for filtering usage, e.g. production,team-alpha.
[ "production", "team-alpha" ]
Response
Discovered URLs with available page metadata
Example response
{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"
}Changes
- warning
added the new
NO_PUBLISHED_MARKDOWNenum value to theresponse property for the response status - warning
added the new
NO_PUBLISHED_MARKDOWNenum value to theresponse property for the response status - warning
added the new
NO_PUBLISHED_MARKDOWNenum value to theresponse property for the response status - warning
added the new
NO_PUBLISHED_MARKDOWNenum value to theresponse property for the response status
- warning
- info
added the new optional
queryrequest parameterexcludeUrlRegex
- info