Skip to main content
The /api/visit endpoint fetches page content and returns one or more content representations.

Key parameters

  • url: target page URL
  • include: list of content types to return

Using include

Use include: [...] to choose which content representations FetchFox should return for the page. The default include set is:

Include options

Supported include values:
  • raw: raw page HTML
  • html: normalized HTML
  • slim_html: reduced HTML
  • markdown: markdown conversion
  • text: text-only content
  • urls: links found on the page
  • images: image URLs found on the page
  • json_ld: JSON-LD blocks
  • json_blobs: JSON blobs found in the page
  • timer: timing data

Example

Typical response shape:
Response fields from include are returned in camelCase (for example, slim_html becomes slimHtml).