Bulk ASN Subnet Information

Prev Next
POST /explore/bulk/asn2subnet

Get subnets for a list of AS numbers.

JSON Parameters:

  • body (JSON) (required) -

    • a JSON object containing a list of IPv4 addresses

      • {"asns": ["<asn1>","<asn2>",...,"<asnN>"]}

Request headers:

  • X-API-KEY - api-key

  • Content-Type - application/json

Example Request

https://api.silentpush.com/api/v1/merge-api/explore/bulk/asn2subnet \
     -d '{"asns": [12734, 5]}'

Example Response

{
    "status_code": 200,
    "error": null,
    "response": {
        "asn2subnet": [
            {
                "asn": 12734,
                "asn_allocation_age": 7935,
                "asn_allocation_date": 19991019,
                "asn_rank": 0,
                "asn_reputation": 0,
                "asn_takedown_reputation": 0,
                "asname": "FIAT-AS1 Via Plava, 86 - 10135 Torino, IT",
                "date": 20210710,
                "malscore": 0,
                "subnets": [
                "151.91.32.0/20",
                "151.91.34.0/24",
                "151.91.35.0/24",
                "151.91.36.0/22"
                ]
            },
            {
                "asn": 9,
                "asn_allocation_age": 13598,
                "asn_allocation_date": 19840417,
                "asn_rank": 0,
                "asn_reputation": 0,
                "asn_takedown_reputation": 0,
                "asname": "CMU-ROUTER, US",
                "date": 20210710,
                "malscore": 0,
                "subnets": [
                "128.2.0.0/16",
                "128.237.0.0/16",
                "192.12.32.0/24",
                "192.5.146.0/24",
                "192.58.107.0/24",
                "192.80.210.0/24",
                "204.194.28.0/22",
                "209.129.244.0/23"
                ]
            }
        ]
    }
}