Skip to main content
POST
Map API - Discover URLs on a website

Authorizations

Authorization
string
header
required

Bearer token authentication using your LLMLayer API key. Include in Authorization header as: Bearer YOUR_LLMLAYER_API_KEY

Body

application/json
url
string<uri>
required

Seed URL to start mapping from

Example:

"https://www.ycombinator.com"

ignoreSitemap
boolean
default:false

If true, ignores sitemap.xml and discovers URLs by crawling

includeSubdomains
boolean
default:false

If true, includes URLs from subdomains

search
string | null

Filter discovered URLs by search string

Example:

"blog"

limit
integer
default:5000

Maximum number of URLs to discover (hard cap: 30000)

Required range: x <= 30000
timeout
integer | null
default:45000

Timeout in milliseconds

Response

List of discovered URLs with titles

List of discovered URLs with titles

statusCode
integer
required

HTTP status code (200 for success)

cost
number | null

Cost in USD ($0.002 flat fee per map request)