API reference
Errors
Errors are JSON,
{"detail": "<message>"}. A request answered with an error never uses a credit.Search
| Status | detail | What to do |
|---|---|---|
| 401 | Invalid or missing API Key | Check the x-api-key header |
| 402 | No enough API quota. Please buy API credits at https://predictasearch.com/api | Buy credits |
| 403 | This search is not allowed | The person searched objected to the processing of their data (GDPR art. 21). Do not retry |
| 403 | Your account is locked. Please contact an administrator | Contact support |
| 422 | Incorrect query format | Check the query against its query format |
| 422 | Validation details | The body is not valid JSON, or a field is missing or unknown |
| 503 | Maintenance in progress. Please try again later | Try again later |
| 503 | Search is temporarily unavailable | Try again later |
The errors of List networks are on its page.