About docpull

docpull is a PDF-to-Markdown API built for AI agents. It accepts any publicly accessible PDF URL and returns clean, structured Markdown text, charged at $0.001 USDC per page via the x402 v2 payment protocol.

The service is designed for agent-to-agent commerce — no accounts, no API keys, no subscriptions. Any AI agent with a Base wallet can call docpull autonomously without human configuration.

How it works

When an agent calls POST /extract, the server returns an HTTP 402 with payment instructions. The agent signs a USDC payment on Base mainnet, retries the request, and receives the extracted Markdown. The entire flow takes seconds.

Technology

Built with Node.js, Express, and pdfjs-dist for PDF parsing. Payments use x402 v2 with the Coinbase Developer Platform facilitator. Deployed on Railway.

Contact

Email: jesse@docpull.ai

GitHub: github.com/docpull/docpull