Specific Errors Scenarios

Too many results for an API request

This API request displays data that has been newly registered in the last month or that has changed SSL and Domain registration information, so the API monitors millions of domains daily. Hence, you should specify your filter parameters in the most detailed way so that there are no more than 10K results for a request. For example, the following error is returned because only a very general filter term is selected.

$ curl --request POST \
     --url https://api.deepinfo.com/v1/monitoring/registration/monitors \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "filters": {
          "should": [
               {
                    "name": "domain.name.contains_letter",
                    "type": "eq",
                    "value": "true"
               }
          ]
     }
HTTP/1.1 400 BAD REQUEST ERROR
...
{
  "code": 21000,
  "reason": "Could not create new monitor, please check your filter configurations, there are more than 10.000 results with this monitor config.Need more data? Contact us at [email protected]."
}