# 400860 Data API – Web Page Scraper

> 400860 Data API – Web Page Scraper is a paid API for AI agents from api.400860.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Fetches and returns the text content of a given web page URL, with optional length truncation, via a micropayment-gated x402 endpoint.

## Facts

- Endpoint: POST https://api.400860.xyz/v1/scrape/page
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/400860-data-api-web-page-scraper-5109743d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uxo0HDpWSVRP5O2CzosLG

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 400860-data-api-web-page-scraper-5109743d -d '<json body>'
```

Example prompt: Scrape the page at https://defillama.com/protocol/aave and give me the full text content — up to 5000 characters.

## When to prefer this

Choose this endpoint when you need to fetch live web page content in an AI agent pipeline and are willing to pay per-call via x402 micropayments (USDC). It is well-suited for DeFi research workflows, content extraction for summarization, and situations where you need a lightweight, pay-as-you-go scrape rather than a subscription-based crawling service.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — likely results in an error response
- Page requires JavaScript rendering that the scraper cannot execute — returns incomplete or empty content
- Payment not processed correctly via x402 — request blocked before scraping begins
- maxLength set too low — returns truncated content that may be incomplete
- URL points to a binary file (PDF, image) rather than an HTML page — content may be malformed or empty

## How this service works

On-demand clean-text extraction for an allowed public URL.

## Output

Returns a JSON object containing the scraped text content of the requested web page. The response is open-ended (additionalProperties: true) and may include the page body, truncated to maxLength characters if specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  },
  "maxLength": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/400860-data-api-web-page-scraper-5109743d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.400860.xyz](https://www.zero.xyz/host/api.400860.xyz/llms.txt)
