{"slug":"1gateway-dev-v1-convert-markdown-1add44","title":"Use when an agent must read a document as clean Markdown","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/convert/markdown","category":"market","description":"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: JS","price_listed":0.0027,"price_asked":0.0027,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":54,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:137","eip155:143","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"type":"html","url":"https://example.com/"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"type":{"description":"Optional expected type; a mismatch is rejected before payment (415, not charged)","enum":["html","text","pdf","docx","hwp","hwpx"],"type":"string"},"url":{"description":"Public http(s) URL of a web page, PDF, DOCX, HWP or HWPX within the per-format size caps (see 413 i…","maxLength":2048,"pattern":"^https?://","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"bytes":{"type":"integer"},"chars":{"type":"integer"},"markdown":{"type":"string"},"pages":{"type":"integer"},"priceTier":{"type":"string"},"sections":{"type":"integer"},"sourceType":{"type":"string"},"sourceUrl":{"type":"string"},"title":{"type":"string"},"warnings":{"items":{},"type":"array"}},"required":["markdown","title","sourceType","priceTier","bytes","chars","warnings"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":59,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":66,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":27,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":45,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":43,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":54,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":54,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":46,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":39,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":41,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0027,"price_match":true,"latency_ms":44,"error":null}],"description_full":"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.0045, HWP/HWPX $0.009. Example: ?url=https://example.com/","last_updated":"2026-11-23T01:00:59.736Z","schemes":["exact"]}