{"slug":"1gateway-dev-v1-docs-extract-7b77e9","title":"Use when an agent needs the key facts of a document, not just its text","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/docs/extract","category":"search","description":"Use when an agent needs the key facts of a document, not just its text: Korean HWP/HWPX, PDF, DOCX or web page. Input: url via GET, or POST a file (multipart 'file', raw body, or JSON contentBase64+filename). Output: fixed-schema JSON title, title_en, document_type, date, org, amounts, tables (parse","price_listed":0.009,"price_asked":0.009,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":196,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["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"],"examples":["html"],"type":"string"},"url":{"description":"Public http(s) URL of a PDF, DOCX, HWP, HWPX or web page. For uploads use POST.","examples":["https://example.com/"],"maxLength":2048,"pattern":"^https?://","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"amounts":{"items":{"properties":{"currency":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"type":"array"},"cached":{"type":"boolean"},"chars":{"type":"integer"},"contentSha256":{"type":"string"},"date":{"type":["string","null"]},"document_type":{"type":"string"},"english_overview":{"type":"string"},"generatedAt":{"type":"string"},"inputTruncated":{"type":"boolean"},"model":{"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"org":{"type":["string","null"]},"org_en":{"type":["string","null"]},"sourceType":{"type":"string"},"sourceUrl":{"type":"string"},"source_language":{"type":"string"},"tables":{"items":{"properties":{"rowCount":{"type":"integer"},"rows":{"items":{"items":{"type":"string"},"type":"array"},"type":"array"},"truncated":{"type":"boolean"}},"type":"object"},"type":"array"},"title":{"type":"string"},"title_en":{"type":["string","null"]},"upstreamCostUsd":{"type":"number"},"warnings":{"items":{},"type":"array"}},"required":["title","title_en","document_type","date","org","org_en","amounts","english_overview","source_language","tables","sourceType","chars","contentSha256","model","generatedAt","inputTruncated","cached","upstreamCostUsd","warnings","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.009,"price_match":true,"latency_ms":196,"error":null}],"description_full":"Use when an agent needs the key facts of a document, not just its text: Korean HWP/HWPX, PDF, DOCX or web page. Input: url via GET, or POST a file (multipart 'file', raw body, or JSON contentBase64+filename). Output: fixed-schema JSON title, title_en, document_type, date, org, amounts, tables (parsed rows), english_overview. Bad input or model outage refused before payment. Example: ?url=https://example.com/","last_updated":"2026-10-26T13:17:39.498Z","schemes":["exact"]}