Parse

Convert a PDF or DOCX document into clean Markdown.

POST/api/v1/parse1 / document

Turn 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

ParameterTypeDescription
urlstringURL of the document to fetch and parse. Provide this OR content.
contentstringBase64-encoded document bytes, for a file you already hold. Provide this OR url.
mimeTypestringOptional hint for inline content (detection prefers magic bytes).
filenamestringOptional 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"
}'