---
title: "Details"
method: GET
path: "/as/{asn}"
tags: ["Autonomous Systems"]
---

# Details

`GET /as/{asn}`

Returns details about the autonomous system (AS) by its number.

## Path parameters

- `asn` integer, required

## Response `200`

Operation successful

- ASResponse
  - `data` ASResponseData
    - `items` AS[]
      - `as_org` string — The name of organization that is associated with the autonomous system.
      - `asn` integer — The number of the autonomous system.
      - `ipv4_prefixes` IPV4Prefix[] — The list of IPv4 prefixes that belong to this autonomous system.
        - `cidr` string
        - `domains_count` integer
        - `isp` string
      - `ipv4_prefixes_updated_at` string, date-time
      - `ipv6_prefixes` IPV6Prefix[] — The list of IPv6 prefixes that belong to this autonomous system.
        - `cidr` string
        - `isp` string
      - `ipv6_prefixes_updated_at` string, date-time
      - `updated_at` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/spyse/apis/data-api.md) · [All operations](https://skmtc.dev/spyse/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spyse/data-api/revisions/fd05b83ed2c5/schema)
