# web-extract/batch — Batch URL Content Extractor

> web-extract/batch — Batch URL Content Extractor is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches and extracts readable content from up to 10 public URLs in a single call, returning text, markdown, or JSON

## Facts

- Endpoint: POST https://api.firstmention.uk/s/web-extract/batch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-extract-batch-batch-url-content-extractor-afc3f647
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aOP4YnP3QIV2lH_3Lkimp

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 web-extract-batch-batch-url-content-extractor-afc3f647 -d '<json body>'
```

Example prompt: Can you fetch and extract the readable text from these five URLs for me — https://example.com/article1, https://example.com/article2, https://example.com/article3, https://example.com/article4, and https://example.com/article5 — and return the content in markdown format?

## When to prefer this

Use this endpoint when you need to extract readable content from multiple known URLs in a single API call, paying only $0.01 USDC via x402. It is ideal when you already have a list of URLs (up to 10) and want clean text, markdown, or JSON output without managing individual scraping calls. Prefer this over single-URL scrapers when batching is important for efficiency. If you need to discover URLs first (search), pair with a websearch endpoint before calling this.

## Known failure modes

- URL is behind a login wall or paywall — returns error for that URL
- URL returns non-200 HTTP status — marked as failed in results
- More than 10 URLs supplied — request may be rejected or truncated
- Malformed URL in the array — validation error returned
- Dynamically rendered JavaScript-heavy pages may return incomplete content
- Network timeout on slow-responding URLs — that entry marked as failed

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object with an `ok` boolean, a `count` of results, and a `results` array where each entry contains the URL, an `ok` status for that URL, and the extracted content (as text, markdown, or JSON depending on the requested format). Failed URLs include an error indicator rather than content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "urls": {
   "type": "array",
   "items": {
    "type": "string",
    "format": "uri"
   },
   "description": "Up to 10 public URLs"
  },
  "format": {
   "enum": [
    "text",
    "markdown",
    "json"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "count": 2,
  "results": [
   {
    "ok": true,
    "url": "https://example.com",
    "text": "Example Domain..."
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-extract-batch-batch-url-content-extractor-afc3f647/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
