GET
/
public
/
user
/
asn
/
search
curl --request GET \
  --url https://api.pingproxies.com/1.0/public/user/asn/search \
  --header 'X-API-Private-Key: <api-key>' \
  --header 'X-API-Public-Key: <api-key>'
{
  "data": [
    {
      "asn_id": 13335,
      "asn_ip_address_count": 1791744,
      "asn_name": "Cloudflare, Inc.",
      "asn_rir": "apnic",
      "asn_type": "hosting",
      "country_id": "us"
    }
  ],
  "item_count": 1,
  "message": "Asn search successful.",
  "page": 1,
  "per_page": 10,
  "total_count": 1
}

Authorizations

X-API-Private-Key
string
header
required

Private API key for user-level authentication.

X-API-Public-Key
string
header
required

Public API key for user-level authentication.

Query Parameters

asn_id
string

Unique identifier of the ASN

asn_name
string

Name associated with the ASN

country_id
string

Country identifier where the ASN is registered

asn_type
string

Type of the ASN (e.g., hosting, isp, business, etc.)

asn_rir
string

Regional Internet Registry (RIR) associated with the ASN

asn_ip_address_count
string

Count of IP addresses associated with the ASN

per_page
integer

Number of items per page for pagination

page
integer

Page number for pagination

sort_by
string

Key for sorting or random.

Response

200 - application/json
Successful ASN search

Asn search was successful.

data
object[]

Array of Asn items matching the search criteria up to the limit of per_page paramater.

item_count
integer

Total number of Asn items returned in the data field.

message
string

Status message for the search.

page
integer

Current page number of the search results returned.

per_page
integer

Number of Asn items returned per page.

total_count
integer

Total of Asn items that match the search filter.