Bulk ASN History Information

Prev Next
POST /explore/bulk/history/asn2subnet

Get information for multiple IPv4 addresses for multiple dates.

JSON Parameters:

  • body (JSON) (required) -

    • a JSON object containing a list of IPv4 addresses
      a JSON object containing a list of IPv4 addresses

      • {"ips": ["<ip1>","<ip2>",...,"<ipN>"]}
      • "dates": [yyyymmdd, yyyymmdd, ...]}

Request headers:

  • X-API-KEY - api-key

  • Content-Type - application/json

Example Request

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

Example Response

{
    "status_code": 200,
    "error": null,
    "response": {
        "asn2subnet": [
            [
                {
                    "asn": 12734,
                    "asname": "FIAT-AS1 Via Plava, 86 - 10135 Torino, IT",
                    "date": 20210509,
                    "subnets": [
                        "151.91.32.0/20",
                        "151.91.34.0/24",
                        "151.91.35.0/24",
                        "151.91.36.0/22"
                    ]
                },
                {
                    "asn": 9,
                    "asname": "CMU-ROUTER, US",
                    "date": 20210509,
                    "subnets": [
                        "103.157.101.0/24",
                        "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"
                    ]
                }
            ],
            [
                {
                    "asn": 12734,
                    "asname": "FIAT-AS1 Via Plava, 86 - 10135 Torino, IT",
                    "date": 20201123,
                    "subnets": [
                        "151.91.32.0/20",
                        "151.91.34.0/24",
                        "151.91.35.0/24",
                        "151.91.36.0/22"
                    ]
                },
                {
                    "asn": 9,
                    "asname": "CMU-ROUTER, US",
                    "date": 20201123,
                    "subnets": [
                        "128.2.0.0/16",
                        "128.237.0.0/16",
                        "147.72.252.0/22",
                        "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"
                    ]
                }
            ]
        ]
    }
}