N

Node4all · Pdf2md

by Node4all

POSTBase

$0.05

per call · USD Coin on Base

Node4All pdf2md — layout-aware PDF → Markdown (pdf2md) conversion powered by @opendocsg/pdf2md, ideal for ingesting long documents into agent context windows. Accepts a multipart "file" upload (application/pdf, ≤10MB) and returns text/markdown. Operator: Node4All (https://node4all.com). Currency: USDC on Base.

Endpoint

POST https://api.node4all.com/v1/pdf2md

1

Calls / 30d

1

Unique payers / 30d

Aug 13

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.node4all.com/v1/pdf2md", {
  method: "POST",
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.node4all.com/v1/pdf2md" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "body_kind": "text",
  "content_type": "text/markdown",
  "description": "Layout-aware Markdown extracted from the uploaded PDF via @opendocsg/pdf2md.",
  "endpoint": "pdf2md",
  "protocol": "x402-v2",
  "request_body_options": [
    "multipart/form-data file (application/pdf, ≤10MB)"
  ],
  "sample": "# Document title\n\nFirst paragraph extracted from the PDF.\n",
  "service": "Node4All"
}

Payment details

Pay to0xd275612bf0bb35638432c4d95eaa8d5d22346ca6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Node4all & similar services