scrapegraphai_web_extract $0.025 per call
Extract structured data from one page. Fetch one public HTML page and use a natural-language prompt to return structured JSON. (ScrapeGraphAI · Open web & SEO data)
For AI agents: call scrapegraphai_web_extract
POST https://toll402.dev/v1/p/scrapegraphai.web.extract
{
"url": "https://example.com",
"prompt": "Extract the page title and purpose.",
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"purpose": {
"type": "string"
}
},
"required": [
"title"
]
},
"allowedTypes": [
"text/html"
]
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"examples": [
"https://example.com"
]
},
"prompt": {
"type": "string",
"examples": [
"Extract the page title and purpose."
]
},
"schema": {
"type": "object",
"description": "Optional JSON Schema for the returned json field."
},
"mode": {
"type": "string",
"default": "normal",
"enum": [
"normal",
"reader",
"prune"
]
},
"allowedTypes": {
"type": "string",
"description": "HTML-only keeps PDF page billing out of the fixed five-credit platform price.",
"enum": [
"text/html"
],
"examples": [
[
"text/html"
]
]
}
},
"additionalProperties": true,
"required": [
"url",
"prompt",
"allowedTypes"
],
"description": "Raw HTML/Markdown sources, custom fetch configuration and PDFs remain available through a team's raw BYOK tool."
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}