Skip to main content
POST
cURL
When parsing finishes, read the Markdown or JSON from data.result.outputs. Upload your file directly, up to 10 MB and 20 pages per request. The Free OXR API requires no authentication, so you can omit api_key. See SoMark and OXR integration differences for element formats and parsing options. To process the file in the background, submit an async task.

Body

multipart/form-data
file
file
required

PDF, PNG, JPG, JPEG, BMP, TIF, TIFF, or WebP upload. Up to 10 MB and 20 pages.

output_formats
enum<string>[]

Send one form field per format.

Available options:
markdown,
json
api_key
string

Optional placeholder. The Free API does not validate this field.

Example:

"dummy"

element_formats
object

Element output formats. Encode as a JSON object in one form field.

feature_config
object

Parsing options. Encode as a JSON object in one form field.

extra
object

Model sampling options. Encode as a JSON object in one form field.

Response

Parsing result or API error.

code
integer

0 indicates success. Check this field even if the HTTP status is 200.

Example:

0

message
string
Example:

"任务成功"

warnings
string[]
Example:
data
object | null