Piloterr

Domain DNSBL

Usar em massa com o DataflowExecute este endpoint sobre um arquivo ou uma lista, uma vez ou com agendamento.

GET
/v2/domain/dnsbl

Check if a domain or IP address is listed in DNS-based blacklists (DNSBL), with detailed provider-level detection and category information.

Credit cost: 1 credit per call

Autorização

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parâmetros de consulta

query*string

A domain name or IP address to check against DNS-based blacklists (DNSBL).

Examples:

185.122.10.10

The API checks the input against hundreds of DNSBL providers and returns whether it has been blacklisted, along with the list of detecting providers and their categories.

Note: Both IPv4 addresses and domain names are accepted.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corpo da resposta

Successful response

application/json
  1. response
address?string
detected?
providers?
blacklisted?boolean
Example Request
curl -X GET 'https://api.piloterr.com/v2/domain/dnsbl?query=string'
Example Response
{
  "address": "185.122.xx.xx",
  "detected": {
    "count": 5,
    "providers": [
      "dbl.spamhaus.org",
      "spambot.bls.digibase.ca",
      "abuse-contacts.abusix.org",
      "origin.asn.cymru.com",
      "peer.asn.cymru.com"
    ],
    "categories": {
      "dbl.spamhaus.org": [
        "unknown"
      ],
      "peer.asn.cymru.com": [
        "unknown"
      ],
      "origin.asn.cymru.com": [
        "unknown"
      ],
      "spambot.bls.digibase.ca": [
        "unknown"
      ],
      "abuse-contacts.abusix.org": [
        "unknown"
      ]
    }
  },
  "providers": {
    "failed": [
      "list.bbfh.org",
      "dnsbl.darklist.de",
      "dnsbl.isx.fr"
    ],
    "domains": [
      "dbl.spamhaus.org",
      "spambot.bls.digibase.ca",
      "zen.spamhaus.org"
    ],
    "failed_count": 23,
    "domains_count": 271
  },
  "blacklisted": true
}