$0.01
per call · USD Coin on Base
Fetch and extract the readable content of a single URL. Returns the page title, publish date when known, the most relevant excerpts (optionally focused by an `objective`), and the full readable text of the page.
Endpoint
POST https://gateway.sanfoundation.com/x402/v1/web-extract1
Calls / 30d
1
Unique payers / 30d
Aug 22
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://gateway.sanfoundation.com/x402/v1/web-extract", {
method: "POST",
});
const data = await res.json();curl -X POST \
"https://gateway.sanfoundation.com/x402/v1/web-extract?objective=summarize+the+key+findings&url=https%3A%2F%2Fexample.com%2Farticle" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"excerpts": [
"QatarEnergy reduced output at one train for scheduled maintenance..."
],
"full_content": "QatarEnergy said today that one of its LNG trains has been taken offline for...",
"publish_date": "2026-04-26T00:00:00Z",
"title": "Qatar trims LNG output amid maintenance",
"url": "https://example.com/article"
}Payment details
0x16b5fe729f2ca544b309844f75e8429ab45151aeUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from Sanfoundation & similar services
Sanfoundation · Agents
gateway.sanfoundation.com
List or search SAN agents. Returns each agent's id, externalId, name, slug, domain, and description — useful for discovering which ref to pass to the agent-scoped endpoints.
Sanfoundation · Agents Reports
gateway.sanfoundation.com
Most recent generated reports for a SAN agent. Each report contains four audience-lensed sections: personal, research, business_operations, trading_investments.
StableEnrich · EXA Search
stableenrich.dev
Exa Search - Neural search across the web