---
title: "Registry route objects originated by an ASN (RIPE DB inverse origin)"
method: GET
path: "/api/v1/network/asn/{asn}/registry-routes"
tags: ["Sugra NetAtlas"]
---

# Registry route objects originated by an ASN (RIPE DB inverse origin)

`GET /api/v1/network/asn/{asn}/registry-routes`

Every route / route6 object in the RIPE Database whose origin: is this ASN - the REGISTRY view of what the AS is authorised to announce (distinct from the live-BGP announced-prefixes from /asn/{asn}/prefixes). Inverse lookup on the origin attribute; route objects split across the ripe and ripe-nonauth sources, both covered by the default global. Upstream registry: 'global' (all RIRs via GRS, default) | ripe | ripe-nonauth | <rir>-grs.

## Path parameters

- `asn` integer, required — Origin ASN.

## Query parameters

- `source` string — Upstream registry: 'global' (all RIRs via GRS, default) | ripe | ripe-nonauth | <rir>-grs.
- `limit` integer — Max objects returned.
- `prefer` string — Serving preference for the W7 local graph: 'local' (serve local for RIPE-region-scoped queries with live fallback, default) | 'live' (force the live RIPE Database). See _meta.served_from. The v1 graph is RIPE-region-only, so the default source=global stays live (not_covered); use ?source=ripe/ripe-nonauth to serve from the local graph.

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Missing or invalid `x-api-key` header. JSON body with a stable `code` distinguishing `missing_api_key` (no header sent) from `invalid_api_key` (header sent, key not accepted); any other 401 source carries the generic `unauthorized` with its detail as `reason`. Plus `hint`. `plan` is always null on 401 - an unauthenticated request has no plan; quota exhaustion is 429, not 401.
- `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/062b7040e9bc/schema)
