$0.02
per call · USD Coin on Base
Extract structured JSON data from a PDF document.
Endpoint
POST https://pdf-extract-api.pdfextractapi.workers.dev/extract1
Calls / 30d
1
Unique payers / 30d
Aug 26
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://pdf-extract-api.pdfextractapi.workers.dev/extract", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"file": "invoice.pdf",
"schema": "[\"invoice_number\",\"date\",\"total\",\"vendor_name\"]"
}),
});
const data = await res.json();curl -X POST \
"https://pdf-extract-api.pdfextractapi.workers.dev/extract" \
-H "Content-Type: application/json" \
-d '{"file":"invoice.pdf","schema":"[\"invoice_number\",\"date\",\"total\",\"vendor_name\"]"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"date": "2026-08-01",
"invoice_number": "INV-2041",
"total": "£412.00",
"vendor_name": "Acme Supplies Ltd"
},
"meta": {
"pages": 1,
"truncated": false
}
}Payment details
0xa0ac44becc6302298f01ed255b175ca1060c189eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from Workers & similar services
Workers · WEB Places
agentdata-api.sander-van-aard.workers.dev
Google Places (local businesses with rating, address and phone number) for AI agents at $0.004 per call, from the same Serper.dev source as /web/search. Send a query, get back compact JSON: top places with position, title, address, coordinates, rating, rating count, category, phone and website. Tune with num (1-10 results), country and language (2-letter codes). Zero results is a valid, honest answer. Pay per call in USDC on Base, no account, no API key.
Workers · Preflight
mcpfax-reliability.bowling-anthony.workers.dev
Advisory preflight on one endpoint before a consequential call: a bounded live probe (reachable, status, latency, MCP initialize, current x402 price and payTo) joined to our observed history (reliability over a stated window, payTo and price changes, first seen). Returns ALLOW, WARN or UNKNOWN. Never a guarantee. No evidence, no charge.
Workers · Weather
mcpfax-utility.bowling-anthony.workers.dev
Weather forecast — Current conditions, the next 12 hours with rain probability, a multi-day forecast, and a plain answer to "will it rain".