Predicta
Search
Docs
Ctrl KPredicta SearchGet an API key
API reference

Errors

Errors are JSON, {"detail": "<message>"}. A request answered with an error never uses a credit.
StatusdetailWhat to do
401Invalid or missing API KeyCheck the x-api-key header
402No enough API quota. Please buy API credits at https://predictasearch.com/apiBuy credits
403This search is not allowedThe person searched objected to the processing of their data. Do not retry
403Your account is locked. Please contact an administratorContact support
422Incorrect query formatCheck the query against its query format
422No network to search for this query type. Please check the available networks at /api/networks.None of the networks named can be queried with this query_type. Check GET /api/networks
422Validation detailsThe body is not valid JSON, or a field is missing or unknown
429Too many searches in progress. Please wait for one to finish.Wait Retry-After seconds, or for one of your searches to end
503Maintenance in progress. Please try again laterTry again later
503Search is temporarily unavailableTry again later

Stream the results

StatusdetailWhat to do
401Invalid or missing API KeyCheck the x-api-key header
403This search is not allowedThe person searched has objected since the search started, and its results are deleted. Do not retry
403Your account is locked. Please contact an administratorContact support
404The requested resource is not foundUnknown search_id, started by another key, or ended more than 1 hour ago
422Invalid Last-Event-ID headerSend the id of an event you received, a whole number
429Too many stream openings. Please wait before reconnecting.Wait Retry-After seconds before reconnecting
503Search is temporarily unavailableTry again later