Pay-per-call PDF processing for AI agents. No signup. No API keys. Just x402.
TankID provides PDF text extraction and Markdown conversion via a simple HTTP API. Instead of monthly subscriptions or API keys, you pay per call in USDC on Base using the x402 payment protocol.
Built for AI agents, automation workflows, and developers who need occasional PDF processing without committing to a subscription.
Tied for cheapest PDF service on the x402 Bazaar. No hidden fees, no minimums, no rate limits.
GET /health — Service health checkGET /test — Service info and endpoint listingGET /llms.txt — Agent-friendly documentationGET /openapi.json — OpenAPI 3.1 specGET /.well-known/x402 — x402 discoveryPOST /api/pdf/extract — Extract raw text from PDFPOST /api/pdf/to-markdown — Convert PDF to structured MarkdownUsing awal (x402 client):
# Extract text from a PDF
awal x402 pay https://tankid.io/api/pdf/extract \
--file ./document.pdf \
--amount 0.001
# Convert PDF to Markdown
awal x402 pay https://tankid.io/api/pdf/to-markdown \
--file ./document.pdf \
--amount 0.002
Or with curl (returns 402 with payment requirements):
curl -X POST https://tankid.io/api/pdf/extract \
-F "pdf=@document.pdf"
A Model Context Protocol (MCP) server is available for integration with Claude, Cursor, and other MCP-compatible agents.
# Coming soon to npm
npx @tankid/pdf-mcp-server