Extract
by Horizon Pulse in Search & web
Web page to structured fields. Use when you need specific data from a page, not its full text. GET with required url, or POST JSON {url or html, fields}. Returns JSON: title, description, canonical, language, links, images, headings, jsonLd, textSample, and with fields (map of name to CSS selector, max 20) the matched values with fieldErrors. Caps: 200KB HTML, 8s; private targets blocked. If no requested field matches it returns 422 and is not charged. Errors are not charged.
https://horizonpulse.dev/api/extract- Price
- $0.015
- per call in USDC
- Uptime
- 25.0%
- last 30 days
- Response time
- 423 ms
- 2.0 s slowest 5%
- Last check
- Failed
- 3 h ago, next any minute now
Reliability
Latest check failed 3 h ago: Amount "0.015" is not in atomic token units
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://horizonpulse.dev/api/extract
Each call costs $0.015 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://horizonpulse.dev/api/extract?url=https%3A%2F%2Fhorizonpulse.devParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fields | string | No | Optional CSS-selector fields (max 20) as a URL-encoded JSON object string: map of name to selector string or {selector, attr?: "text"|"html"|<attribute>, all?: boolean, limit?: 1-50}, e.g. {"heading":"h1"}. Missing fields come back null with fieldErrors; if none match, 422 no_fields_matched and no … |
html | string | No | POST /api/extract JSON body only (ignored on GET): raw HTML to parse instead of fetching (size-capped). If both url and html are sent, html is parsed and url is echoed. |
url | string | Yes | Absolute http(s) URL to fetch and extract (required on GET; on POST send url or html in the JSON body). Private/localhost blocked. |
Example response
The provider's example. We can't check it without paying.
Example response, 41 lines
{
"description": "Pay-per-call APIs for AI agents via x402 on Base: web fetch, HTTP proxy, page extract, and crypto market data.",
"elapsedMs": 120,
"fieldErrors": {},
"fields": {
"heading": "Pay-per-call APIsbuilt for agents.",
"links": [
"https://horizonpulse.dev/",
"https://horizonpulse.dev/#catalog",
"https://horizonpulse.dev/#how"
]
},
"finalUrl": "https://horizonpulse.dev/",
"headings": [
{
"level": 1,
"text": "Pay-per-call APIs built for agents."
},
{
"level": 2,
"text": "Thirteen routes. One protocol."
}
],
"language": "en",
"links": [
{
"href": "https://horizonpulse.dev/",
"text": "Horizon Pulse"
},
{
"href": "https://horizonpulse.dev/#catalog",
"text": "Catalog"
}
],
"matchedFields": 2,
"ok": true,
"requestedFields": 2,
"textSample": "# Horizon Pulse\n\nLive on Base · x402 v2\n# Pay-per-call APIs\n built for agents.\n\n13 routes for market data, the web and d…",
"title": "Horizon Pulse",
"url": "https://horizonpulse.dev/"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.015.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://horizonpulse.dev/api/extract?url=https%3A%2F%2Fhorizonpulse.dev'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://horizonpulse.dev/api/extract?url=https%3A%2F%2Fhorizonpulse.dev' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.015 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.015" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.015 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhorizonpulse.dev%2Fapi%2Fextract
const res = await pay("https://horizonpulse.dev/api/extract?url=https%3A%2F%2Fhorizonpulse.dev");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.015 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.015"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://horizonpulse.dev/api/extract?url=https%3A%2F%2Fhorizonpulse.dev")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Amount "0.015" is not in atomic token units | 402 | 322 ms | $0.015 |
| 8 h ago | Amount "0.015" is not in atomic token units | 402 | 539 ms | $0.015 |
| 13 h ago | Amount "0.015" is not in atomic token units | 402 | 246 ms | $0.015 |
| 17 h ago | Amount "0.015" is not in atomic token units | 402 | 288 ms | $0.015 |
| 22 h ago | Amount "0.015" is not in atomic token units | 402 | 480 ms | $0.015 |
Show 10 older checks
| 27 h ago | Amount "0.015" is not in atomic token units | 402 | 218 ms | $0.015 |
| 32 h ago | Amount "0.015" is not in atomic token units | 402 | 293 ms | $0.015 |
| 36 h ago | Amount "0.015" is not in atomic token units | 402 | 239 ms | $0.015 |
| 41 h ago | Amount "0.015" is not in atomic token units | 402 | 358 ms | $0.015 |
| 46 h ago | Amount "0.015" is not in atomic token units | 402 | 443 ms | $0.015 |
| 2 days ago | Amount "0.015" is not in atomic token units | 402 | 401 ms | $0.015 |
| 2 days ago | Amount "0.015" is not in atomic token units | 402 | 577 ms | $0.015 |
| 2 days ago | Amount "0.015" is not in atomic token units | 402 | 401 ms | $0.015 |
| 3 days ago | Amount "0.015" is not in atomic token units | 402 | 402 ms | $0.015 |
| 3 days ago | Amount "0.015" is not in atomic token units | 402 | 305 ms | $0.015 |