aipaygen.com/v1/document_to_markdown
Convert a PDF, Word (.docx), Excel (.xlsx/.xls), OpenDocument, CSV, HTML or XML file at a URL into clean Markdown text an LLM can read. Up to 10 MB. Great for invoices, reports, papers, contracts and spreadsheets.
GET
https://aipaygen.com/v1/document_to_markdownUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://aipaygen.com/v1/document_to_markdown?url=https%3A%2F%2Farxiv.org%2Fpdf%2F1706.03762");
console.log(await res.json());Example input
{
"url": "https://arxiv.org/pdf/1706.03762"
}