# ioswarm.io Web Fetch

> ioswarm.io Web Fetch is a paid API for AI agents from ioswarm.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-17).

Fetches any public web page and returns its readable text, extracted links, or SEO/Open Graph metadata, with JS-rendered and bot-walled pages handled gracefully.

## Facts

- Endpoint: POST https://ioswarm.io/api/v1/x402/fetch
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ioswarm-io-web-fetch-b5704911
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TwHv6wRUFXz7ooFhXNByf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ioswarm-io-web-fetch-b5704911 -d '<json body>'
```

Example prompt: Can you fetch the readable text from https://example.com/article and strip out the boilerplate so I just get the article content?

## When to prefer this

Choose this endpoint when you need to fetch a single public web page and extract its readable text, links, or SEO metadata without setting up your own scraping infrastructure. It is ideal for agents that need one-off or ad-hoc page reads at $0.02 per call with no account required, and it gracefully communicates when a page is JS-rendered or bot-walled rather than silently returning nothing.

## Known failure modes

- JS-rendered pages are flagged as such rather than returning empty content — a browser-driven call is needed
- Bot-walled or access-restricted pages are reported as blocked rather than silently failing
- Invalid or non-absolute URLs return a validation error
- Non-public or intranet URLs cannot be fetched
- Network timeouts on slow or unresponsive servers

## How this service works

Fetch any public web page as readable text — a browser-grade fingerprint, boilerplate stripped, links kept — or just its links or its SEO metadata. Plain HTTP (JS-rendered and bot-walled pages are reported as such; a browser-driven read is a run). $0.02 per call, no account.

## Output

Returns one of three payloads depending on the 'extract' parameter: (1) boilerplate-stripped readable text with links preserved for 'text' mode; (2) a list of all anchor hrefs for 'links' mode; or (3) canonical URL, meta tags, Open Graph properties, and JSON-LD structured data for 'metadata' mode. If the page requires JavaScript or blocks bots, the response indicates this rather than returning empty content.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "additionalProperties": false,
   "properties": {
    "body": {
     "properties": {
      "extract": {
       "description": "What to return: readable text (default), every anchor, or canonical/meta/OpenGraph/JSON-LD only.",
       "enum": [
        "text",
        "links",
        "metadata"
       ],
       "type": "string"
      },
      "url": {
       "description": "Absolute http(s) URL of a public page.",
       "type": "string"
      }
     },
     "required": [
      "url"
     ],
     "type": "object"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "type": {
     "const": "http",
     "type": "string"
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "type": "object"
  },
  "output": {
   "properties": {
    "example": {
     "type": "object"
    },
    "type": {
     "type": "string"
    }
   },
   "required": [
    "type"
   ],
   "type": "object"
  }
 },
 "required": [
  "input"
 ],
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ioswarm-io-web-fetch-b5704911/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ioswarm.io](https://www.zero.xyz/host/ioswarm.io/llms.txt)
