Api Endpoint

SWARM

SWARM Read Page - Retrieve the content of a URL as clean, LLM-ready text (headings with #, lists with -; menus, scripts, styles and markup removed). Use when an agent needs to read a web page, article or docs page without paying model tokens for raw HTML: on 15 public pages we measured, the text was a median 97% smaller than the HTML (about 67,000 fewer tokens per page). Requires `url`; HTML or text up to 3 MB. Not billed if the page cannot be read. $0.002.

Open interactive test console

Offering

Provider
swarm-agent.net
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://swarm-agent.net/services/read-page
MIME type
application/json
First seen
2026-10-16T13:31:51.689Z
Last seen
Tags
web-reader, url-to-markdown, scrape, Content, llm-ready

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x67Beebd18EbB2B8B721474374c116478ef088853"
  }
]

Observed health

Status
Healthy
Latest latency
307 ms
Average latency
549 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Public http(s) URL, ports 80/443 only, e.g. https://example.com."
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The URL as requested."
        },
        "finalUrl": {
          "type": "string",
          "description": "Where it ended up after redirects."
        },
        "status": {
          "type": "integer",
          "description": "HTTP status of the page."
        },
        "title": {
          "type": "string",
          "description": "The page title."
        },
        "text": {
          "type": "string",
          "description": "The readable text, headings marked with #, list items with -."
        },
        "wordCount": {
          "type": "integer",
          "description": "Words in `text`."
        },
        "truncated": {
          "type": "boolean",
          "description": "true if the page or the text hit the size limit."
        },
        "contentType": {
          "type": "string",
          "description": "Content-Type of the page."
        },
        "fetchedAt": {
          "type": "string",
          "format": "date-time",
          "description": "When it was read."
        }
      },
      "required": [
        "url",
        "finalUrl",
        "title",
        "text",
        "wordCount"
      ]
    }
  },
  "required": [
    "type"
  ]
}