Skip to content
Fourohtwo

Fetch a URL and get the response as sent

onchaincheck.dev/web/fetch

Fetch a URL and get the response as sent: HTTP status, content type, key headers, the redirect chain, timing and the raw body (HTML, JSON, XML or text, up to 500 KB). For agents that parse pages or call public JSON endpoints themselves; use /web/extract for clean Markdown. Public http(s) URLs only. Errors return 4xx/5xx JSON and aren't charged.

BaseAnswering
GEThttps://onchaincheck.dev/web/fetch

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://onchaincheck.dev/web/fetch?url=https%3A%2F%2Fexample.org");
console.log(await res.json());

Example input

{
  "url": "https://example.org"
}