---
title: "ASN announced IPv4 + IPv6 prefixes"
method: GET
path: "/api/v1/network/asn/{asn}/prefixes"
tags: ["Sugra NetAtlas"]
---

# ASN announced IPv4 + IPv6 prefixes

`GET /api/v1/network/asn/{asn}/prefixes`

Imp-6: ipv4/ipv6 prefix lists were hard-capped at 100 while the counts
reported the full totals. Both lists now page under one shared limit/offset
with a ``pagination`` block (per-family ``truncated``/``next_offset``);
``ipv4_count``/``ipv6_count``/``total_prefixes`` still report full totals.

## Path parameters

- `asn` integer, required

## Query parameters

- `limit` integer — Max prefixes per IP family in this page.
- `offset` integer — 0-based offset into each family.

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Missing or invalid `x-api-key` header.
- `422` — Validation Error
- `429` — Daily rate limit exceeded. Check `X-RateLimit-Reset` for the next window.
- `503` — Upstream source is temporarily unavailable. Retry after a short delay.

---

[API](https://skmtc.net/sugra/apis/sugra-api.md) · [All operations](https://skmtc.net/sugra/apis/sugra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sugra/sugra-api/versions/4e2740743eb4/schema)
