POST
Turn a document into Markdown: send its URL as JSON, or upload it as multipart/form-data in a field named file, with options as JSON in a field named options. For a guide with examples, see Parse.

Authorizations

Authorization
string
header
required

Your API key from the dashboard. It starts with sr-.

Body

file
file
required

Up to 4 MB: .pdf, .docx, .doc, .docm, .odt, .rtf, .xlsx, .xls, .xlsm, .xlsb, .ods, .csv, .pptx, .ppt, .pptm, .odp, .epub, .html, .htm or .xhtml.

options
string

Optional: the options as a JSON string, like {"formats":["markdown","summary"]}.

Response

The document as Markdown.

success
boolean
Example:

true

data
object

One page. Only the formats you asked for are present.

creditsUsed
integer

What this request cost.

warning
string