logo
Web ScrapingExtract Sitemap URLs

Extract Sitemap URLs

Extract URLs from a website's sitemap.

Pricing: 1 credit per call

curl -X POST "https://v3-api.texau.com/api/v1/web_sitemap" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "url": "https://example.com",
  "max_urls": 42,
  "cache": true
}'
{
  "data": {
    "urls": [
      "example_string"
    ],
    "total_count": 10,
    "source": "example_string"
  },
  "meta": {
    "cache_hit": true,
    "execution_time_ms": 42
  }
}
POST
/web_sitemap
POST
API Key (header: x-api-key)
x-api-keystring
Required

Your TexAu API key. Contact TexAu to obtain one.

Your TexAu API key. Contact TexAu to obtain one.
Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring
Required

Website URL to extract sitemap from

max_urlsinteger

Maximum number of URLs to return

Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

API Key for authentication. Your TexAu API key. Contact TexAu to obtain one.

Body

application/json
urlstring
Required

Website URL to extract sitemap from

max_urlsinteger

Maximum number of URLs to return

Responses

dataobject
metaobject