Skip to main content
POST
https://api.evergreens.ai
/
v1
/
networks
/
browser
/
sitemap
{
  "sort": "asc",
  "type": "relative",
  "urls": [
    "https://evergreen.media",
    "https://www.tirol.gv.at"
  ]
}
{
  "status": true,
  "data": {
    "isCached": false,
    "cacheExpiresIn": null,
    "results": {
      "https://evergreen.media": [
        "/ratgeber"
        // rest ...
      ],
      "https://www.tirol.gv.at": [
        "/arbeit-wirtschaft"
        // rest ...
      ]
    }
  }
}
Extract and manage website sitemaps efficiently using the Browser network component. Even when no sitemap.xml file is available or no sitemap entry exists in robots.txt, our system can intelligently discover and compile a comprehensive sitemap for the target website. Entity Reference:
SitemapEntity

Request

urls
string[]
required
An array of URLs from which to extract sitemap elements.
  • Minimum: 1 URL per request
  • Maximum: 10 URLs per request
sort
'asc' | 'desc'
default:"asc"
Specifies the sorting order of URLs in the sitemap.
  • 'asc' for ascending order (default)
  • 'desc' for descending order
type
'absolute' | 'relative'
default:"absolute"
Determines whether URLs are returned as absolute or relative paths.
  • 'absolute' for complete URLs (default), e.g., https://example.com/page
  • 'relative' for domain-relative paths, e.g., /page
cache
object
An optional object to configure caching behavior for the request. By default, caching is enabled with a TTL of 120 seconds. You can customize these settings by providing the cache object.

Response

isCached
boolean
default:true
Indicates whether the response was served from cache.
cacheExpiresIn
number
default:7200
The time in seconds until the cached response expires. Default is 7200 seconds (2 hours).
results
Record<URL,string[]>
required
A mapping of each URL to its extracted sitemap URLs. Each URL maps to an array of sitemap URLs discovered on that page.
{
  "sort": "asc",
  "type": "relative",
  "urls": [
    "https://evergreen.media",
    "https://www.tirol.gv.at"
  ]
}
{
  "status": true,
  "data": {
    "isCached": false,
    "cacheExpiresIn": null,
    "results": {
      "https://evergreen.media": [
        "/ratgeber"
        // rest ...
      ],
      "https://www.tirol.gv.at": [
        "/arbeit-wirtschaft"
        // rest ...
      ]
    }
  }
}