Document parsing: convert office documents (docx, pptx, xlsx, pdf, odt, ods, odp, rtf, epu
Document parsing: convert office documents (docx, pptx, xlsx, pdf, odt, ods, odp, rtf, epub, csv, doc, ppt) to clean GitHub-Flavored Markdown. Pass a document URL or base64-encoded bytes. Deterministic local Rust converter (Firecrawl anydoc) — fast, typed structure preserved (headings, tables, lists), no OCR for scanned/image-only PDFs.
5000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-10
updated
Provider
api.clawfetch.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xc2afB91833f4dE19542A025872C6085cC29185eB",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"url": "https://example.com/report.docx"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"chars": 1834,
"format": "docx",
"markdown": "# Quarterly Report\n\n| Region | Revenue |\n|---|---|\n| EMEA | $1.2M |"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
}
],
"properties": {
"base64": {
"description": "Base64-encoded document bytes (max ~15MB). Provide either url or base64.",
"type": "string"
},
"filename": {
"description": "Optional filename hint (e.g. \"report.docx\") used for format detection when bytes carry no signature (csv).",
"type": "string"
},
"format": {
"description": "Optional explicit format override. One of: doc, docx, odt, pdf, ppt, pptx, rtf, epub, xlsx, ods, odp, csv",
"type": "string"
},
"url": {
"description": "URL of the document to download and parse. Provide either url or base64.",
"type": "string"
}
},
"required": []
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.clawfetch.ai/parse" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.clawfetch.ai/parse");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.clawfetch.ai/parse")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3371.json, and this resource appears in /discovery/resources and /discovery/search.