A

Azurecontainerapps · Content PDF TO Markdown

by Azurecontainerapps

POSTBase

$0.02

per call · USD Coin on Base

Convert a supplied PDF into Markdown while preserving document structure and tables.

Endpoint

POST https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/pdf-to-markdown

1

Calls / 30d

1

Unique payers / 30d

Sep 1

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://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/pdf-to-markdown", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "locale": "en-US",
    "pages": "1-5",
    "pdfBase64": "JVBERi0xLjQKJcTl8uXrCg=="
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/pdf-to-markdown" \
  -H "Content-Type: application/json" \
  -d '{"locale":"en-US","pages":"1-5","pdfBase64":"JVBERi0xLjQKJcTl8uXrCg=="}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "markdown": "# Example\n\nDocument text.",
  "markdownCharacters": 25,
  "pageCount": 1,
  "processedPages": [
    1
  ]
}

Payment details

Pay to0x9cd3f0d8a73a9a87f752f09d220652dc7de398cc
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 Azurecontainerapps & similar services