Fit caller-supplied markdown, HTML or plain text to a token budget: structure-aware reduction with an omission manifest.
# 1. Ask the endpoint what it costs (no payment, no wallet needed): curl -i -X POST 'https://fetchweb.net/api/public/optimize' # -> HTTP/1.1 402 Payment Required # the response carries the price, asset and pay-to address. # 2. Pay and retry with any x402 client: npx x402-fetch -X POST 'https://fetchweb.net/api/public/optimize'
Endpoint: https://fetchweb.net/api/public/optimize. Operated by fetchweb.net, not by Animica. Price and availability were correct at the last probe on 2026-09-02 and are set by the operator, who may change them.
FetchWeb provides pay-per-call web metadata for AI agents. Use FetchWeb to quickly inspect a URL — title, description, canonical URL, language and estimated tok…