Get location

Get the requested location information. A confidence level below `5` indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this location).

/radar/entities/locations/{location}

get

Radar Entities

radar-get-entities-location-by-alpha2

Debug "planAvailability"

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

Debug "tokenPermissions"

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

Debug "parameters"

[
  {
    "in": "path",
    "name": "location",
    "required": true,
    "schema": {
      "description": "Alpha-2 country code.",
      "example": "US",
      "type": "string"
    }
  },
  {
    "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": {
                "location": {
                  "properties": {
                    "alpha2": {
                      "example": "AF",
                      "type": "string"
                    },
                    "confidenceLevel": {
                      "example": 5,
                      "type": "integer"
                    },
                    "latitude": {
                      "example": 33.939116,
                      "type": "string"
                    },
                    "longitude": {
                      "example": 67.709953,
                      "type": "string"
                    },
                    "name": {
                      "example": "Afghanistan",
                      "type": "string"
                    },
                    "region": {
                      "example": "Middle East",
                      "type": "string"
                    },
                    "subregion": {
                      "example": "Southern Asia",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "region",
                    "subregion",
                    "latitude",
                    "longitude",
                    "alpha2",
                    "confidenceLevel"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "location"
              ],
              "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": []
  }
]