BGPKIT API v3.0.0
This page is generated from the live OpenAPI specification to stay in sync with the API surface.
BGPKIT API provides access to BGP data and tools offered by BGPKIT. [](https://bgpkit.com)
Examples
These examples are derived from the OpenAPI spec (paths + parameter defaults/examples when provided).
# Search BGP MRT files
curl "https://api.bgpkit.com/v3/broker/search?page=1&page_size=100"
# Get latest BGP MRT files
curl "https://api.bgpkit.com/v3/broker/latest"
# Get BGP peer information
curl "https://api.bgpkit.com/v3/broker/peers?full_feed=false"
# IP address lookup
curl "https://api.bgpkit.com/v3/utils/ip?simple=false"
# ASN information lookup
curl "https://api.bgpkit.com/v3/utils/asn" Tip: if you need a parameter not shown here, scroll down to the endpoint listing for the full parameter set.
Endpoints
Grouped by tag from the OpenAPI spec. Each endpoint includes an auto-generated curl template and parameter list.
BGPKIT Broker
/v3/broker/collectors curl "https://api.bgpkit.com/v3/broker/collectors" | Name | In | Required | Notes |
|---|---|---|---|
| project | query | no | Filter by collector project ( string ) |
| country | query | no | Filter by country code (e.g., 'US', 'DE', 'JP') ( string ) |
| active | query | no | Filter for active collectors only (not deactivated) ( boolean ) |
/v3/broker/events curl "https://api.bgpkit.com/v3/broker/events" | Name | In | Required | Notes |
|---|---|---|---|
| collector_id | query | no | Filter events by collector ID(s). Comma-separated for multiple. Examples: 'rrc23', 'route-views.sg', 'rrc01,rrc02' ( string ) |
| data_type | query | no | Filter by data type: 'rib' or 'updates' ( string ) |
| project | query | no | Filter by project: 'routeviews' or 'riperis' ( string ) |
/v3/broker/health curl "https://api.bgpkit.com/v3/broker/health" /v3/broker/latest curl "https://api.bgpkit.com/v3/broker/latest" /v3/broker/peers curl "https://api.bgpkit.com/v3/broker/peers?full_feed=false" | Name | In | Required | Notes |
|---|---|---|---|
| full_feed | query | no | Filter for full-feed peers only (>700K IPv4 or >100K IPv6 prefixes) ( boolean ) |
| ip | query | no | Filter by specific peer IP address (IPv4 or IPv6) |
| asn | query | no | Filter by Autonomous System Number ( integer ) |
| collector | query | no | Filter by collector name(s). Comma-separated for multiple collectors. ( string ) |
/v3/broker/search curl "https://api.bgpkit.com/v3/broker/search?page=1&page_size=100" | Name | In | Required | Notes |
|---|---|---|---|
| page | query | no | Page number (starts from 1) ( integer ) |
| page_size | query | no | Results per page (1-1000, default: 100) ( integer ) |
| ts_start | query | no | Start timestamp (ISO 8601, RFC3339, or Unix timestamp) ( string ) |
| ts_end | query | no | End timestamp (same formats as ts_start) ( string ) |
| project | query | no | Data collection project: "routeviews" or "riperis" ( string ) |
| collector_id | query | no | Specific collector ID(s). Comma-separated for multiple collectors. ( string ) |
| data_type | query | no | Data type: "rib" (routing table snapshots) or "updates" (routing changes) ( string ) |
/v3/broker/streams curl "https://api.bgpkit.com/v3/broker/streams" | Name | In | Required | Notes |
|---|---|---|---|
| collector | query | no | Filter by broker collector_id (e.g. 'route-views.amsix') or stream_collector name (e.g. 'amsix'). Partial match support… ( string ) |
BGPKIT ROAS
/v3/roas/health curl "https://api.bgpkit.com/v3/roas/health" /v3/roas/search curl "https://api.bgpkit.com/v3/roas/search?page=0" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | no | Filter by origin ASN ( integer ) |
| prefix | query | no | IP prefix to search, e.g. 8.8.8.0/24 ( string ) |
| max_len | query | no | Filter by max length ( integer ) |
| date | query | no | Date filter, format YYYY-MM-DD, e.g. 2024-02-01 ( string ) |
| current | query | no | Only return currently valid ROAs ( boolean ) |
| page | query | no | Page number (0-based) ( integer ) |
| page_size | query | no | Results per page (max 1000) ( integer ) |
| exact | query | no | If true, only exact prefix matches; if false, include supernets and subnets ( boolean ) |
/v3/roas/validate curl "https://api.bgpkit.com/v3/roas/validate" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | yes | IP prefix to validate, e.g. 8.8.8.0/24 (required) ( string ) |
| asn | query | no | Origin ASN to validate against (required) ( integer ) |
| date | query | no | Date for historical validation, format YYYY-MM-DD (default: latest available) ( string ) |
BGPKIT Utils
/v3/communities curl "https://api.bgpkit.com/v3/communities?asn=174&value=174%3A21000&description=blackhole" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | no | Filter by ASN number ( string ) |
| value | query | no | Specific community value to lookup (e.g., 174:21000 or 174:20xxx) ( string ) |
| description | query | no | Filter by description text (partial match) ( string ) |
| as_name | query | no | Filter by AS organization name (partial match) ( string ) |
| country | query | no | Filter by country code (ISO 3166-1 alpha-2) ( string ) |
| page | query | no | Page number (0-indexed, default: 0) ( string ) |
| page_size | query | no | Items per page (default: 10, max: 1000) ( string ) |
/v3/communities/sources curl "https://api.bgpkit.com/v3/communities/sources" /v3/utils/asn curl "https://api.bgpkit.com/v3/utils/asn" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | no | ASN number(s) to lookup. Single or comma-separated multiple ASNs. Omit for paginated browsing or filtering. ( string ) |
| country | query | no | Filter by country code (ISO 3166-1 alpha-2, e.g., US, DE, JP) ( string ) |
| search | query | no | Search by AS name or organization name (case-insensitive partial match) ( string ) |
| page | query | no | Page number for paginated results when browsing all ASNs ( number ) |
| page_size | query | no | Number of ASNs per page for pagination (max 10000) ( number ) |
/v3/utils/asn curl -X POST "https://api.bgpkit.com/v3/utils/asn" /v3/utils/ip curl "https://api.bgpkit.com/v3/utils/ip?simple=false" | Name | In | Required | Notes |
|---|---|---|---|
| ip | query | no | IP address to analyze (IPv4 or IPv6). Uses client IP if omitted. ( string ) |
| simple | query | no | Return only IP and country (excludes ASN and BGP data) ( boolean ) |
Collectors
/v4/mrt/collectors curl "https://api.bgpkit.com/v4/mrt/collectors" | Name | In | Required | Notes |
|---|---|---|---|
| project | query | no | Collector project: `ripe-ris` or `route-views`. ( string ) |
| country | query | no | Two-letter country code, upper-cased before comparison. ( string ) |
| active | query | no | `true` keeps collectors that are not deactivated, `false` keeps the retired ones. ( boolean ) |
/v4/mrt/collectors/file-counts curl "https://api.bgpkit.com/v4/mrt/collectors/file-counts" /v4/mrt/collectors/latest curl "https://api.bgpkit.com/v4/mrt/collectors/latest" | Name | In | Required | Notes |
|---|---|---|---|
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` or `route-views`. ( string ) |
/v4/mrt/collectors/peer-update-counts curl "https://api.bgpkit.com/v4/mrt/collectors/peer-update-counts?limit=200" | Name | In | Required | Notes |
|---|---|---|---|
| collector | query | yes | Collector to answer for (required). ( string ) |
| peer_asn | query | no | The collector's session peer ASN, as bare digits. Required unless `asn` is given. ( integer ) |
| asn | query | no | Deprecated alias for `peer_asn`. ( integer ) |
| since | query | no | Window start: `YYYY-MM-DD` or an ISO timestamp, at most seven days back; omit it for the last 24 hours. ( string ) |
| limit | query | no | Rows to return (0-2000, default 200); a larger limit is clamped. ( integer ) |
/v4/mrt/collectors/peer-update-totals curl "https://api.bgpkit.com/v4/mrt/collectors/peer-update-totals?limit=25" | Name | In | Required | Notes |
|---|---|---|---|
| collector | query | yes | Collector to answer for (required). ( string ) |
| since | query | no | Window start: `YYYY-MM-DD` or an ISO timestamp, at most seven days back; omit it for the last 24 hours. ( string ) |
| limit | query | no | Rows to return (0-500, default 25); a larger limit is clamped. ( integer ) |
/v4/mrt/collectors/peers curl "https://api.bgpkit.com/v4/mrt/collectors/peers?page_size=100" | Name | In | Required | Notes |
|---|---|---|---|
| collector | query | no | Collector name as the store carries it (rrc00, route-views2). ( string ) |
| asn | query | no | ASN as bare digits (13335) or with the AS prefix (AS13335). ( string ) |
| family | query | no | Restrict to one address family. ( integer ) |
| page | query | no | Page number (1-based, 1-100000); a larger page is a 400. ( integer ) |
| page_size | query | no | Rows per page (1-500, default 100); a larger page_size is a 400. ( integer ) |
/v4/mrt/collectors/reset-events curl "https://api.bgpkit.com/v4/mrt/collectors/reset-events" | Name | In | Required | Notes |
|---|---|---|---|
| since | query | yes | Window start (required), inclusive: an episode that ends at or after it and starts before `until` is included. ( string ) |
| until | query | yes | Window end (required), exclusive: an episode starting at it is not included. ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
/v4/mrt/collectors/rib-coverage curl "https://api.bgpkit.com/v4/mrt/collectors/rib-coverage" Meta
/v4/meta/freshness curl "https://api.bgpkit.com/v4/meta/freshness" /v4/meta/health curl "https://api.bgpkit.com/v4/meta/health" Metrics
/v3/metrics curl "https://api.bgpkit.com/v3/metrics" | Name | In | Required | Notes |
|---|---|---|---|
| authorization | header | no | Bearer bgpkit_public ( string ) |
MRT
/v4/mrt/attributes curl "https://api.bgpkit.com/v4/mrt/attributes" | Name | In | Required | Notes |
|---|---|---|---|
| since | query | yes | Window start (required), inclusive: ISO 8601, `YYYY-MM-DD`, or unix seconds. The window is `[since, until)`, resolved i… ( string ) |
| until | query | yes | Window end (required), exclusive; it must be after `since`, at most 366 days. ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` (ris) or `route-views` (rv). ( string ) |
| bucket | query | no | Bucket width. Omitted: one row per attribute type, and per collector when grouped, over the whole window, with `bucket_… ( string ) |
| group_by | query | no | Group the answer by collector, with or without `bucket`; read the label from `collector`. ( string ) |
| attribute_type | query | no | Comma list of stored symbolic tokens (AS_PATH, MULTI_EXIT_DISC), matched exactly; numeric attribute codes match no row. ( string ) |
/v4/mrt/counts curl "https://api.bgpkit.com/v4/mrt/counts?bucket=day&dimension=collector" | Name | In | Required | Notes |
|---|---|---|---|
| since | query | yes | Window start (required), inclusive: ISO 8601, `YYYY-MM-DD`, or unix seconds. The window is `[since, until)`, resolved i… ( string ) |
| until | query | yes | Window end (required), exclusive; it must be after `since`, at most 366 days. ( string ) |
| bucket | query | no | Bucket width. `bucket_start` is a zone-less UTC timestamp. A 400 when the window exceeds 31 days unfiltered, or `floor(… ( string ) |
| dimension | query | no | Group the counts by collector or by project; the row always carries both `dimension` and `id`. ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` (ris) or `route-views` (rv). ( string ) |
| fill | query | no | Add synthetic empty buckets (`zero`) or not (`none`). A bucket with expected or missing files is not synthetic and is r… ( string ) |
| outcome | query | no | Comma list of outcomes to count (default `success`): `queued`, `success`, `parse_error`, `download_error`; an unknown t… ( string ) |
/v4/mrt/distributions curl "https://api.bgpkit.com/v4/mrt/distributions?bucket=day&dimension=collector" | Name | In | Required | Notes |
|---|---|---|---|
| metric | query | yes | File metric to summarise (required). ( string ) |
| since | query | yes | Window start (required), inclusive: ISO 8601, `YYYY-MM-DD`, or unix seconds. The window is `[since, until)`, resolved i… ( string ) |
| until | query | yes | Window end (required), exclusive; it must be after `since`, at most 366 days. ( string ) |
| bucket | query | no | Bucket width. `bucket_start` is a zone-less UTC timestamp. A 400 when the window exceeds 31 days unfiltered, or `floor(… ( string ) |
| dimension | query | no | Group the distributions by collector or by project. ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` (ris) or `route-views` (rv). ( string ) |
| outcome | query | no | Comma list of outcomes to include (default `success`): `queued`, `success`, `parse_error`, `download_error`; an unknown… ( string ) |
/v4/mrt/files curl "https://api.bgpkit.com/v4/mrt/files" | Name | In | Required | Notes |
|---|---|---|---|
| page | query | no | Page number (1-based, default 1). Above 1M matches `total` is a 1% sample, not a count: measured within 1-3% past ~2.5M… ( integer ) |
| page_size | query | no | Rows per page (1-1000, default 100). ( integer ) |
| data_type | query | no | File type to list: `rib` or `updates` (both are listed when absent). ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` (ris) or `route-views` (rv). ( string ) |
| since | query | no | Window start, inclusive: ISO 8601, `YYYY-MM-DD`, or unix seconds. The window is `[since, until)`, resolved in UTC. ( string ) |
| until | query | no | Window end, exclusive: same formats as `since`; it must be after the start. ( string ) |
/v4/mrt/files/attribute-counts curl "https://api.bgpkit.com/v4/mrt/files/attribute-counts" | Name | In | Required | Notes |
|---|---|---|---|
| file_id | query | no | One file id, as listed by /v4/mrt/files. ( integer ) |
| attribute_type | query | no | One stored symbolic token, matched exactly (AS_PATH, MULTI_EXIT_DISC); a numeric attribute code matches no row. ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` (ris) or `route-views` (rv). ( string ) |
| since | query | no | Window start, inclusive: ISO 8601, `YYYY-MM-DD`, or unix seconds. The window is `[since, until)`, resolved in UTC. ( string ) |
| until | query | no | Window end, exclusive: same formats as `since`; it must be after the start. ( string ) |
| limit | query | no | Rows to return (1-1000, default 200). A window answer is a limited preview, not a pageable list: read the ids from /v4/… ( integer ) |
/v4/mrt/files/validation-counts curl "https://api.bgpkit.com/v4/mrt/files/validation-counts" | Name | In | Required | Notes |
|---|---|---|---|
| file_id | query | no | One file id, as listed by /v4/mrt/files. ( integer ) |
| validation_status | query | no | One status: valid, invalid or unknown. ( string ) |
| collector | query | no | Comma-separated collector ids (rrc00, route-views2). ( string ) |
| project | query | no | Collector project: `ripe-ris` (ris) or `route-views` (rv). ( string ) |
| since | query | no | Window start, inclusive: ISO 8601, `YYYY-MM-DD`, or unix seconds. The window is `[since, until)`, resolved in UTC. ( string ) |
| until | query | no | Window end, exclusive: same formats as `since`; it must be after the start. ( string ) |
| limit | query | no | Rows to return (1-1000, default 200). A window answer is a limited preview, not a pageable list: read the ids from /v4/… ( integer ) |
Routing
/v4/routing/addresses curl "https://api.bgpkit.com/v4/routing/addresses" | Name | In | Required | Notes |
|---|---|---|---|
| ip | query | no | Address to look up. Default: the caller's address. ( string ) |
| simple | query | no | Return only the address and country. ( boolean ) |
/v4/routing/asns curl "https://api.bgpkit.com/v4/routing/asns?page=0" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | no | One ASN or a comma-separated list (13335,15169). ( string ) |
| country | query | no | Two-letter country to filter on. ( string ) |
| search | query | no | Case-insensitive match on the AS name or organisation. ( string ) |
| page | query | no | Page number, 0-based. ( integer ) |
| page_size | query | no | Rows per page (1-10000). Default: the number of ASNs requested, else 100. ( integer ) |
/v4/routing/asns curl -X POST "https://api.bgpkit.com/v4/routing/asns" /v4/routing/asns/prefixes curl "https://api.bgpkit.com/v4/routing/asns/prefixes?page_size=100" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | yes | ASN as bare digits (13335) or with the AS prefix (AS13335). ( string ) |
| family | query | no | Restrict to one address family. ( integer ) |
| status | query | no | RPKI status filter; unsupported while the field is null (501). ( string ) |
| page | query | no | Page number (1-based, 1-100000); a larger page is a 400. ( integer ) |
| page_size | query | no | Rows per page (1-500, default 100); a larger page_size is a 400. ( integer ) |
| q | query | no | Substring of the prefix text, for example `108.61` or `:ac`. ( string ) |
/v4/routing/asns/relationship-votes curl "https://api.bgpkit.com/v4/routing/asns/relationship-votes" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | yes | ASN as bare digits (13335) or with the AS prefix (AS13335). ( string ) |
| other | query | no | Restrict to the pair with this ASN, as bare digits or AS13335. ( string ) |
| family | query | no | Restrict to one address family. ( integer ) |
| role | query | no | Which side this ASN is on in the returned pairs. ( string ) |
| prefix | query | no | Prefix to look up, as a CIDR (1.1.1.0/24, 2606:4700::/32). ( string ) |
| cidr | query | no | Alias for `prefix`. Passing both with different values is a 400. ( string ) |
| page | query | no | Page number (1-based, 1-100000); a larger page is clamped. ( integer ) |
| page_size | query | no | Rows per page (1-500, default 100); a larger page_size is clamped. ( integer ) |
/v4/routing/asns/tier1-footprint curl "https://api.bgpkit.com/v4/routing/asns/tier1-footprint" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | yes | ASN as bare digits (13335) or with the AS prefix (AS13335). ( string ) |
| family | query | no | Restrict to one address family. ( integer ) |
| limit | query | no | Rows to return (1-200). Default 200. ( integer ) |
/v4/routing/irr-objects curl "https://api.bgpkit.com/v4/routing/irr-objects" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | yes | Prefix to match (required), as a CIDR. ( string ) |
| match | query | no | How to match: `exact`, `covering` or `all`. ( string ) |
| limit | query | no | Rows to return (1-1000, default 200). ( integer ) |
/v4/routing/prefixes/origins curl "https://api.bgpkit.com/v4/routing/prefixes/origins" | Name | In | Required | Notes |
|---|---|---|---|
| cidr | query | no | Alias for `prefix`. ( string ) |
| prefix | query | no | Prefix to look up, as a CIDR (1.1.1.0/24, 2606:4700::/32). ( string ) |
| ip | query | no | Address whose longest matching prefix is the subject (1.1.1.7). ( string ) |
/v4/routing/prefixes/path-fragments curl "https://api.bgpkit.com/v4/routing/prefixes/path-fragments" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | no | Prefix to look up, as a CIDR (1.1.1.0/24, 2606:4700::/32). ( string ) |
| cidr | query | no | Alias for `prefix`. Passing both with different values is a 400. ( string ) |
| family | query | no | Restrict to one address family. ( integer ) |
| limit | query | no | Rows to return (1-200). Default 20. ( integer ) |
/v4/routing/prefixes/update-counts curl "https://api.bgpkit.com/v4/routing/prefixes/update-counts" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | yes | Prefix to answer for (required), as a CIDR. ( string ) |
| since | query | no | First day to include, `YYYY-MM-DD` (inclusive); the default window is the 90 days ending today. ( string ) |
| until | query | no | Last day to include, `YYYY-MM-DD` (inclusive); it may equal `since`. A window over 730 days is a 400. ( string ) |
| collector | query | no | One collector name (rrc00); a comma list is a 400. ( string ) |
RPKI
/v4/rpki/aspa/authorization curl "https://api.bgpkit.com/v4/rpki/aspa/authorization" | Name | In | Required | Notes |
|---|---|---|---|
| customer | query | yes | Customer ASN whose ASPA object is read (required): 1 to 4294967295. ( integer ) |
| provider | query | yes | Provider ASN to look for in the customer's provider set (required): 0 to 4294967295, where 0 is the ASPA AS0 marker. ( integer ) |
| date | query | no | Day to answer for, as YYYY-MM-DD. Default: the store's newest day. ( string ) |
/v4/rpki/aspa/invalid-pairs curl "https://api.bgpkit.com/v4/rpki/aspa/invalid-pairs" | Name | In | Required | Notes |
|---|---|---|---|
| date | query | no | Day to answer for, as YYYY-MM-DD. Default: the store's newest day. ( string ) |
| limit | query | no | Rows to return (1-200, default 20). ( integer ) |
/v4/rpki/aspa/provider-sets curl "https://api.bgpkit.com/v4/rpki/aspa/provider-sets?limit=100" | Name | In | Required | Notes |
|---|---|---|---|
| customer | query | no | Customer ASN to filter on: 1 to 4294967295, so AS0 is refused here; a provider-set member may still be AS0. ( integer ) |
| provider | query | no | Provider ASN to filter on: 0 to 4294967295, where 0 selects the AS0 members. ( integer ) |
| limit | query | no | Maximum rows (0-500, default 100); a larger limit is capped. ( integer ) |
/v4/rpki/aspa/verdict-counts curl "https://api.bgpkit.com/v4/rpki/aspa/verdict-counts" | Name | In | Required | Notes |
|---|---|---|---|
| date | query | no | Day to answer for, as YYYY-MM-DD. Default: the store's newest day. ( string ) |
/v4/rpki/aspa/verdict-series curl "https://api.bgpkit.com/v4/rpki/aspa/verdict-series" | Name | In | Required | Notes |
|---|---|---|---|
| days | query | no | Window length in days (1-400, default 30). ( integer ) |
/v4/rpki/roas curl "https://api.bgpkit.com/v4/rpki/roas?limit=100" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | no | Prefix to look up, as a CIDR (1.1.1.0/24, 2606:4700::/32). ( string ) |
| origin | query | no | Origin ASN the ROA authorises: 0 to 4294967295, where 0 is the AS0 key RFC 6483 defines. ( integer ) |
| ta | query | no | Trust anchor the ROA was published under (arin, ripencc, apnic, afrinic, lacnic). ( string ) |
| limit | query | no | Rows to return (0-500, default 100); a larger limit is capped. ( integer ) |
/v4/rpki/roas/counts curl "https://api.bgpkit.com/v4/rpki/roas/counts" | Name | In | Required | Notes |
|---|---|---|---|
| from | query | no | First day to include, YYYY-MM-DD. ( string ) |
| to | query | no | Last day to include, YYYY-MM-DD. ( string ) |
| tal | query | no | Trust anchor to report (arin, ripencc, apnic, afrinic, lacnic). ( string ) |
/v4/rpki/roas/history curl "https://api.bgpkit.com/v4/rpki/roas/history" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | no | Prefix to look up, as a CIDR (1.1.1.0/24, 2606:4700::/32). ( string ) |
| asn | query | no | Origin ASN whose ROA objects are listed: 0 to 4294967295. ( integer ) |
| roa_obj_id | query | no | ROA object id, as carried by this answer; it takes precedence over prefix and asn. ( integer ) |
/v4/rpki/rov curl "https://api.bgpkit.com/v4/rpki/rov" | Name | In | Required | Notes |
|---|---|---|---|
| prefix | query | yes | Prefix to validate, as a CIDR (required). ( string ) |
| asn | query | yes | Origin ASN to validate against the covering ROAs (required): 1 to 4294967295, since AS0 cannot originate a route. ( integer ) |
| date | query | no | Day to answer for, as YYYY-MM-DD. Default: the store's newest day. ( string ) |
/v4/rpki/rov/carriage curl "https://api.bgpkit.com/v4/rpki/rov/carriage" | Name | In | Required | Notes |
|---|---|---|---|
| asn | query | yes | ASN as bare digits (13335) or with the AS prefix (AS13335). ( string ) |
| days | query | no | Window length in days (1-365, default 30). ( integer ) |
/v4/rpki/rov/carriage/series curl "https://api.bgpkit.com/v4/rpki/rov/carriage/series" | Name | In | Required | Notes |
|---|---|---|---|
| days | query | no | Window length in days (1-365, default 30). ( integer ) |
/v4/rpki/rov/carriage/top curl "https://api.bgpkit.com/v4/rpki/rov/carriage/top" | Name | In | Required | Notes |
|---|---|---|---|
| date | query | no | Day to answer for, as YYYY-MM-DD. Default: the store's newest day. ( string ) |
| limit | query | no | Rows to return (1-100, default 20). ( integer ) |
/v4/rpki/summary curl "https://api.bgpkit.com/v4/rpki/summary" SDKs
If you prefer an SDK over raw HTTP, use Broker and Parser through the language bindings.