Fetch cleaned page content (not source HTML)

From TinyFish, through Joshu Data Bodega.

Price
$0 per call

No calls measured in the last 30 days.

Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.

Inputs

  • ttlinteger, optional

    TinyFish cache lifetime in seconds; 0 requests a fresh fetch.

  • urlsstring, required

  • linksboolean, optional

  • formatstring: html, markdown, json, optional

    markdown (default) for LLM consumption; html returns cleaned semantic HTML, not the page source — head scripts (including application/ld+json), forms, mailto targets and many attributes are removed; json returns a structured document tree. TinyFish has no raw/source-HTML format on this route; for HTML as the browser received it (head and scripts intact), use anyapi.web.scrape with formats including html.

  • purposestring, optional

  • image_linksboolean, optional

  • if_none_matchstring, optional

  • page_metadataboolean, optional

  • exclude_selectorsstring, optional

  • if_modified_sincestring, optional

  • include_selectorsstring, optional

  • per_url_timeout_msinteger, optional

  • include_etag_and_last_modifiedboolean, optional

Call it

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "tinyfish.web.fetch",
    "params": {
      "ttl": 0,
      "urls": [
        "https://example.com/"
      ],
      "links": true,
      "format": "markdown"
    }
  }'