Dry-run a parser
POST /v1/parsers/test
Run an inline v2 config or owned stored parser through the production extraction path. Supply exactly one of config/parser_id and exactly one of url/body. URL tests bill scrape credits and have an additional 30/minute cap; body tests (maximum 2 MB) are free. Nothing is stored.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
A v2 flat parser config. See the Parsers guide for HTML, JSON, API, regex, list mode, field typing, and transforms.
object
object
object
Fetch override. Credit price depends on browser and proxy settings.
object
default, highquality, hardcore, premium, or premium:<country code>.
Responses
Section titled “ Responses ”Compact extraction diagnostics.
object
object
object
object
Malformed request.
object
Example
invalid requestField that failed validation.
Missing or invalid API key.
object
Example
invalid requestField that failed validation.
Insufficient unreserved credits.
object
Example
insufficient creditsResource missing or not owned by this account.
object
Example
invalid requestField that failed validation.
Validation failed.
object
Example
invalid requestField that failed validation.
Request, concurrency, or plan limit exceeded.
Headers
Section titled “Headers ”Seconds to wait when supplied.