---
title: "Retorna un listado de departamentos."
method: GET
path: "/departamentos"
tags: ["Recursos"]
---

# Retorna un listado de departamentos.

`GET /departamentos`

Permite realizar búsquedas sobre el listado de departamentos.

## Query parameters

- `id` string
- `nombre` string
- `provincia` string
- `interseccion` string
- `orden` 'id' | 'nombre'
- `aplanar` true
- `campos` string
- `max` integer
- `inicio` integer
- `exacto` true
- `formato` 'json' | 'csv' | 'geojson' | 'xml'

## Response `200`

Listado de departamentos.

- DepartamentosSingle
  - `cantidad` integer
  - `total` integer
  - `inicio` integer
  - `parametros` object
  - `departamentos` Departamento[]
    - `id` string
    - `nombre` string
    - `nombre_completo` string
    - `provincia` ProvinciaSubEntidad
      - `id` string
      - `nombre` string
    - `centroide` object
      - `lat` number
      - `lon` number
    - `categoria` string

## Other responses

- `400` — Error al procesar la consulta.

## Changes

- **2019-05-15** `7f745d434f27` — 1 info
  - added the optional property `parametros` to the response with the `200` status
- **2019-01-24** `7c4885f7ee17` — 2 info
  - added the optional property `departamentos/items/categoria` to the response with the `200` status
  - added the optional property `departamentos/items/nombre_completo` to the response with the `200` status
- **2018-12-17** `095a6ec46431` — 1 info
  - added the new enum value `xml` to the `query` request parameter `formato`
- **2018-10-11** `681881d2e961` — 1 info
  - added the new optional `query` request parameter `interseccion`
- **2018-10-09** `91b97851e647` — 1 breaking, 4 warning
  - removed the enum value `xml` from the `query` request parameter `formato`
  - deleted the `query` request parameter `interseccion`
  - removed the optional property `departamentos/items/categoria` from the response with the `200` status
  - removed the optional property `departamentos/items/nombre_completo` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/datosgobar/apis/georef-ar-api/changes/departamentos/get.md)

---

[API](https://skmtc.dev/datosgobar/apis/georef-ar-api.md) · [All operations](https://skmtc.dev/datosgobar/apis/georef-ar-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datosgobar/georef-ar-api/revisions/a0c3d492ec8b/schema)
