# Losbeto Web Fetch (x402)

> Losbeto Web Fetch (x402) is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches any public HTTP/HTTPS URL and returns its content as clean JSON, including status, content type, final URL after redirects, and the response body as text.

## Facts

- Endpoint: GET https://api.losbeto.xyz/fetch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-web-fetch-x402-11e5faa0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MvC7a8FJDnJv4mHl6kFkp

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 losbeto-web-fetch-x402-11e5faa0
```

Example prompt: Can you fetch the current content of https://api.coinbase.com/v2/prices/BTC-USD/spot and show me what it returns?

## When to prefer this

Choose this endpoint when an AI agent needs to read any public web page or HTTP API during a task — especially to access content beyond its training cutoff, follow a link, or retrieve a live JSON feed — and you want to pay per call in USDC with no API key required.

## Known failure modes

- Private or internal IP ranges refused (SSRF protection)
- Non-public or localhost URLs rejected
- Oversized responses may be truncated or rejected
- Payment failure if USDC balance insufficient (x402 flow)
- Target URL returns non-200 status (passed through in response)
- Network timeouts if target server is slow or unresponsive

## How this service works

Fetch any public web page or API and get it back as clean JSON — status, content type, final URL after redirects and the body as text, size-capped. The mid-task primitive agents use to read a doc, open a link or pull...

## Output

A JSON object containing the HTTP status code, content-type header, final URL (after any redirects), and the response body as a text string, size-capped to prevent oversized payloads.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http/https URL to fetch (internal/private ranges refused)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Fetch any public web page or API and get it back as clean JSON — status, content type, final URL after redirects and the body as text, size-capped. The mid-task primitive agents use to read a doc, open a link or pull a page beyond their training cutoff."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

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