POST
Discover URLs for a website. By default the endpoint checks robots.txt for one or more sitemap URLs, follows sitemap indexes, and collects page URLs from sitemap XML (including .xml.gz files).

Authorization

Send your pline API key in the X-API-Key header on every request.

Body

string
required
Base website URL to discover URLs for.
any
default:"include"
Sitemap handling. include returns URLs found in the sitemap; skip skips the sitemap; only returns URLs from the sitemap exclusively.
boolean
default:"true"
Whether to include subdomains of the registrable domain. Set false to stay on the exact host.
boolean
default:"true"
Whether URLs with query parameters should be excluded.
boolean
default:"false"
Bypass cached discovery results and refresh discovery.
integer
default:"1000"
Maximum number of links to return (1–1,000,000).
integer
Optional overall request timeout in milliseconds.

Response

boolean
required
Whether discovery completed successfully.
Best-effort flat list of discovered URLs.

Response codes