Skip to content
Fourohtwo

Use when an agent must read a document as clean Markdown

1gateway.dev/v1/convert/markdown

Use when an agent must read a document as clean Markdown: web page, PDF, DOCX or Korean HWP/HWPX, tables kept. Input: url (http/https) via GET, or POST a file (multipart 'file', raw body, or JSON contentBase64+filename). Free-plan size cap → 413 before payment: HWP 48 KB, HWPX 100 KB XML. Output: JSON markdown, title, pages, sourceType, warnings. Price by detected type: HTML $0.0027, PDF/DOCX $0.0

BaseMonadPolygonArbitrumSolanaAnswering
GEThttps://1gateway.dev/v1/convert/markdown

Uptime100% of 2 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://1gateway.dev/v1/convert/markdown?type=html&url=https%3A%2F%2Fexample.com%2F");
console.log(await res.json());

Example input

{
  "type": "html",
  "url": "https://example.com/"
}

More from 1gatewayProvider status