---
title: "Administrative Division by ID"
method: GET
path: "/administrative-divisions/{id}"
tags: ["Geography"]
---

# Administrative Division by ID

`GET /administrative-divisions/{id}`

## Request

- Base URL: `https://api-dev.despegar.com/v3`
- URL: `https://api-dev.despegar.com/v3/administrative-divisions/{id}`
- Auth: API key in header `x-apikey`

Returns the details of a specific administrative division (state, province, or equivalent) identified by its internal numeric ID.

## Path parameters

- `id` string, required

## Query parameters

- `product` string, required
- `language` string, required

## Response `200`

OK

- object
  - `id` string: Internal numeric identifier of the administrative division.
  - `gid` string: Global identifier combining type and id. E.g.: `ADM_30079`.
  - `code` string: Internal code for the division.
  - `descriptions` object: Localized division names keyed by language code.
  - `country_id` string: Internal numeric identifier of the country this division belongs to.
  - `country_gid` string: Global identifier of the country. E.g.: `COU_20010`.
  - `capital_id` string: Internal numeric identifier of the capital city.
  - `capital_gid` string: Global identifier of the capital city. E.g.: `CIT_7781`.
  - `capital` object: Basic information about the capital city.
    - `id` string: Internal numeric identifier of the capital.
    - `offset` number: UTC timezone offset of the capital city in hours.
  - `location` object: Geographic polygon defining the boundaries of the division. Only present for some divisions.
    - `type` 'POLYGON'
    - `latitude` number
    - `longitude` number
    - `coordinates` object[]
      - `type` string
      - `latitude` number
      - `longitude` number
  - `configurations` string[]: List of product and platform configurations in which this division is available.
  - `pictures` object[]: List of pictures associated with the division. Always empty.
  - `last_update_date` string, date-time: Date and time of the last update to this record.

## Other responses

- `400`: Bad Request. A required parameter is missing or invalid.
- `401`: Unauthorized. The request is missing a valid API key.
- `404`: Not Found. No administrative division found for the given ID.
- `500`: Internal Server Error.

---

[API](https://skmtc.dev/despegar/apis/geography-api.md) - [All operations](https://skmtc.dev/despegar/apis/geography-api/llms.txt) - [OpenAPI document](https://skmtc.dev/despegar/apis/geography-api/revisions/68ba7194d527?raw)
