Skip to main content
GET
/
municipios
List Municipalities
curl --request GET \
  --url https://api.example.com/municipios
{
  "data": [
    {
      "id": 123,
      "nombre": "<string>",
      "ubicacion": {
        "type": "<string>",
        "coordinates": [
          {}
        ]
      },
      "activo": true
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/LizandroCanul/back_sdo/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Retrieves the complete catalog of 106 municipalities (municipios) in the state of Yucatan, Mexico. This is a read-only catalog endpoint that returns active municipalities sorted alphabetically by name.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization: Bearer YOUR_API_TOKEN

Request

No query parameters are required. The endpoint returns all active municipalities by default.

Base URL

https://api.example.com/municipios

Response

Returns an array of municipality objects with geographic coordinates.
data
array
Array of municipality objects

Success Response

[
  {
    "id": 1,
    "nombre": "Abalá",
    "ubicacion": {
      "type": "Point",
      "coordinates": [-89.5800, 20.6644]
    },
    "activo": true
  },
  {
    "id": 2,
    "nombre": "Acanceh",
    "ubicacion": {
      "type": "Point",
      "coordinates": [-89.4522, 20.8125]
    },
    "activo": true
  },
  {
    "id": 51,
    "nombre": "Mérida",
    "ubicacion": {
      "type": "Point",
      "coordinates": [-89.5926, 20.9674]
    },
    "activo": true
  }
]

Example Request

curl -X GET https://api.example.com/municipios \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
Geographic Data FormatCoordinates follow the GeoJSON specification with longitude first, then latitude. All coordinates use the WGS 84 coordinate system (SRID 4326).

Notes

  • Results are sorted alphabetically by municipality name (nombre)
  • Only active municipalities (activo: true) are returned
  • The catalog contains all 106 official municipalities of Yucatan state
  • Geographic coordinates represent the central point of each municipality
  • This is a read-only endpoint; municipalities cannot be created or modified via the API

Build docs developers (and LLMs) love