# Web page data extract

GET|POST https://horizonpulse.dev/api/extract

- Price: $0.015 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Solana, USDC on Polygon, RLUSD on XRP Ledger, EURC on Base
- Family: Web, search and documents (/catalog/web-documents.md)

## What it returns
Page to structured fields, or your own CSS selectors

## Inputs
- url (required): Absolute http(s) URL to fetch and extract (required on GET; on POST send url or html in the JSON body).
- fields: Optional CSS-selector fields (max 20) as a URL-encoded JSON object string: map of name to selector string or {selector, attr?: "text"|"html"|<attribu…
Full schema and bounds: /openapi.json

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- USDC on Solana: a refused or failed request may still be charged.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.
- RLUSD on XRP Ledger: a refused or failed request may still be charged.

## Try it
- Unpaid sample on a fixed input: GET https://horizonpulse.dev/api/demo/extract
- Setup: /setup.md
