---
title: "Get identity risk geo distribution"
method: GET
path: "/api/v2/identityrisk/access-geolocations"
tags: ["Identity Risk"]
---

# Get identity risk geo distribution

`GET /api/v2/identityrisk/access-geolocations`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/identityrisk/access-geolocations`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/identityrisk/access-geolocations/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint gets the geographic distribution for identity risk detections in an organization.

**Example request:**
```
GET /api/v2/identityrisk/access-geolocations?start_time=2024-01-01T00:00:00Z&end_time=2024-01-31T23:59:59Z
```

## Query parameters

- `startTime` string
- `endTime` string

## Response `200`

A successful response.

- JumpcloudIdentityRiskGetRiskyAccessGeolocationResponse
  - `items` JumpcloudIdentityRiskGeoItem[]
    - `city` string
    - `count` integer
    - `countryCode` string
    - `countryName` string

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
