Skip to content
Webfold Docs
Esc
↑↓navigate↵open⌘Jpreview

Discover URLs on a web site

BFS URL discovery starting from url, staying on the same origin, up to max_pages. Returns a list of discovered URLs without fetching full content.

POST/v1/web/map
Authorization
AuthorizationBearer token (JWT) · headerrequired

Bearer API key issued for your account. Send Authorization: Bearer <key>.

Request body
requiredapplication/json
urlstring<uri>required
max_pagesinteger

Maximum number of URLs to discover

default: 50
Responses
200

Discovered URLs

urlsstring<uri>[]required
400

Bad request

string
401

Missing or invalid bearer token

string
403

Billing or plan entitlement blocked the request

string
502

Upstream service (arXiv, YouTube, web page) failed

string
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://api.webfold.ai/v1/web/map' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://example.com",
  "max_pages": 50
}'
Response
{
  "urls": [
    "http://example.com"
  ]
}