githubEdit

POST v1/site/map

This endpoint creates a new site mapping request and returns the result.

Create a new sitemap request

post

This endpoint processes a website's sitemap and returns all URLs found within it.

Authorizations
X-API-KeystringRequired
Body
urlstringOptional

The url you want our sitemap reader to process on your behalf

max_cache_ageinteger · int32 · nullableOptional

Maximum cache age in seconds for this request. If a cached result exists within this timeframe, it will be returned. Default is 0 (no cache).

Responses
chevron-right
200

The sitemap request response detailing the URLs found

application/json
idstring · nullableOptional

ID of the sitemap request

urlstring · nullableOptional

URL of the request

statestring · nullableOptional

The status of the request

credit_usageinteger · int32 · nullableOptional

The number of credits used by the request

errorstring · nullableOptional

The name of the error type

error_reasonstring · nullableOptional

More detail about the error

from_cacheboolean · nullableOptional

If this request was served from the cache

started_atstring · date-timeOptional

The time in UTC when the request started.

completed_atstring · date-timeOptional

The time in UTC when the request finished.

running_timestring · timespanOptional

The running time of the request

linksstring[] · nullableOptional

List of URLs found in the sitemap

link_countinteger · int32 · nullableOptional

Number of links found

post
/v1/site/map

Last updated