Scrape and parse (GET)
GET /v1/scrape/{parserId}
GET
/v1/scrape/{parserId}
Provide a URL and Parsium fetches the page, then extracts structured data using your custom parser. Pass the target URL as a query parameter.
Credit cost varies by scrape configuration:
| Proxy | No Browser | With Browser |
|---|---|---|
| Default | 1 | 5 |
| High Quality | 10 | 25 |
| Hardcore (stealth) | 80 | 80 |
Timeout: 120 seconds.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” parserId
required
string
Your parser ID from the dashboard.
Query Parameters
Section titled “Query Parameters ” url
required
string
Target URL to scrape.
Example
https://example.com/pageResponses
Section titled “ Responses ”Extracted structured data.
Extracted data matching your parser schema.
object
Headers
Section titled “Headers ” 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_keyInsufficient credits.
Parser schema not found.
Rate limit exceeded.
object
error
Error message.
string
Example
invalid or inactive api_keyHeaders
Section titled “Headers ” Retry-After
integer
Seconds to wait before retrying.
Failed to fetch content from target URL.