---
title: "ASN resources by country"
method: GET
path: "/api/v1/network/asn"
tags: ["Sugra NetAtlas"]
---

# ASN resources by country

`GET /api/v1/network/asn`

When ?country={cc} is provided, returns the ASN + IPv4 + IPv6 resource counts allocated to that country. Replaces the legacy /bgp/country/{cc}/resources path per spec section 12.

## Query parameters

- `country` string, nullable — ISO 3166-1 alpha-2 country code.
- `limit` integer — Max items per resource list (asn/ipv4/ipv6) in this page.
- `offset` integer — 0-based offset into each resource list.

## 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/revisions/4e2740743eb4/schema)
