PDF TO MARKDOWN API X402 NO API KEY

PDF to Markdown.
Built for agents.

Give Utilia a public PDF URL. Receive page-delimited Markdown, document metadata, page count, and a source SHA-256 digest for exactly $0.0025 USDC.

$0.0025per successful conversion
100maximum pages
8 MiBmaximum source size
0accounts or API keys

ONE COMMAND

Pay and convert from your agent.

The client discovers the x402 price, verifies the official receiver and $0.01 safety ceiling, signs the exact payment locally, and returns the result. Your wallet key never goes to Utilia.

terminalSolana mainnet USDC
# Dedicated low-balance agent wallet
export SOLANA_KEYPAIR_PATH=\
/absolute/path/to/agent-wallet.json

npx -y github:mohamedkuch/utilia-solana-agent#befa103 doctor

npx -y github:mohamedkuch/utilia-solana-agent#befa103 \
  pdf-to-markdown https://example.com/report.pdf \
  --max-pages 50
✓ receiver verified ✓ price ceiling ✓ local signing

DETERMINISTIC OUTPUT

What the agent receives.

Page markers preserve provenance. The digest lets downstream systems associate derived chunks with the exact source bytes.

application/jsonexample
{
  "title": "Quarterly report",
  "totalPages": 4,
  "sourceBytes": 48321,
  "textCharacters": 12940,
  "sha256": "47b9…",
  "markdown": "# Quarterly report\n\n## Page 1\n\n…"
}

BOUNDED BY DESIGN

Useful limits, explicit behavior.

01URL

Public HTTPS only

Private-network addresses and unsafe redirects are rejected. Base64 is available through the API when the caller is authorized to send the file.

02TEXT

No OCR promise

The service extracts embedded PDF text. Image-only scans may return little text and should use a dedicated OCR workflow.

03X402

Pay only on success

Failed validation or conversion cancels settlement. Successful calls include the settlement evidence returned by the client.

AGENT-READY DOCUMENT TEXT

Link. Pay. Extract. Build.

Add the skill, point it at a public PDF, and preserve page provenance in your RAG or analysis pipeline.