Docs

API reference

REST endpoints under /v1/* for search, scrape, crawl, map, extract, parse, interact and rerank. OpenAPI at /openapi.yml. View as Markdown

Primary paths live under /v1/*. Matching /v2/* aliases exist for scrape, crawl, map, extract, search, rerank, parse and interact. Requests under /api/v1/* behave the same. Live credit costs are also listed on GET /health as creditSchedule.

Full OpenAPI: /openapi.yml.

Base URL: https://webcrawl.app. Auth: Authorization: Bearer YOUR_API_KEY or X-API-Key: YOUR_API_KEY.

Endpoints

  • POST /v1/search (1 credit base; +2 for structured verticals): Live web search with optional structured categories
  • POST /v1/scrape (1 credit per page; +2 structured): Fetch a URL as clean markdown or JSON
  • POST /v1/crawl (1 credit per page crawled): Crawl a site from a start URL
  • POST /v1/map (1 credit): Discover URLs on a site without reading page bodies
  • POST /v1/extract (3 credits (1 page + 2 structured)): Prompt or schema extraction from a page
  • POST /v1/parse (Usage-based parse credits): Parse PDFs, Office files, images, audio and video
  • POST /v1/interact (3 credits first browser minute; +2 per extra minute): Browser automation via Vercel Sandbox
  • POST /v1/rerank (1 credit): Rank documents against a query
  • GET /health (Free): Service status, version and creditSchedule

Detail pages