Search Errors

Web Data

The Search API can return different error responses when a request cannot be completed. Most documented error statuses use ErrorResponse.

Successful empty results

A 200 response can include an empty results array when the engine answered and found nothing. That search is not charged.

Error response shape

{
  "code": "PINNED_ENGINE_UNAVAILABLE",
  "message": "Human-readable error description",
  "correlation_id": "4a9ef715-b20f-4b7f-a2e0-6c0128994171",
  "retryable": true,
  "details": {}
}
FieldDescription
codeMachine-readable error code
messageHuman-readable error description
correlation_idRequest correlation id
retryableWhether a retry may succeed
detailsExtra context, when present

Validation failures (for example page above the allowed max) can also return FastAPI-style {"detail": [...]} bodies.

Common statuses

StatusOpenAPI meaning
401Unauthorized
402Billing refused the request: no balance, no active subscription, or the key's spend cap; see Billing Refusals
403Billing does not allow this API key; see Billing Refusals
408Request timed out
422Upstream blocked the query, or it returned no results (also used for some validation cases)
429Request throttled
500Internal server error
502Upstream unreachable (includes pinned-engine failures such as PINNED_ENGINE_UNAVAILABLE)
503Service temporarily unavailable

If you pin engine and that engine fails, the API does not fall back. Omit engine when you want rotation and fallback.

Handle errors in your application

response = requests.post(
    "https://scraper.geonode.io/v1/search",
    headers={
        "X-Api-Key": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "query": "web scraping best practice"
    }
)

if response.status_code == 200:
    data = response.json()
else:
    print(response.json())

What's Next?

For the complete request and response definitions, see the Search API Reference.

Was this page helpful?

On this page