1. readfetch
  2. choose
  3. /v1/probe

Data · Free

POST/v1/probe

FREE · metadata before spending, plus the full extracted text on the first 3 probes per IP per day (a ~400-character preview after that).

  • free
  • 400-char preview
  • 30/min

What it does

Free preflight on a URL before any paid readfetch_* call: HTTP status, content type, byte size, title, language, and whether a bot wall is waiting (`challenge`). When the response is HTML and not a challenge page, the JSON includes **`preview`**: the text readfetch_text would return (same extractor), up to **32,000 characters** for the first **3 probes per IP per day**, then **400 characters**. Use readfetch_probe instead of readfetch_text when choosing a route or estimating size; if `challenge: true`, use readfetch_scrape (then readfetch_residential if still blocked), not readfetch_text. Plain HTTP only — no browser render.

Price

No payment and no 402: this call is free on every instance.

  • freeper call
  • 10 s default, 60 s maximumwhole-call budget
  • nothingnever charged
  • no keythe payment is the credential

When to call it

Cheapest endpoint that answers the question, first.

Call it when the sentence above is the whole job. Its neighbours solve the same URL with a different trade-off — a browser instead of plain HTTP, a site instead of one page, one section instead of a document. /choose walks the decision, cheapest first, browser last.

The JSON includes status, content type, byte size, title, language, and challenge. When the page is HTML and not a bot wall, you also get preview: up to 400 characters of the text /v1/text would return (same extractor). Omitted when challenge is true or the response is not HTML. Not the full page.

Request fields

JSON body shape for POST /v1/probe — use with the client snippets below, not as a bare POST.

FieldTypeDefaultWhat it does
url requiredstring—Public http(s) URL to inspect.
accept_languagestring—Accept-Language header, e.g. 'de-DE,de;q=0.9'. Defaults to en-US.
timeout_snumber10Total budget for the whole call in seconds (default 10, max 60). Shared across redirects; does not apply to paid readfetch_text timeout_s on a follow-up call.

Make the call

Send the body below as it is: there is no 402 and no signature for this call.

example body
{
  "url": "https://example.com"
}

readfetch-client / @readfetch/client (latest+) handle x402 on paid routes — full API on /integrations#clients.

python
# pip install readfetch-client
# no EVM_PRIVATE_KEY
from readfetch import Client

check = Client().probe("https://example.com")
javascript
// npm install @readfetch/client
// no EVM_PRIVATE_KEY
import { Client } from "@readfetch/client";

const check = await new Client().probe("https://example.com");

Response

Fields shown are the ones a caller branches on.

200 ok
{
  "billed": false,
  "bytes": 41233,
  "challenge": false,
  "content_sha256": "9f2c1b0d4f5a6e7c8b9d0a1f2e3d4c5b6a7f8e9d0c1b2a3f4e5d6c7b8a9f0e1d",
  "content_type": "text/html; charset=utf-8",
  "language": null,
  "preview": "Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.",
  "redirected": true,
  "requested_url": "https://example.com",
  "status": "success",
  "status_code": 200,
  "title": "Example Domain",
  "url": "https://www.example.com/"
}

Limits

Requests are JSON, 1 MiB maximum. Redirects are re-validated at every hop and capped at 5; the final URL is reported. Every call runs on one whole-call budget — DNS, connect, redirects, retries and any render share that clock, and no step starts a fresh timer. Where the endpoint publishes a timeout_s, its default and ceiling are the whole-call budget in the strip above. This route is the free endpoint: nothing settles regardless of partial progress.

Failures come back as {"error": "…", "hint": "…"} with a status to branch on. Shapes: /docs#errors.

Billing

Free: no payment header, nothing settles, even when the page is delivered.

Rate limit only: 429 with Retry-After.

Every endpoint and its price: /choose.