Skip to content

Scrape and parse (POST)

POST
/v1/scrape/{parserId}

Same as GET but accepts the target URL in a JSON body. Useful when the URL contains special characters.

parserId
required
string

Your parser ID from the dashboard.

object
url
required

Target URL to scrape.

string
Example
https://example.com/page

Extracted structured data.

Extracted data matching your parser schema.

object
X-Credits-Used
integer

Credits consumed by this request.

X-Credits-Remaining
integer

Remaining credit balance.

Missing URL or parser ID.

Missing or invalid API key.

object
error

Error message.

string
Example
invalid or inactive api_key

Insufficient credits.

Parser schema not found.

Rate limit exceeded.

object
error

Error message.

string
Example
invalid or inactive api_key
Retry-After
integer

Seconds to wait before retrying.

Failed to fetch content from target URL.