Parse
Convert a PDF or DOCX document into clean Markdown.
POST
/api/v1/parse1 / documentTurn a document into clean Markdown. Supply it by URL (fetched through the same SSRF-hardened fetcher as Scrape) or inline as base64. PDF and DOCX are supported today. Synchronous — the Markdown comes back in the response.
Request
| Parameter | Type | Description |
|---|---|---|
url | string | URL of the document to fetch and parse. Provide this OR content. |
content | string | Base64-encoded document bytes, for a file you already hold. Provide this OR url. |
mimeType | string | Optional hint for inline content (detection prefers magic bytes). |
filename | string | Optional filename hint, echoed back in metadata. |
Example
bash
curl -X POST https://peep.shownomore.com/api/v1/parse \
-H "Authorization: Bearer peep_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/whitepaper.pdf"
}'