x402-gateway

Document Extract to JSON: Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/document_extract.

InferenceLiveeip155:8453Exactvia cdp

Part of x402.freeq.one · 236 endpoints · See the whole service

McpPay-per-callx402UsdcBase
Calls · 30d
2→ 0%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far.
$7.61
Verified settled volume
1,006 settlements since 2026-11-05, relayed by a known x402 facilitator. Last 30 days: $7.61.
$0.020
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-11-20 18:50Z
Paid to
0x90b0dC893406d6eA63bb077ED59F5e8340f98d84

The wallet the 402 directs payment to. Its full payment record is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service; most of the catalog is unregistered.

Recent payments · which agents last used it

Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.

Payer PayeeChainAmountx402RouteAgeTxn hash
0xc311…bdef0x90b0…8d84BaseBase$0.04100%Coinbase CDP39d ago0xe9e5b1…2a4c14
0xc311…bdef0x90b0…8d84BaseBase$0.05100%Coinbase CDP39d ago0x995189…a3102e
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0xfb6089…d4d83d
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0xada17d…0cb060
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0xd378cf…43e01e
0xc311…bdef0x90b0…8d84BaseBase$0.02100%Coinbase CDP39d ago0x1b0bb9…d610d0
0xc311…bdef0x90b0…8d84BaseBase$0.05100%Coinbase CDP39d ago0xff5ebc…ed6024
0xc311…bdef0x90b0…8d84BaseBase$0.05100%Coinbase CDP39d ago0x946cc0…291bee
0xc311…bdef0x90b0…8d84BaseBase$0.05100%Coinbase CDP39d ago0xea2dd9…8ac29c
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0xb35c23…af1fc6
0xc311…bdef0x90b0…8d84BaseBase$0.03100%Coinbase CDP39d ago0x1014d3…a97c49
0xc311…bdef0x90b0…8d84BaseBase$0.03100%Coinbase CDP39d ago0xe9e2eb…9aa097
0xc311…bdef0x90b0…8d84BaseBase$0.05100%Coinbase CDP39d ago0x33166a…b16432
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x3ac08c…f4f4c5
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x1b2b55…08cd0f
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x00d2f9…906de3
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x238894…9b4d76
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x34cfd7…7383d2
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0xf8c660…705838
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x7fa68c…950583
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x98666b…fb972a
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x30dd30…d763a0
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0x82fd89…e50300
0xc311…bdef0x90b0…8d84BaseBase$0.05100%Coinbase CDP39d ago0x1cbf0d…9f72a0
0xc311…bdef0x90b0…8d84BaseBase$0.01100%Coinbase CDP39d ago0xf4e2a2…11d450

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change. Always read the 402 the endpoint answers with.

{
  "error": "Payment required — use POST to call this tool",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USDC",
        "version": "2"
      },
      "payTo": "0x90b0dC893406d6eA63bb077ED59F5e8340f98d84",
      "amount": "20000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 60
    }
  ],
  "resource": {
    "url": "https://x402.freeq.one/tools/document_extract",
    "description": "Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference.",
    "serviceName": "x402-gateway"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "mcp",
          "toolName": "document_extract",
          "transport": "streamable-http",
          "description": "Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference.",
          "mcpServerUrl": "https://x402.freeq.one/mcp"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "body": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "example": "https://x402.freeq.one/samples/report.pdf",
                    "description": "Alias for document_url"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "invoice_number"
                        },
                        "type": {
                          "enum": [
                            "string",
                            "number",
                            "boolean",
                            "date"
                          ],
                          "type": "string",
                          "example": "string"
                        }
                      }
                    },
                    "description": "Optional caller-named fields (max 20), each {name, type} with type string, number, boolean or date; unmatched fields return null, never guessed"
                  },
                  "file_b64": {
                    "type": "string",
                    "maxLength": 28000000,
                    "description": "Base64-encoded document bytes (alternative to document_url)"
                  },
                  "filename": {
                    "type": "string",
                    "example": "report.pdf",
                    "description": "Optional original filename"
                  },
                  "max_length": {
                    "type": "integer",
                    "example": 100000,
                    "description": "Truncate converted text to N characters"
                  },
                  "document_url": {
                    "type": "string",
                    "example": "https://x402.freeq.one/samples/report.pdf",
                    "description": "Direct URL to the document (alternative: file_b64)"
                  }
                },
                "description": "Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference."
              },
              "tool": {
                "type": "string",
                "description": "Tool name to call"
              },
              "type": {
                "type": "string",
                "const": "mcp"
              },
              "inputSchema": {
                "type": "object",
                "description": "Arguments object matching the tool's input schema (see GET /tools)"
              }
            }
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "result": {
                    "description": "Tool output (JSON)"
                  }
                }
              }
            }
          }
        }
      },
      "category": "tool",
      "discoverable": true
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.

0.02USDC≈ $0.02 USD
on Base · exact scheme

Pay 0.02 USDC on Base to 0x90b0…98d84. The signed payment is good for 1 minute.

USD Coin contract
0x8335…02913
Payment window
1 minute
As published
20000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0x90b0dC893406d6eA63bb077ED59F5e8340f98d84",
    "amount": "20000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 60
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "url": "https://x402.freeq.one/samples/report.pdf",
          "fields": [],
          "file_b64": "file_b64",
          "filename": "report.pdf",
          "max_length": 100000,
          "document_url": "https://x402.freeq.one/samples/report.pdf"
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "content": [],
          "isError": false,
          "structuredContent": {}
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "example": "https://x402.freeq.one/samples/report.pdf",
                  "description": "Alias for document_url"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "example": "invoice_number"
                      },
                      "type": {
                        "enum": [
                          "string",
                          "number",
                          "boolean",
                          "date"
                        ],
                        "type": "string",
                        "example": "string"
                      }
                    }
                  },
                  "description": "Optional caller-named fields (max 20), each {name, type} with type string, number, boolean or date; unmatched fields return null, never guessed"
                },
                "file_b64": {
                  "type": "string",
                  "maxLength": 28000000,
                  "description": "Base64-encoded document bytes (alternative to document_url)"
                },
                "filename": {
                  "type": "string",
                  "example": "report.pdf",
                  "description": "Optional original filename"
                },
                "max_length": {
                  "type": "integer",
                  "example": 100000,
                  "description": "Truncate converted text to N characters"
                },
                "document_url": {
                  "type": "string",
                  "example": "https://x402.freeq.one/samples/report.pdf",
                  "description": "Direct URL to the document (alternative: file_b64)"
                }
              },
              "description": "JSON request body. See GET /tools for the parameter catalog."
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "headers": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "toolName": {
              "type": "string"
            },
            "transport": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "queryParams": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "mcpServerUrl": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string",
              "const": "json"
            },
            "example": {
              "type": "object",
              "properties": {
                "content": {
                  "type": "array"
                },
                "isError": {
                  "type": "boolean"
                },
                "structuredContent": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "resource": "https://x402.freeq.one/tools/document_extract"
  }
}

Provenance

Seen in the source catalog
2026-11-20 18:50Z
Last indexed by Roundhouse
2026-12-04 11:50Z
Last enriched (probe, favicon, geo)
2026-10-29 07:45Z
x402 version
2
Max timeout
60s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far. Verified volume counts only settlements relayed by a known x402 facilitator.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service x402-gateway and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=x402-gateway'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://x402.freeq.one/tools/document_extract, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.