Skip to content

Parse HTML

POST
/v1/parse/{parserId}

Upload HTML content directly for parsing with your custom parser. The parser extracts structured data based on the schema you configured in the dashboard.

Limits: 16 MB HTML, 64 MB total request body.

parserId
required
string

Your parser ID from the dashboard.

object
html
required

HTML content to parse.

string format: binary

Extracted structured data. Shape depends on your parser schema.

Extracted data matching your parser schema.

object

Invalid request (missing html part, malformed HTML).

Missing or invalid API key.

object
error

Error message.

string
Example
invalid or inactive api_key

Parser schema not found.

HTML content exceeds 16 MB limit.

Failed to extract data from the HTML.

Rate limit exceeded.

object
error

Error message.

string
Example
invalid or inactive api_key
Retry-After
integer

Seconds to wait before retrying.