---
title: "Search ASN"
method: GET
path: "/public/user/asn/search"
tags: ["ASN"]
---

# Search ASN

`GET /public/user/asn/search`

Search Autonomous System Number (ASN) entries using various filters.

## Query parameters

- `asn_id` string
- `asn_name` string
- `country_id` string
- `asn_type` string
- `asn_rir` string
- `asn_ip_address_count` string
- `asn_node_count` integer
- `per_page` integer
- `page` integer
- `sort_by` string

## Response `200`

Successful ASN search

- AsnSuccessfulSearchResponse — Asn search was successful.
  - `data` object[] — Array of Asn items matching the search criteria up to the limit of per_page paramater.
    - `asn_id` integer
    - `asn_ip_address_count` integer
    - `asn_name` string
    - `asn_node_count` integer
    - `asn_rir` 'arin' | 'ripe' | 'apnic' | 'lacnic' | 'afrinic' | 'jpnic'
    - `asn_type` 'business' | 'cdn' | 'education' | 'gov' | 'hosting' | 'isp'
    - `country_id` string
  - `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.

---

[API](https://skmtc.dev/byteful/apis/byteful-public-user-api.md) · [All operations](https://skmtc.dev/byteful/apis/byteful-public-user-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/byteful/byteful-public-user-api/revisions/3db1a6fc0099/schema)
