Toll402 · Business directory · Tools · llms.txt · MCP

extract_structured $0.06 per call

Turn a web page or raw text into JSON that matches YOUR JSON Schema. LLM-powered, schema-constrained output — no parsing needed.

For AI agents: call extract_structured
POST https://toll402.dev/v1/extract
{
 "url": "https://news.ycombinator.com",
 "schema": {
  "type": "object",
  "properties": {
   "stories": {
    "type": "array",
    "items": {
     "type": "object",
     "properties": {
      "title": {
       "type": "string"
      },
      "points": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp). Free trial without a wallet; paid calls via x402 (USDC on Base). 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",
   "format": "uri",
   "description": "Page to read and extract from"
  },
  "text": {
   "type": "string",
   "maxLength": 400000,
   "description": "Raw text/markdown/HTML to extract from (alternative to url)"
  },
  "schema": {
   "type": "object",
   "additionalProperties": true,
   "description": "JSON Schema (object) describing the output you want"
  },
  "instructions": {
   "type": "string",
   "maxLength": 4000,
   "description": "Extra guidance, e.g. 'prices in USD', 'dates as ISO 8601'"
  }
 },
 "required": [
  "schema"
 ],
 "additionalProperties": false
}

Example output

{
 "data": {
  "stories": [
   {
    "title": "Show HN: ...",
    "points": 120
   }
  ]
 },
 "usage": {
  "inputTokens": 5400,
  "outputTokens": 320
 }
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI

Toll402 is a pay-per-call tool gateway for AI agents (x402, USDC on Base, no API keys). Data aggregates dated public evidence; "unverified" means unknown, not fake. Referral bounty · Get listed