HTTP Status Codes
The ProWebLook API uses conventional HTTP response codes to indicate the success or failure of a request.Error Response Format
All errors return a JSON body with anerror key:
Common Errors
401 — Invalid API Key
401 — Invalid API Key
Cause: The
api_key parameter is missing or does not match any registered user account.Resolution: Double-check your API key from the ProWebLook dashboard and ensure it is passed correctly as a query parameter or body field.402 — Insufficient Credits
402 — Insufficient Credits
Cause: Your credit balance for the requested service has been depleted.Resolution: Top up your credits from the ProWebLook dashboard. Use the Balance API to check your current balance before bulk operations.
400 — Missing Parameters
400 — Missing Parameters
Cause: A required parameter is missing from the request.Resolution: Check the endpoint documentation and ensure all required fields are present.
400 — Batch Size Exceeded
400 — Batch Size Exceeded
Cause: More than 1,000 phone numbers were submitted in a single batch request.Resolution: Split your list into batches of 1,000 or fewer.
404 — Batch Not Found
404 — Batch Not Found
Cause: The
batch_id does not exist or does not belong to the provided API key.Resolution: Ensure you are polling with the same api_key that submitted the batch, and that the batch_id is correct.400 — Invalid Scraping Format
400 — Invalid Scraping Format
Cause: One or more values in the
formats array are not supported by the Scraping API.Resolution: Use only valid formats: markdown, html, rawHtml, links, metadata, screenshot.400 — Invalid Scraping URL
400 — Invalid Scraping URL
Cause: The
url field is missing or is not a valid http/https URL.Resolution: Ensure your url starts with http:// or https:// and is a well-formed URL.500 — Scraping Upstream Error
500 — Scraping Upstream Error
Cause: The upstream scraping service returned an error (e.g., the target site is unreachable or timed out).Resolution: Retry the request once. If it persists, check that the target URL is reachable, or increase the
timeout value.