getapi-nl DNSBL / Spam Blacklist API

The DNSBL / Spam Blacklist API from getapi-nl — 1 operation(s) for dnsbl / spam blacklist.

Operations 1

POST /v1/validate/dnsbl Check an IP address against DNS-based blacklists (RBLs) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/getapi-nl:getapi-nl-dnsbl-spam-blacklist-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

getapi-nl-dnsbl-spam-blacklist-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GetApi DNSBL / Spam Blacklist API
  version: 0.0.1
  description: '## Authentication


    All API endpoints require authentication. Include your API key in every request using **one** of the following methods:


    **Option 1 — X-Api-Key header (recommended)**

    ```

    X-Api-Key: ga_live_xxxxxxxxxxxxxxxxxxxx

    ```


    **Option 2 — Bearer token**

    ```

    Authorization: Bearer ga_live_xxxxxxxxxxxxxxxxxxxx

    ```


    You can generate and manage API keys in your dashboard.


    ## AI & Agent Payments (x402)


    Some endpoints support direct payments for AI agents via the **x402** protocol (https://www.x402.org).

    No API key or account is needed. Send a normal request without key;

    the server will respond with **HTTP 402** and a `PAYMENT-REQUIRED` header:


    ```

    PAYMENT-REQUIRED:

    ```


    This base64 string contains, among other things, `network`, `asset`, `amount`, and `payTo`.

    Your agent signs an EIP-3009 *transferWithAuthorization* for the specified `amount` of USDC to that `payTo` address,

    encodes the signature as base64, and resubmits the request with:


    ```

    PAYMENT-SIGNATURE:

    ```


    The server verifies the signature via a facilitator, provides the data, and settles the payment on-chain.

    The success response includes a `PAYMENT-RESPONSE` header containing the transaction information.

    A one-time `nonce` prevents replay attacks. Payments are made in USDC on **Base**;

    the price is determined by the `credit_cost` of the endpoint.'
  contact:
    email: info@wdnoord.nl
  x-guidance: 'GetAPI.nl is een Nederlandse API-platform voor lookups en validaties (postcode,

    adres, kenteken, BTW, e-mail, KVK, IBAN, energiemaatwerk, overheidsdata). Elke

    endpoint accepteert een API key via de X-Api-Key header of Authorization:

    Bearer <key>.


    Sommige endpoints zijn ook direct betaalbaar voor AI-agents via het x402-protocol

    (https://www.x402.org) zonder account of API key: stuur een verzoek zonder key,

    de server antwoordt met HTTP 402 en een PAYMENT-REQUIRED header (base64 JSON met

    network, asset, amount, payTo). Teken daarna een EIP-3009 transferWithAuthorization

    voor het gevraagde bedrag in USDC op Base en hertrail met een PAYMENT-SIGNATURE

    header. De server verifieert, levert de data en settleert on-chain.


    Tips voor agents:

    - Lees eerst de PAYMENT-REQUIRED header van een 402-antwoord; die is leidend.

    - Geef altijd de exact door de server gevraagde parameters mee.

    - Een endpoint met een "x-payment-info" blok vereist betaling voor gebruik.'
servers:
- url: https://api.getapi.nl
  description: GetAPI
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: DNSBL / Spam Blacklist
paths:
  /v1/validate/dnsbl:
    post:
      operationId: validation.dnsbl
      description: 'Checks an IP address against 5 public DNSBL / RBL zones (Spamhaus, SpamCop,

        SORBS, Barracuda, PSBL) by querying their DNS-based blacklists. This is a

        lightweight, realtime check without any external API calls or rate limits.

        Results are cached per IP for 1 hour.


        Useful for inbound mail filtering, form submission blocking, and general

        IP reputation checks. Combine with our email validation APIs for a full

        anti-spam suite.'
      summary: Check an IP address against DNS-based blacklists (RBLs)
      tags:
      - DNSBL / Spam Blacklist
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ip:
                  type: string
              required:
              - ip
      responses:
        '200':
          description: DNSBL check found listings
          content:
            application/json:
              schema:
                type: object
                examples:
                - ip: 185.130.5.133
                  listed: true
                  blacklists:
                  - zone: zen.spamhaus.org
                    listed: true
                    return_code: 127.0.0.2
                    description: SBL — Directe spam-bron
                  - zone: bl.spamcop.net
                    listed: false
                    return_code: null
                    description: null
                  - zone: dnsbl.sorbs.net
                    listed: true
                    return_code: 127.0.0.6
                    description: SORBS — variërend per sub-code
                  - zone: b.barracudacentral.org
                    listed: false
                    return_code: null
                    description: null
                  - zone: psbl.com
                    listed: false
                    return_code: null
                    description: null
                  total_checks: 5
                  listed_count: 2
                properties:
                  ip:
                    type: string
                  listed:
                    type: boolean
                  blacklists:
                    type: array
                    items:
                      type: object
                      properties:
                        zone:
                          type: string
                        listed:
                          type: boolean
                        return_code:
                          type:
                          - string
                          - 'null'
                        description:
                          type:
                          - string
                          - 'null'
                      required:
                      - zone
                      - listed
                      - return_code
                      - description
                  total_checks:
                    type: integer
                  listed_count:
                    type: integer
                required:
                - ip
                - listed
                - blacklists
                - total_checks
                - listed_count
        '422':
          $ref: '#/components/responses/ValidationException'
        '402':
          description: Payment Required
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.010000'
        protocols:
        - x402: {}
      parameters: []
components:
  responses:
    ValidationException:
      description: Unprocessable content
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: Machine-readable error code.
              message:
                type: string
                description: Human-readable error message.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
            - error
            - message
            - errors
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
    BearerAuth:
      type: http
      scheme: bearer