← Back to all APIs

Epub To Markdown

$0.005

Convert an EPUB e-book to clean Markdown. Provide a direct URL or base64-encoded file bytes. Chapters become headings; metadata (title, author) is included. Feed whole books into LLM context or RAG.

POST https://x402.freeq.one/tools/epub_to_markdown
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/epub_to_markdown \ -H "Content-Type: application/json" \ -d '{"url":"https://x402.freeq.one/samples/book.epub","max_length":200000}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.