Skip to content
Fourohtwo

PDF parsing

mart402.com/v1/parse

PDF parsing: PDF to structured Markdown. Send {url} (this 402 is the exact quote) or a quote_id from the free /v1/parse/quote; flat $0.01/doc for text PDFs, $0.015/page for scanned OCR with hallucination guard (dual-engine consensus). Japanese-strong.

BaseAnswering
POSThttps://mart402.com/v1/parse

Uptime100% 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://mart402.com/v1/parse", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://mart402.com/samples/assets/doc.pdf"}),
});
console.log(await res.json());

Example input

{
  "url": "https://mart402.com/samples/assets/doc.pdf"
}

More from Mart402Provider status