Get contents, web contents: clean text of up to five pages in one call

$0.01 per call · failed calls are never charged · no account or API key needed

Read one to five public web pages in one call and get each one's clean text (or Markdown), title, author and published date where the page declares them, in the request shape search APIs use (urls as a list). Pages are read in parallel; one that cannot be read is listed in statuses with its reason and the rest still answer. Static HTML, Markdown and plain text, up to 20,000 characters a page. Use to read search results in one call.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Try it with your own inputs

One to five page URLs: comma-separated, one per line, or a JSON array

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
urls (required)stringOne to five page URLs: comma-separated, one per line, or a JSON array
maxCharsstringCharacters per page, 500 to 20000 (default 4000)
formatstringtext (default) or markdown

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/contents?urls=https%3A%2F%2Fexample.com%2Chttps%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/contents?urls=https%3A%2F%2Fexample.com%2Chttps%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "results": [
    {
      "id": "https://example.com",
      "url": "https://example.com/",
      "title": "Example Domain",
      "author": null,
      "publishedDate": null,
      "text": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
      "textLength": 156,
      "truncated": false,
      "lang": "en"
    }
  ],
  "statuses": [
    {
      "id": "https://example.com",
      "status": "success"
    },
    {
      "id": "https://www.iana.org/help/example-domains",
      "status": "success"
    }
  ],
  "requested": 2,
  "read": 2
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is contents, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools