Get list of ASNs ordered by prefix count

Get the full list of autonomous systems on the global routing table ordered by announced prefixes count. The data comes from public BGP MRT data archives and updates every 2 hours.

/radar/bgp/top/ases/prefixes

get

Radar BGP

radar-get-bgp-top-asns-by-prefixes

Debug "planAvailability"

{
  "business": true,
  "enterprise": true,
  "free": true,
  "pro": true
}

Debug "tokenPermissions"

{
  "enum": [
    "com.cloudflare.api.user.read"
  ]
}

Debug "parameters"

[
  {
    "in": "query",
    "name": "country",
    "schema": {
      "description": "Alpha-2 country code.",
      "example": "NZ",
      "type": "string"
    }
  },
  {
    "in": "query",
    "name": "limit",
    "schema": {
      "description": "Maximum number of ASes to return",
      "example": 10,
      "type": "integer"
    }
  },
  {
    "in": "query",
    "name": "format",
    "schema": {
      "description": "Format results are returned in.",
      "enum": [
        "JSON",
        "CSV"
      ],
      "example": "json",
      "type": "string"
    }
  }
]

Debug "requestBody"

null

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "result": {
              "properties": {
                "asns": {
                  "items": {
                    "properties": {
                      "asn": {
                        "type": "integer"
                      },
                      "country": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "pfxs_count": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "asn",
                      "country",
                      "name",
                      "pfxs_count"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "meta": {
                  "properties": {
                    "data_time": {
                      "type": "string"
                    },
                    "query_time": {
                      "type": "string"
                    },
                    "total_peers": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "data_time",
                    "query_time",
                    "total_peers"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "asns",
                "meta"
              ],
              "type": "object"
            },
            "success": {
              "example": true,
              "type": "boolean"
            }
          },
          "required": [
            "result",
            "success"
          ],
          "type": "object"
        }
      }
    },
    "description": "Successful Response"
  },
  "404": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "error": {
              "example": "Not Found",
              "type": "string"
            }
          },
          "required": [
            "error"
          ],
          "type": "object"
        }
      }
    },
    "description": "Not found"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  }
]