Skip to main content
FetchFox scraping is two steps:
  1. Crawl to find relevant URLs.
  2. Extract to turn page content into structured items.

Crawl for URLs

Use /api/crawl with a pattern:
  • * matches any characters except /
  • ** matches any characters including /
Example:
Typical response:
The URLs are returned in results.hits.

Extract from URLs to get items

Use /api/extract with:
  • url or urls
  • template
Example:
Typical response:

A single endpoint to crawl and extract

To run both phases in one request, use /api/scrape.
Use /api/scrape when you want the convenience of one call. Use /api/crawl + /api/extract directly when you want fine-grained control over each phase.