{
  "info": {
    "_postman_id": "259dc1ef-59a9-5376-b9a6-9f39e7dfe1f3",
    "name": "Colonix – Mexico Postal Codes API",
    "description": "Colonix is an API of Mexican postal codes and settlements (colonias), by Silgaru: lookup, search and autocomplete that tolerate typos, postal code + settlement validation, the SAT catalog keys for CFDI 4.0 and Carta Porte, change history and geography. Built from public data of SEPOMEX (reviewed every week), the SAT, INEGI and CONAPO, cleaned and cross-checked: https://silgaru.mx/colonix/fuentes/\n\n**Get a free key** at https://cuenta.silgaru.mx (10,000 requests a month). Paid plans add the SAT data, location, batch lookup and the change feed: https://silgaru.mx/colonix/#planes. Requests that need a paid plan say so at the top of their description; the demo postal codes (06700, 44100, 64000, 22000, 77500) return the SAT data, location and metropolitan area on every plan.\n\n1. Fork the collection and put your key in the `apiKey` collection variable (as the current value or in your Postman Vault, never as the initial value of a public fork).\n2. Every request has a saved example with a real response and tests.\n3. Run the whole collection with the Collection Runner: requests that need data from others (`dataVersion`, `nextCursor`) come after them.\n\nDocumentation: https://silgaru.mx/colonix/docs/ · OpenAPI: https://silgaru.mx/colonix/docs/openapi.yaml · Errors follow RFC 9457. Values such as settlement types and zones are returned in Spanish, as published by the official sources.\n\n**En español:** API de códigos postales y colonias de México con los datos de SEPOMEX, los catálogos del SAT para CFDI 4.0 y Carta Porte, el INEGI y el CONAPO. Documentación en español: https://silgaru.mx/colonix/docs/",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Postal codes",
      "description": "Lookup and listing of postal codes.",
      "item": [
        {
          "id": "6804e135-da6b-5ee8-a501-8540f777f219",
          "name": "Get a postal code",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"requested postal code\", () => pm.expect(pm.response.json().postal_code).to.eql(pm.collectionVariables.get(\"postalCode\")));",
                  "pm.test(\"settlement_count matches\", () => {",
                  "    const b = pm.response.json();",
                  "    pm.expect(b.settlements.length).to.eql(b.settlement_count);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": []
            },
            "description": "All settlements of a postal code with its state, municipality and postal office."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"state\": {\n    \"id\": \"09\",\n    \"name\": \"Ciudad de México\"\n  },\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"office\": \"06401\",\n  \"settlement_count\": 1,\n  \"settlements\": [\n    {\n      \"id\": \"09015-0947\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\"\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "7ffce973-03a5-5616-b868-7a0af9333272",
          "name": "Get a postal code with many settlements",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/44100",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "44100"
              ],
              "query": []
            },
            "description": "Some postal codes cover many settlements (e.g. rural areas). This one has dozens."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/44100",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "44100"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"44100\",\n  \"state\": {\n    \"id\": \"14\",\n    \"name\": \"Jalisco\"\n  },\n  \"municipality\": {\n    \"id\": \"039\",\n    \"name\": \"Guadalajara\"\n  },\n  \"office\": \"44101\",\n  \"settlement_count\": 1,\n  \"settlements\": [\n    {\n      \"id\": \"14039-0003\",\n      \"name\": \"Guadalajara Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\"\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "5b8e112c-45c9-59fc-96bf-3511a6315211",
          "name": "Get a postal code (selected fields)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"only selected fields\", () => pm.expect(Object.keys(pm.response.json()).sort()).to.eql([\"municipality\",\"postal_code\",\"settlements\"]));",
                  "pm.test(\"data_version header\", () => {",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.be.a(\"string\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?fields=postal_code,municipality,settlements",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": [
                {
                  "key": "fields",
                  "value": "postal_code,municipality,settlements"
                }
              ]
            },
            "description": "Use `fields` to return only some top-level fields and reduce the payload."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?fields=postal_code,municipality,settlements",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": [
                    {
                      "key": "fields",
                      "value": "postal_code,municipality,settlements"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"postal_code\": \"06700\",\n  \"settlements\": [\n    {\n      \"id\": \"09015-0947\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "id": "ac22053f-43c4-52fd-a7a5-024454bf63f9",
          "name": "Postal code on a past date (as_of)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"as it was on 2026-10-10\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.as_of.date).to.eql(\"2026-10-10\");",
                  "    pm.expect(body.as_of.sepomex_date).to.eql(\"2026-10-05\");",
                  "    const s = body.settlements.find((x) => x.id === \"30103-2162\");",
                  "    pm.expect(s.name).to.eql(\"Mecatlan\");",
                  "    pm.expect(s.type).to.eql(\"Pueblo\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/93080?as_of=2026-10-10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "93080"
              ],
              "query": [
                {
                  "key": "as_of",
                  "value": "2026-10-10"
                }
              ]
            },
            "description": "The postal code as SEPOMEX had it on a past date (every plan). On 2026-10-15 SEPOMEX renamed \"Mecatlan\" (Pueblo) to \"Mecatlán Centro\" (Colonia) in 93080: on 2026-10-10 it still had the old name. `as_of.sepomex_date` is the SEPOMEX file that gives the answer."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/93080?as_of=2026-10-10",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "93080"
                  ],
                  "query": [
                    {
                      "key": "as_of",
                      "value": "2026-10-10"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"93080\",\n  \"state\": {\n    \"id\": \"30\",\n    \"name\": \"Veracruz de Ignacio de la Llave\"\n  },\n  \"municipality\": {\n    \"id\": \"103\",\n    \"name\": \"Mecatlán\"\n  },\n  \"office\": \"93261\",\n  \"settlement_count\": 2,\n  \"settlements\": [\n    {\n      \"id\": \"30103-0002\",\n      \"name\": \"La Cruz\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Rural\",\n      \"city\": null\n    },\n    {\n      \"id\": \"30103-2162\",\n      \"name\": \"Mecatlan\",\n      \"type\": \"Pueblo\",\n      \"zone\": \"Rural\",\n      \"city\": null\n    }\n  ],\n  \"as_of\": {\n    \"date\": \"2026-10-10\",\n    \"sepomex_date\": \"2026-10-05\",\n    \"data_version\": \"2026.10.05-936974de\"\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "abc9d890-45a1-55f5-a0a5-470e114fe6ff",
          "name": "List postal codes by prefix",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.collectionVariables.set(\"nextCursor\", pm.response.json().next_cursor || \"\");"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes?prefix=067&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes"
              ],
              "query": [
                {
                  "key": "prefix",
                  "value": "067"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "Postal codes starting with the given digits. Saves `next_cursor` to `nextCursor` for the next request."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes?prefix=067&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes"
                  ],
                  "query": [
                    {
                      "key": "prefix",
                      "value": "067"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Hit from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"postal_code\": \"06700\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06720\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06760\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06780\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    }\n  ],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "a2c5f6ec-46ff-5afd-9368-568f919d2b93",
          "name": "List postal codes (next page)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes?prefix=067&limit=5&cursor={{nextCursor}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes"
              ],
              "query": [
                {
                  "key": "prefix",
                  "value": "067"
                },
                {
                  "key": "limit",
                  "value": "5"
                },
                {
                  "key": "cursor",
                  "value": "{{nextCursor}}"
                }
              ]
            },
            "description": "Run \"List postal codes by prefix\" first: it stores the cursor in `nextCursor`."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes?prefix=067&limit=5&cursor={{nextCursor}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes"
                  ],
                  "query": [
                    {
                      "key": "prefix",
                      "value": "067"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    },
                    {
                      "key": "cursor",
                      "value": "{{nextCursor}}"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"postal_code\": \"06700\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06720\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06760\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06780\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    }\n  ],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "52803d14-8839-5c4b-96e0-6df9cbe5e83c",
          "name": "List postal codes of a municipality",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes?state={{state}}&municipality={{municipality}}&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "{{state}}"
                },
                {
                  "key": "municipality",
                  "value": "{{municipality}}"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "All postal codes of a municipality (INEGI state and municipality keys)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes?state={{state}}&municipality={{municipality}}&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes"
                  ],
                  "query": [
                    {
                      "key": "state",
                      "value": "{{state}}"
                    },
                    {
                      "key": "municipality",
                      "value": "{{municipality}}"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"postal_code\": \"06000\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06010\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06020\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06030\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"06040\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXwwNjA0MA\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "4bb2346e-618d-565e-9745-51b30c6e5de5",
          "name": "List postal codes of a city",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes?city=guadalajara&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes"
              ],
              "query": [
                {
                  "key": "city",
                  "value": "guadalajara"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "City names ignore case and accents."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes?city=guadalajara&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes"
                  ],
                  "query": [
                    {
                      "key": "city",
                      "value": "guadalajara"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"postal_code\": \"44100\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"44110\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"44130\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      },\n      \"settlement_count\": 2\n    },\n    {\n      \"postal_code\": \"44140\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      },\n      \"settlement_count\": 1\n    },\n    {\n      \"postal_code\": \"44150\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      },\n      \"settlement_count\": 2\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXw0NDE1MA\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "2643d81a-29c3-5736-b738-be050ea402d9",
          "name": "Batch lookup (up to 100)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"one item per code, in order\", () => {",
                  "    const data = pm.response.json().data;",
                  "    pm.expect(data.map((d) => d.postal_code)).to.eql([\"06700\", \"44100\", \"64000\", \"00000\"]);",
                  "    pm.expect(data.map((d) => d.found)).to.eql([true, true, true, false]);",
                  "    pm.expect(data[3].error.type).to.eql(\"/errors/postal-code-not-found\");",
                  "    pm.expect(pm.response.headers.get(\"X-RapidAPI-Billing\")).to.eql(\"requests=4\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/batch?codes=06700,44100,64000,00000",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "batch"
              ],
              "query": [
                {
                  "key": "codes",
                  "value": "06700,44100,64000,00000"
                }
              ]
            },
            "description": "**Needs the Business or Enterprise plan.** One item per requested code, in order; a bad code does not fail the batch. Billed as one request per code. Business and Enterprise plans."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/batch?codes=06700,44100,64000,00000",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "batch"
                  ],
                  "query": [
                    {
                      "key": "codes",
                      "value": "06700,44100,64000,00000"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"postal_code\": \"06700\",\n      \"found\": true,\n      \"result\": {\n        \"postal_code\": \"06700\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"015\",\n          \"name\": \"Cuauhtémoc\"\n        },\n        \"office\": \"06401\",\n        \"settlement_count\": 1,\n        \"settlements\": [\n          {\n            \"id\": \"09015-0947\",\n            \"name\": \"Roma Norte\",\n            \"type\": \"Colonia\",\n            \"zone\": \"Urbano\",\n            \"city\": \"Ciudad de México\"\n          }\n        ],\n        \"data_version\": \"2026.10.29-0384b36e\"\n      },\n      \"error\": null\n    },\n    {\n      \"postal_code\": \"44100\",\n      \"found\": true,\n      \"result\": {\n        \"postal_code\": \"44100\",\n        \"state\": {\n          \"id\": \"14\",\n          \"name\": \"Jalisco\"\n        },\n        \"municipality\": {\n          \"id\": \"039\",\n          \"name\": \"Guadalajara\"\n        },\n        \"office\": \"44101\",\n        \"settlement_count\": 1,\n        \"settlements\": [\n          {\n            \"id\": \"14039-0003\",\n            \"name\": \"Guadalajara Centro\",\n            \"type\": \"Colonia\",\n            \"zone\": \"Urbano\",\n            \"city\": \"Guadalajara\"\n          }\n        ],\n        \"data_version\": \"2026.10.29-0384b36e\"\n      },\n      \"error\": null\n    },\n    {\n      \"postal_code\": \"64000\",\n      \"found\": true,\n      \"result\": {\n        \"postal_code\": \"64000\",\n        \"state\": {\n          \"id\": \"19\",\n          \"name\": \"Nuevo León\"\n        },\n        \"municipality\": {\n          \"id\": \"039\",\n          \"name\": \"Monterrey\"\n        },\n        \"office\": \"64008\",\n        \"settlement_count\": 2,\n        \"settlements\": [\n          {\n            \"id\": \"19039-3429\",\n            \"name\": \"La Finca\",\n            \"type\": \"Condominio\",\n            \"zone\": \"Urbano\",\n            \"city\": \"Monterrey\"\n          },\n          {\n            \"id\": \"19039-0001\",\n            \"name\": \"Monterrey Centro\",\n            \"type\": \"Colonia\",\n            \"zone\": \"Urbano\",\n            \"city\": \"Monterrey\"\n          }\n        ],\n        \"data_version\": \"2026.10.29-0384b36e\"\n      },\n      \"error\": null\n    },\n    {\n      \"postal_code\": \"00000\",\n      \"found\": false,\n      \"result\": null,\n      \"error\": {\n        \"type\": \"/errors/postal-code-not-found\",\n        \"title\": \"Postal code not found\",\n        \"status\": 404,\n        \"detail\": \"Postal code 00000 does not exist in the current catalog.\"\n      }\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Settlements",
      "description": "Search, autocomplete and postal code by settlement name.",
      "item": [
        {
          "id": "52dae818-a0ca-5bec-9fb9-cb547e2a8937",
          "name": "Find the postal code of a settlement",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?q={{settlementQuery}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "{{settlementQuery}}"
                }
              ]
            },
            "description": "Search by name to get the postal code of a colonia. Each word must be the beginning of a word in the name."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?q={{settlementQuery}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "{{settlementQuery}}"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"09015-0947\",\n      \"postal_code\": \"06700\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "36e58b19-2d23-557b-80ee-faa67146e032",
          "name": "Get every settlement of a city (follow next_cursor)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "const body = pm.response.json();",
                  "const seen = Number(pm.collectionVariables.get(\"citySeen\") || 0) + body.data.length;",
                  "pm.collectionVariables.set(\"citySeen\", seen);",
                  "if (body.next_cursor) {",
                  "    pm.collectionVariables.set(\"cityCursor\", body.next_cursor);",
                  "    pm.execution.setNextRequest(pm.info.requestName);  // next page (Collection Runner)",
                  "} else {",
                  "    pm.test(\"all pages read\", () => pm.expect(seen).to.be.above(0));",
                  "    console.log(`Read ${seen} settlements`);",
                  "    pm.collectionVariables.set(\"cityCursor\", \"\");",
                  "    pm.collectionVariables.set(\"citySeen\", 0);",
                  "}"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?city=guadalajara&limit=200&cursor={{cityCursor}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "city",
                  "value": "guadalajara"
                },
                {
                  "key": "limit",
                  "value": "200"
                },
                {
                  "key": "cursor",
                  "value": "{{cityCursor}}"
                }
              ]
            },
            "description": "How to get ALL the results of a search: there is no unlimited `limit`; repeat the request with `cursor=<next_cursor>` until `next_cursor` is null. In the Collection Runner this request repeats itself until the last page (434 settlements of Guadalajara, 3 pages of 200)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?city=guadalajara&limit=200&cursor={{cityCursor}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "city",
                      "value": "guadalajara"
                    },
                    {
                      "key": "limit",
                      "value": "200"
                    },
                    {
                      "key": "cursor",
                      "value": "{{cityCursor}}"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"14039-0003\",\n      \"postal_code\": \"44100\",\n      \"name\": \"Guadalajara Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0005\",\n      \"postal_code\": \"44110\",\n      \"name\": \"Vallarta Poniente\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0200\",\n      \"postal_code\": \"44130\",\n      \"name\": \"Arcos\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0007\",\n      \"postal_code\": \"44130\",\n      \"name\": \"Arcos Vallarta\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0008\",\n      \"postal_code\": \"44140\",\n      \"name\": \"Obrera Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0010\",\n      \"postal_code\": \"44150\",\n      \"name\": \"Barrera\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4188\",\n      \"postal_code\": \"44150\",\n      \"name\": \"Lafayette\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0011\",\n      \"postal_code\": \"44158\",\n      \"name\": \"Deitz\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0013\",\n      \"postal_code\": \"44160\",\n      \"name\": \"Americana\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0014\",\n      \"postal_code\": \"44170\",\n      \"name\": \"San Antonio\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0016\",\n      \"postal_code\": \"44180\",\n      \"name\": \"Mexicaltzingo\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0017\",\n      \"postal_code\": \"44190\",\n      \"name\": \"Moderna\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0019\",\n      \"postal_code\": \"44200\",\n      \"name\": \"Artesanos\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0021\",\n      \"postal_code\": \"44200\",\n      \"name\": \"Capilla de Jesús\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0020\",\n      \"postal_code\": \"44200\",\n      \"name\": \"El Santuario\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0023\",\n      \"postal_code\": \"44200\",\n      \"name\": \"Sagrada Familia\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0024\",\n      \"postal_code\": \"44210\",\n      \"name\": \"Jardines del Country\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4943\",\n      \"postal_code\": \"44210\",\n      \"name\": \"Jardines del Country 2a. Sección\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0026\",\n      \"postal_code\": \"44214\",\n      \"name\": \"Universidad\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0028\",\n      \"postal_code\": \"44215\",\n      \"name\": \"Parían\",\n      \"type\": \"Condominio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0029\",\n      \"postal_code\": \"44216\",\n      \"name\": \"Del Trabajo CTM\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4921\",\n      \"postal_code\": \"44216\",\n      \"name\": \"Fidel Velázquez\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0030\",\n      \"postal_code\": \"44217\",\n      \"name\": \"Residencial Vallarta Country\",\n      \"type\": \"Conjunto habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0031\",\n      \"postal_code\": \"44218\",\n      \"name\": \"Fabrica de Atemajac\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0032\",\n      \"postal_code\": \"44219\",\n      \"name\": \"Casa Hogar CTM\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0033\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Circunvalación Metro Carballo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4931\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Guadalupana Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0034\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Guadalupana Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0035\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Santa Elena Alcalde Oriente\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4920\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Santa Elena Alcalde Poniente\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0036\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Santa Mónica\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5029\",\n      \"postal_code\": \"44220\",\n      \"name\": \"Simón Bolívar\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0039\",\n      \"postal_code\": \"44227\",\n      \"name\": \"Jardines de Atemajac\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0042\",\n      \"postal_code\": \"44230\",\n      \"name\": \"Autocinema\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4620\",\n      \"postal_code\": \"44230\",\n      \"name\": \"División del Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0046\",\n      \"postal_code\": \"44230\",\n      \"name\": \"Santa Elena de La Cruz\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0047\",\n      \"postal_code\": \"44230\",\n      \"name\": \"Santa Elena Estadio\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4380\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Colomos Independencia\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0050\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Estadio\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4941\",\n      \"postal_code\": \"44240\",\n      \"name\": \"FOVISSSTE Independencia\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0049\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Independencia INFONAVIT\",\n      \"type\": \"Conjunto habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0051\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Lomas de Independencia\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-3784\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Nuevo Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4954\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Paseos Independencia\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0053\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Rancho Nuevo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0054\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Residencial San Elias\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0055\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Ricardo Flores Magón\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4168\",\n      \"postal_code\": \"44240\",\n      \"name\": \"Villas Del Estadio\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0095\",\n      \"postal_code\": \"44246\",\n      \"name\": \"Estadio Poniente\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0059\",\n      \"postal_code\": \"44247\",\n      \"name\": \"Rancho Nuevo INFONAVIT\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0061\",\n      \"postal_code\": \"44249\",\n      \"name\": \"El Jaguey\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-3744\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Balcones de Huentitán\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0062\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Huentitán El Bajo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0063\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Lomas del Paraíso 1a. Sección\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4947\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Lomas del Paraíso 2a. Sección\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0064\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Lomas del Paraíso 3a. Sección\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0065\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Lomas del Paraíso 4a. Sección\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4948\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Lomas del Paraíso 5a. Sección\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4859\",\n      \"postal_code\": \"44250\",\n      \"name\": \"Praderas del Paraíso (Rinconadas del Paraíso)\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0066\",\n      \"postal_code\": \"44257\",\n      \"name\": \"INFONAVIT Planetario\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4964\",\n      \"postal_code\": \"44257\",\n      \"name\": \"San Antonio\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0068\",\n      \"postal_code\": \"44259\",\n      \"name\": \"Panorámica Huentitán\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5062\",\n      \"postal_code\": \"44259\",\n      \"name\": \"Zoológico\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4936\",\n      \"postal_code\": \"44260\",\n      \"name\": \"Barrio Mezquitan\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0069\",\n      \"postal_code\": \"44260\",\n      \"name\": \"La Normal\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5061\",\n      \"postal_code\": \"44260\",\n      \"name\": \"Mezquitan\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0071\",\n      \"postal_code\": \"44260\",\n      \"name\": \"Mezquitan Country\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0072\",\n      \"postal_code\": \"44260\",\n      \"name\": \"Miguel Galindo\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0073\",\n      \"postal_code\": \"44260\",\n      \"name\": \"Niños Héroes\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0074\",\n      \"postal_code\": \"44260\",\n      \"name\": \"San Bernardo\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0075\",\n      \"postal_code\": \"44260\",\n      \"name\": \"San Miguel de Mezquitan\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0077\",\n      \"postal_code\": \"44265\",\n      \"name\": \"Ramón Corona\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0078\",\n      \"postal_code\": \"44266\",\n      \"name\": \"Observatorio\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0079\",\n      \"postal_code\": \"44267\",\n      \"name\": \"Eugenia\",\n      \"type\": \"Condominio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0082\",\n      \"postal_code\": \"44270\",\n      \"name\": \"Alcalde Barranquitas\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0084\",\n      \"postal_code\": \"44270\",\n      \"name\": \"Colinas de La Normal\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0085\",\n      \"postal_code\": \"44270\",\n      \"name\": \"Miraflores\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0018\",\n      \"postal_code\": \"44280\",\n      \"name\": \"Centro Barranquitas\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0090\",\n      \"postal_code\": \"44280\",\n      \"name\": \"El Retiro\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5236\",\n      \"postal_code\": \"44290\",\n      \"name\": \"Independencia\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0096\",\n      \"postal_code\": \"44290\",\n      \"name\": \"Independencia Poniente\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0099\",\n      \"postal_code\": \"44298\",\n      \"name\": \"Jardines Alcalde\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0100\",\n      \"postal_code\": \"44299\",\n      \"name\": \"Villas de San Juan\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-3218\",\n      \"postal_code\": \"44300\",\n      \"name\": \"Batallón de San Patricio\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-3217\",\n      \"postal_code\": \"44300\",\n      \"name\": \"Colonia No. 9\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0101\",\n      \"postal_code\": \"44300\",\n      \"name\": \"Esperanza\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0102\",\n      \"postal_code\": \"44300\",\n      \"name\": \"Jardines de Santa Isabel\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0103\",\n      \"postal_code\": \"44300\",\n      \"name\": \"La Federacha\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0105\",\n      \"postal_code\": \"44300\",\n      \"name\": \"La Joya\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0107\",\n      \"postal_code\": \"44300\",\n      \"name\": \"Margarita Maza de Juárez\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0109\",\n      \"postal_code\": \"44300\",\n      \"name\": \"San Miguel de Huentitán El Alto 1a Secc\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4937\",\n      \"postal_code\": \"44306\",\n      \"name\": \"Bosques de La Cantera\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0110\",\n      \"postal_code\": \"44306\",\n      \"name\": \"La Cantera\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5034\",\n      \"postal_code\": \"44306\",\n      \"name\": \"Villas de la Cantera\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0111\",\n      \"postal_code\": \"44307\",\n      \"name\": \"Estadio\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0114\",\n      \"postal_code\": \"44320\",\n      \"name\": \"Belisario Domínguez\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0115\",\n      \"postal_code\": \"44320\",\n      \"name\": \"Monumental\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0116\",\n      \"postal_code\": \"44329\",\n      \"name\": \"Belisario Domínguez\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0117\",\n      \"postal_code\": \"44330\",\n      \"name\": \"Circunvalación Belisario\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0121\",\n      \"postal_code\": \"44330\",\n      \"name\": \"San Marcos Oriente\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4922\",\n      \"postal_code\": \"44330\",\n      \"name\": \"San Marcos Poniente\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0122\",\n      \"postal_code\": \"44330\",\n      \"name\": \"San Vicente\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-3219\",\n      \"postal_code\": \"44330\",\n      \"name\": \"Vicente Guerrero\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0124\",\n      \"postal_code\": \"44340\",\n      \"name\": \"Independencia Oriente\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0015\",\n      \"postal_code\": \"44349\",\n      \"name\": \"Centro Médico Nacional de Occidente IMSS\",\n      \"type\": \"Equipamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4552\",\n      \"postal_code\": \"44350\",\n      \"name\": \"Lomas Independencia\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0129\",\n      \"postal_code\": \"44350\",\n      \"name\": \"Postes Cuates (Federalismo)\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0132\",\n      \"postal_code\": \"44350\",\n      \"name\": \"Santa María\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5028\",\n      \"postal_code\": \"44350\",\n      \"name\": \"Santa María Oriente\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4945\",\n      \"postal_code\": \"44360\",\n      \"name\": \"La Natividad\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0133\",\n      \"postal_code\": \"44360\",\n      \"name\": \"La Perla\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4963\",\n      \"postal_code\": \"44360\",\n      \"name\": \"Sagrado Corazón\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0135\",\n      \"postal_code\": \"44360\",\n      \"name\": \"San Juan de Dios\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0143\",\n      \"postal_code\": \"44370\",\n      \"name\": \"El Mirador\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4965\",\n      \"postal_code\": \"44370\",\n      \"name\": \"San Ramón\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0148\",\n      \"postal_code\": \"44380\",\n      \"name\": \"San Felipe\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4520\",\n      \"postal_code\": \"44390\",\n      \"name\": \"Balcones de La Joya\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0152\",\n      \"postal_code\": \"44390\",\n      \"name\": \"Huentitán El Alto\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0154\",\n      \"postal_code\": \"44390\",\n      \"name\": \"INFONAVIT El Verde\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0394\",\n      \"postal_code\": \"44390\",\n      \"name\": \"La Joyita\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4500\",\n      \"postal_code\": \"44390\",\n      \"name\": \"Real de Huentitán\",\n      \"type\": \"Conjunto habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4589\",\n      \"postal_code\": \"44390\",\n      \"name\": \"Rinconada de Huentitán\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0153\",\n      \"postal_code\": \"44390\",\n      \"name\": \"San Miguel de Huentitán El Alto 3a Secc\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0156\",\n      \"postal_code\": \"44398\",\n      \"name\": \"Colinas de Huentitán\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4522\",\n      \"postal_code\": \"44399\",\n      \"name\": \"Altavista de Guadalajara\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0157\",\n      \"postal_code\": \"44399\",\n      \"name\": \"Dr. Atl\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4523\",\n      \"postal_code\": \"44399\",\n      \"name\": \"Villas de La Barranca\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0158\",\n      \"postal_code\": \"44400\",\n      \"name\": \"General Real\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4944\",\n      \"postal_code\": \"44400\",\n      \"name\": \"La Divina Providencia\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4959\",\n      \"postal_code\": \"44400\",\n      \"name\": \"Real\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0159\",\n      \"postal_code\": \"44400\",\n      \"name\": \"Revolución\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0161\",\n      \"postal_code\": \"44410\",\n      \"name\": \"La Loma\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0162\",\n      \"postal_code\": \"44410\",\n      \"name\": \"Medrano\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0163\",\n      \"postal_code\": \"44419\",\n      \"name\": \"Hernández Romo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0164\",\n      \"postal_code\": \"44420\",\n      \"name\": \"Obrera\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0166\",\n      \"postal_code\": \"44420\",\n      \"name\": \"Unidad Modelo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5032\",\n      \"postal_code\": \"44420\",\n      \"name\": \"Valentín Gómez Farías\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0170\",\n      \"postal_code\": \"44430\",\n      \"name\": \"El Periodista\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0168\",\n      \"postal_code\": \"44430\",\n      \"name\": \"González Gallo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0169\",\n      \"postal_code\": \"44430\",\n      \"name\": \"Olímpica\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0171\",\n      \"postal_code\": \"44430\",\n      \"name\": \"Quinta Velarde\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0175\",\n      \"postal_code\": \"44440\",\n      \"name\": \"El Dean\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0176\",\n      \"postal_code\": \"44440\",\n      \"name\": \"Ferrocarril\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0177\",\n      \"postal_code\": \"44440\",\n      \"name\": \"Valle del Álamo\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0180\",\n      \"postal_code\": \"44450\",\n      \"name\": \"Analco\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0183\",\n      \"postal_code\": \"44460\",\n      \"name\": \"La Aurora\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0184\",\n      \"postal_code\": \"44460\",\n      \"name\": \"Las Conchas\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0185\",\n      \"postal_code\": \"44460\",\n      \"name\": \"San Carlos\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0187\",\n      \"postal_code\": \"44467\",\n      \"name\": \"Rincón de Agua Azul\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0189\",\n      \"postal_code\": \"44469\",\n      \"name\": \"Barragán y Hernández\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0550\",\n      \"postal_code\": \"44470\",\n      \"name\": \"El Manantial\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0190\",\n      \"postal_code\": \"44470\",\n      \"name\": \"Higuerillas 1a Secc\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0191\",\n      \"postal_code\": \"44470\",\n      \"name\": \"Higuerillas 2a Secc\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0192\",\n      \"postal_code\": \"44470\",\n      \"name\": \"La Nogalera\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0195\",\n      \"postal_code\": \"44490\",\n      \"name\": \"Lázaro Cárdenas\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0196\",\n      \"postal_code\": \"44490\",\n      \"name\": \"Parque Industrial El Álamo\",\n      \"type\": \"Zona industrial\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-5025\",\n      \"postal_code\": \"44493\",\n      \"name\": \"Las Juntas\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0197\",\n      \"postal_code\": \"44500\",\n      \"name\": \"Arcos Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4938\",\n      \"postal_code\": \"44500\",\n      \"name\": \"Campo de Polo Chapalita\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-3743\",\n      \"postal_code\": \"44500\",\n      \"name\": \"Chapalita\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0613\",\n      \"postal_code\": \"44500\",\n      \"name\": \"Jardines de los Arcos\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4570\",\n      \"postal_code\": \"44500\",\n      \"name\": \"Residencial Chapalita\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0201\",\n      \"postal_code\": \"44500\",\n      \"name\": \"Vallarta Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0204\",\n      \"postal_code\": \"44510\",\n      \"name\": \"Jardines de Plaza Del Sol\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0205\",\n      \"postal_code\": \"44510\",\n      \"name\": \"Juan Diego\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0209\",\n      \"postal_code\": \"44520\",\n      \"name\": \"Jardines del Bosque Centro\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-4929\",\n      \"postal_code\": \"44520\",\n      \"name\": \"Jardines del Bosque Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0212\",\n      \"postal_code\": \"44530\",\n      \"name\": \"Comercial Abastos\",\n      \"type\": \"Zona comercial\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0215\",\n      \"postal_code\": \"44530\",\n      \"name\": \"Margal\",\n      \"type\": \"Unidad habitacional\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0216\",\n      \"postal_code\": \"44530\",\n      \"name\": \"Mercado de Abastos\",\n      \"type\": \"Zona comercial\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0217\",\n      \"postal_code\": \"44530\",\n      \"name\": \"Rinconada del Bosque\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0219\",\n      \"postal_code\": \"44535\",\n      \"name\": \"Villa La Victoria\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0221\",\n      \"postal_code\": \"44538\",\n      \"name\": \"Rinconada de La Victoria\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0223\",\n      \"postal_code\": \"44540\",\n      \"name\": \"Bosques de La Victoria\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0224\",\n      \"postal_code\": \"44540\",\n      \"name\": \"Bosques Del Valle\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0225\",\n      \"postal_code\": \"44540\",\n      \"name\": \"Jardines del Valle\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0009\",\n      \"postal_code\": \"44540\",\n      \"name\": \"Perla Real\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0226\",\n      \"postal_code\": \"44549\",\n      \"name\": \"Rinconada de La Arboleda\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0228\",\n      \"postal_code\": \"44550\",\n      \"name\": \"Verde Valle\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0230\",\n      \"postal_code\": \"44559\",\n      \"name\": \"Turquesa\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0231\",\n      \"postal_code\": \"44560\",\n      \"name\": \"Residencial Victoria\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0234\",\n      \"postal_code\": \"44580\",\n      \"name\": \"Santa Eduwiges\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0236\",\n      \"postal_code\": \"44600\",\n      \"name\": \"Ladrón de Guevara\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0237\",\n      \"postal_code\": \"44600\",\n      \"name\": \"Santa Teresita\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0238\",\n      \"postal_code\": \"44600\",\n      \"name\": \"Villaseñor\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0255\",\n      \"postal_code\": \"44610\",\n      \"name\": \"Country Club\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0240\",\n      \"postal_code\": \"44610\",\n      \"name\": \"Lomas Del Country\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0241\",\n      \"postal_code\": \"44619\",\n      \"name\": \"Villas Del Country\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0243\",\n      \"postal_code\": \"44620\",\n      \"name\": \"Ayuntamiento\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0244\",\n      \"postal_code\": \"44620\",\n      \"name\": \"Chapultepec Country\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0247\",\n      \"postal_code\": \"44630\",\n      \"name\": \"Circunvalación Américas\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0249\",\n      \"postal_code\": \"44630\",\n      \"name\": \"Providencia\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0253\",\n      \"postal_code\": \"44635\",\n      \"name\": \"Rubio y Corona\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0258\",\n      \"postal_code\": \"44647\",\n      \"name\": \"Lomas de Providencia\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0259\",\n      \"postal_code\": \"44648\",\n      \"name\": \"Italia Providencia\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0261\",\n      \"postal_code\": \"44650\",\n      \"name\": \"Las Américas\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0262\",\n      \"postal_code\": \"44650\",\n      \"name\": \"Rojas Ladrón de Guevara\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0263\",\n      \"postal_code\": \"44656\",\n      \"name\": \"Jesús García\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0264\",\n      \"postal_code\": \"44657\",\n      \"name\": \"Lomas de Guevara\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0265\",\n      \"postal_code\": \"44658\",\n      \"name\": \"Italia\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXw2Mjc2Nw\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "f91d91fe-fd14-5899-8dcd-cc4de9d6167a",
          "name": "Search settlements in a state",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?q=centro&state=14&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "centro"
                },
                {
                  "key": "state",
                  "value": "14"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "Combine `q` with `state` to narrow common names."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?q=centro&state=14&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "centro"
                    },
                    {
                      "key": "state",
                      "value": "14"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"14039-0003\",\n      \"postal_code\": \"44100\",\n      \"name\": \"Guadalajara Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0008\",\n      \"postal_code\": \"44140\",\n      \"name\": \"Obrera Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0018\",\n      \"postal_code\": \"44280\",\n      \"name\": \"Centro Barranquitas\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0015\",\n      \"postal_code\": \"44349\",\n      \"name\": \"Centro Médico Nacional de Occidente IMSS\",\n      \"type\": \"Equipamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    },\n    {\n      \"id\": \"14039-0209\",\n      \"postal_code\": \"44520\",\n      \"name\": \"Jardines del Bosque Centro\",\n      \"type\": \"Fraccionamiento\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      }\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXw2MjczMw\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "8d979160-8a65-5eb3-929b-5d1cee0f71cb",
          "name": "Settlements of a postal code",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?postal_code={{postalCode}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "{{postalCode}}"
                }
              ]
            },
            "description": "Same settlements as the postal code lookup, in the settlement format (with state and municipality)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?postal_code={{postalCode}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "{{postalCode}}"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"09015-0947\",\n      \"postal_code\": \"06700\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "b47a4002-a01e-50e7-92a8-33bd727a7cc2",
          "name": "Filter by type and zone",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?state=20&type=29&zone=rural&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "20"
                },
                {
                  "key": "type",
                  "value": "29"
                },
                {
                  "key": "zone",
                  "value": "rural"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "Rural rancherías of Oaxaca. Get type keys from /v1/settlement-types; `zone` accepts urban, rural or semiurban."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?state=20&type=29&zone=rural&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "state",
                      "value": "20"
                    },
                    {
                      "key": "type",
                      "value": "29"
                    },
                    {
                      "key": "zone",
                      "value": "rural"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"20175-0001\",\n      \"postal_code\": \"68204\",\n      \"name\": \"El Porvenir\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"20\",\n        \"name\": \"Oaxaca\"\n      },\n      \"municipality\": {\n        \"id\": \"175\",\n        \"name\": \"San Juan Bautista Atatlahuca\"\n      }\n    },\n    {\n      \"id\": \"20175-4398\",\n      \"postal_code\": \"68205\",\n      \"name\": \"Zoquiápan Boca de los Ríos\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"20\",\n        \"name\": \"Oaxaca\"\n      },\n      \"municipality\": {\n        \"id\": \"175\",\n        \"name\": \"San Juan Bautista Atatlahuca\"\n      }\n    },\n    {\n      \"id\": \"20161-0002\",\n      \"postal_code\": \"68207\",\n      \"name\": \"Cruz de Piedra\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"20\",\n        \"name\": \"Oaxaca\"\n      },\n      \"municipality\": {\n        \"id\": \"161\",\n        \"name\": \"San Jerónimo Sosola\"\n      }\n    },\n    {\n      \"id\": \"20161-0001\",\n      \"postal_code\": \"68207\",\n      \"name\": \"El Parián\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"20\",\n        \"name\": \"Oaxaca\"\n      },\n      \"municipality\": {\n        \"id\": \"161\",\n        \"name\": \"San Jerónimo Sosola\"\n      }\n    },\n    {\n      \"id\": \"20161-0211\",\n      \"postal_code\": \"68207\",\n      \"name\": \"Río Florido Sosola\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"20\",\n        \"name\": \"Oaxaca\"\n      },\n      \"municipality\": {\n        \"id\": \"161\",\n        \"name\": \"San Jerónimo Sosola\"\n      }\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXw5NzU4MQ\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "9b2ccefa-961d-5769-8de8-75b4e47becdb",
          "name": "Autocomplete by name",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/autocomplete?q=del valle&state={{state}}&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "autocomplete"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "del valle"
                },
                {
                  "key": "state",
                  "value": "{{state}}"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "Suggestions while the user types. Order: the largest metropolitan areas first (central municipalities before exterior ones), then the exact name, names starting with the text and the rest, shorter names first; non-housing types last."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/autocomplete?q=del valle&state={{state}}&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "autocomplete"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "del valle"
                    },
                    {
                      "key": "state",
                      "value": "{{state}}"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"09014-2622\",\n      \"postal_code\": \"03104\",\n      \"name\": \"Del Valle Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"014\",\n        \"name\": \"Benito Juárez\"\n      }\n    },\n    {\n      \"id\": \"09014-2621\",\n      \"postal_code\": \"03103\",\n      \"name\": \"Del Valle Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"014\",\n        \"name\": \"Benito Juárez\"\n      }\n    },\n    {\n      \"id\": \"09014-0496\",\n      \"postal_code\": \"03100\",\n      \"name\": \"Del Valle Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"014\",\n        \"name\": \"Benito Juárez\"\n      }\n    },\n    {\n      \"id\": \"09005-1190\",\n      \"postal_code\": \"07870\",\n      \"name\": \"Vallejo\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"005\",\n        \"name\": \"Gustavo A. Madero\"\n      }\n    },\n    {\n      \"id\": \"09015-0895\",\n      \"postal_code\": \"06240\",\n      \"name\": \"Valle Gómez\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "d9f541bc-3e61-55e4-a017-d848e59c6772",
          "name": "Autocomplete: abbreviations and the type at the beginning",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"Roma Norte first\", () => {",
                  "    const first = pm.response.json().data[0];",
                  "    pm.expect(first.name).to.eql(\"Roma Norte\");",
                  "    pm.expect(first.postal_code).to.eql(\"06700\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/autocomplete?q=col roma nte&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "autocomplete"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "col roma nte"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "`q` is read like the validation reads a name: \"col roma nte\" is Roma Norte (the type at the beginning does not count and \"nte\" is \"norte\")."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/autocomplete?q=col roma nte&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "autocomplete"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "col roma nte"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"09015-0947\",\n      \"postal_code\": \"06700\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "68b840b1-0b5f-559e-933f-da72aac147ad",
          "name": "Autocomplete by postal code prefix",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/autocomplete?q=0670&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "autocomplete"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "0670"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "If `q` is only digits, suggests settlements by postal code prefix."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/autocomplete?q=0670&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "autocomplete"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "0670"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"09015-0947\",\n      \"postal_code\": \"06700\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "5f7be16b-73a4-5c46-aec5-bd3d0d1bffee",
          "name": "Settlements of a municipality",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/municipalities/{{state}}/{{municipality}}/settlements?q=roma&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "municipalities",
                "{{state}}",
                "{{municipality}}",
                "settlements"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "roma"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "Settlements of one municipality, optionally filtered by name, type or zone."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/municipalities/{{state}}/{{municipality}}/settlements?q=roma&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "municipalities",
                    "{{state}}",
                    "{{municipality}}",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "roma"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"09015-0947\",\n      \"postal_code\": \"06700\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    },\n    {\n      \"id\": \"09015-0966\",\n      \"postal_code\": \"06760\",\n      \"name\": \"Roma Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "a8e7c7c4-6ba3-5f97-81a8-b7f26515b77c",
          "name": "Search tolerating typos (fuzzy)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"typos are tolerated and marked\", () => {",
                  "    const data = pm.response.json().data;",
                  "    pm.expect(data).to.not.be.empty;",
                  "    data.forEach((s) => pm.expect([\"exact\", \"approximate\"]).to.include(s.match));",
                  "    pm.expect(data.map((s) => s.name)).to.include(\"Guadalajara Centro\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?q=guadalajra centro&fuzzy=true&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "guadalajra centro"
                },
                {
                  "key": "fuzzy",
                  "value": "true"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "With `fuzzy=true`, words with typos also match (one per word of 4 to 7 letters, two in longer words). Each result says `match`: exact or approximate."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?q=guadalajra centro&fuzzy=true&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "guadalajra centro"
                    },
                    {
                      "key": "fuzzy",
                      "value": "true"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"14039-0003\",\n      \"postal_code\": \"44100\",\n      \"name\": \"Guadalajara Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Guadalajara\",\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"039\",\n        \"name\": \"Guadalajara\"\n      },\n      \"match\": \"approximate\"\n    }\n  ],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "95a0a15d-8eb1-5ef2-a836-2dd2908b9c3a",
          "name": "Validate postal code and settlement (with abbreviations)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"valid and equivalent\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"valid\");",
                  "    pm.expect(body.valid).to.eql(true);",
                  "    pm.expect(body.match).to.eql(\"exact\");",
                  "    pm.expect(body.settlement.name).to.eql(\"Roma Norte\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=Col. Roma Nte",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "{{postalCode}}"
                },
                {
                  "key": "settlement",
                  "value": "Col. Roma Nte"
                }
              ]
            },
            "description": "Abbreviations (col., nte, fracc...) and the settlement type at the beginning are accepted: the result is valid with confidence 0.98."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=Col. Roma Nte",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "{{postalCode}}"
                    },
                    {
                      "key": "settlement",
                      "value": "Col. Roma Nte"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"query\": \"Col. Roma Nte\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"valid\",\n  \"valid\": true,\n  \"match\": \"exact\",\n  \"confidence\": 0.98,\n  \"settlement\": {\n    \"id\": \"09015-0947\",\n    \"postal_code\": \"06700\",\n    \"name\": \"Roma Norte\",\n    \"type\": \"Colonia\",\n    \"zone\": \"Urbano\",\n    \"city\": \"Ciudad de México\",\n    \"state\": {\n      \"id\": \"09\",\n      \"name\": \"Ciudad de México\"\n    },\n    \"municipality\": {\n      \"id\": \"015\",\n      \"name\": \"Cuauhtémoc\"\n    }\n  },\n  \"same_name_settlements\": [],\n  \"suggestions\": [],\n  \"found_in_other_postal_codes\": [],\n  \"history\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "6b7ccdf7-2ab6-5905-818c-f6d22b07dfd3",
          "name": "Validate: an ordinal written another way",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"valid with the ordinal in another form\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"valid\");",
                  "    pm.expect(body.confidence).to.eql(0.98);",
                  "    pm.expect(body.settlement.name).to.eql(\"Obrera 2da. Sección\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=22624&settlement=Obrera Segunda Sección",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "22624"
                },
                {
                  "key": "settlement",
                  "value": "Obrera Segunda Sección"
                }
              ]
            },
            "description": "An ordinal can be written in any of its forms: \"Segunda Sección\" is SEPOMEX's \"Obrera 2da. Sección\" (22624). The name in the response is SEPOMEX's, as published."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=22624&settlement=Obrera Segunda Sección",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "22624"
                    },
                    {
                      "key": "settlement",
                      "value": "Obrera Segunda Sección"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"22624\",\n  \"query\": \"Obrera Segunda Sección\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"valid\",\n  \"valid\": true,\n  \"match\": \"exact\",\n  \"confidence\": 0.98,\n  \"settlement\": {\n    \"id\": \"02004-1129\",\n    \"postal_code\": \"22624\",\n    \"name\": \"Obrera 2da. Sección\",\n    \"type\": \"Colonia\",\n    \"zone\": \"Urbano\",\n    \"city\": \"Tijuana\",\n    \"state\": {\n      \"id\": \"02\",\n      \"name\": \"Baja California\"\n    },\n    \"municipality\": {\n      \"id\": \"004\",\n      \"name\": \"Tijuana\"\n    }\n  },\n  \"same_name_settlements\": [],\n  \"suggestions\": [],\n  \"found_in_other_postal_codes\": [],\n  \"history\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "9486470b-1b13-560e-8611-6ea4db2a68cd",
          "name": "Validate postal code and settlement (typo: suggestions)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"approximate with a suggestion\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"approximate\");",
                  "    pm.expect(body.valid).to.eql(false);",
                  "    pm.expect(body.match).to.eql(\"approximate\");",
                  "    pm.expect(body.suggestions[0].settlement.name).to.eql(\"Roma Norte\");",
                  "    pm.expect(body.suggestions[0].confidence).to.be.above(0.7);",
                  "    pm.expect(body.suggestions[0].reason).to.eql(\"spelling\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=roma nrte",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "{{postalCode}}"
                },
                {
                  "key": "settlement",
                  "value": "roma nrte"
                }
              ]
            },
            "description": "A typo is never corrected silently: `valid` is false and `suggestions` carries the likely settlement with its confidence."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=roma nrte",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "{{postalCode}}"
                    },
                    {
                      "key": "settlement",
                      "value": "roma nrte"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"query\": \"roma nrte\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"approximate\",\n  \"valid\": false,\n  \"match\": \"approximate\",\n  \"confidence\": 0.9,\n  \"settlement\": null,\n  \"same_name_settlements\": [],\n  \"suggestions\": [\n    {\n      \"settlement\": {\n        \"id\": \"09015-0947\",\n        \"postal_code\": \"06700\",\n        \"name\": \"Roma Norte\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"015\",\n          \"name\": \"Cuauhtémoc\"\n        }\n      },\n      \"confidence\": 0.9,\n      \"reason\": \"spelling\"\n    }\n  ],\n  \"found_in_other_postal_codes\": [],\n  \"history\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "1efdc4ab-5411-5cf4-829d-a9161c877e56",
          "name": "Validate: the rest of the address at the end",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"valid without the rest of the address\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"valid\");",
                  "    pm.expect(body.confidence).to.eql(0.98);",
                  "    pm.expect(body.settlement.name).to.eql(\"Roma Norte\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=Roma Norte, Cuauhtémoc, CDMX",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "{{postalCode}}"
                },
                {
                  "key": "settlement",
                  "value": "Roma Norte, Cuauhtémoc, CDMX"
                }
              ]
            },
            "description": "Words at the end that are the rest of the address (municipality, state, \"CDMX\", the postal code) are ignored: \"Roma Norte, Cuauhtémoc, CDMX\" is valid."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=Roma Norte, Cuauhtémoc, CDMX",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "{{postalCode}}"
                    },
                    {
                      "key": "settlement",
                      "value": "Roma Norte, Cuauhtémoc, CDMX"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"query\": \"Roma Norte, Cuauhtémoc, CDMX\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"valid\",\n  \"valid\": true,\n  \"match\": \"exact\",\n  \"confidence\": 0.98,\n  \"settlement\": {\n    \"id\": \"09015-0947\",\n    \"postal_code\": \"06700\",\n    \"name\": \"Roma Norte\",\n    \"type\": \"Colonia\",\n    \"zone\": \"Urbano\",\n    \"city\": \"Ciudad de México\",\n    \"state\": {\n      \"id\": \"09\",\n      \"name\": \"Ciudad de México\"\n    },\n    \"municipality\": {\n      \"id\": \"015\",\n      \"name\": \"Cuauhtémoc\"\n    }\n  },\n  \"same_name_settlements\": [],\n  \"suggestions\": [],\n  \"found_in_other_postal_codes\": [],\n  \"history\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "0c3a4ae8-e761-5fb7-bb3b-6182716e2de6",
          "name": "Validate: a name that points to a settlement (reason)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"approximate with place_name\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"approximate\");",
                  "    pm.expect(body.valid).to.eql(false);",
                  "    pm.expect(body.suggestions[0].settlement.name).to.eql(\"Guadalajara Centro\");",
                  "    pm.expect(body.suggestions[0].reason).to.eql(\"place_name\");",
                  "    pm.expect(body.suggestions[0].confidence).to.eql(0.95);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=44100&settlement=Centro",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "44100"
                },
                {
                  "key": "settlement",
                  "value": "Centro"
                }
              ]
            },
            "description": "\"Centro\" is not the full name of \"Guadalajara Centro\" (44100), but points to it: `approximate`, with the suggestion's `reason` (`place_name`). Never `valid`."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=44100&settlement=Centro",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "44100"
                    },
                    {
                      "key": "settlement",
                      "value": "Centro"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"44100\",\n  \"query\": \"Centro\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"approximate\",\n  \"valid\": false,\n  \"match\": \"approximate\",\n  \"confidence\": 0.95,\n  \"settlement\": null,\n  \"same_name_settlements\": [],\n  \"suggestions\": [\n    {\n      \"settlement\": {\n        \"id\": \"14039-0003\",\n        \"postal_code\": \"44100\",\n        \"name\": \"Guadalajara Centro\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Guadalajara\",\n        \"state\": {\n          \"id\": \"14\",\n          \"name\": \"Jalisco\"\n        },\n        \"municipality\": {\n          \"id\": \"039\",\n          \"name\": \"Guadalajara\"\n        }\n      },\n      \"confidence\": 0.95,\n      \"reason\": \"place_name\"\n    }\n  ],\n  \"found_in_other_postal_codes\": [\n    {\n      \"id\": \"14116-1875\",\n      \"postal_code\": \"47259\",\n      \"name\": \"El Centro\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"116\",\n        \"name\": \"Villa Hidalgo\"\n      }\n    },\n    {\n      \"id\": \"14013-2165\",\n      \"postal_code\": \"47760\",\n      \"name\": \"El Centro\",\n      \"type\": \"Ranchería\",\n      \"zone\": \"Rural\",\n      \"city\": null,\n      \"state\": {\n        \"id\": \"14\",\n        \"name\": \"Jalisco\"\n      },\n      \"municipality\": {\n        \"id\": \"013\",\n        \"name\": \"Atotonilco el Alto\"\n      }\n    }\n  ],\n  \"history\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "493ed8df-1e26-538b-89e3-42ae1f251eaa",
          "name": "Validate: settlement found in another postal code",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"found in another postal code\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"other_postal_code\");",
                  "    pm.expect(body.valid).to.eql(false);",
                  "    pm.expect(body.found_in_other_postal_codes.map((s) => s.postal_code)).to.include(\"06760\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=Roma Sur",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "{{postalCode}}"
                },
                {
                  "key": "settlement",
                  "value": "Roma Sur"
                }
              ]
            },
            "description": "Roma Sur is not in 06700: the answer points to the postal code where it is, in the same municipality."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code={{postalCode}}&settlement=Roma Sur",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "{{postalCode}}"
                    },
                    {
                      "key": "settlement",
                      "value": "Roma Sur"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"query\": \"Roma Sur\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"other_postal_code\",\n  \"valid\": false,\n  \"match\": \"none\",\n  \"confidence\": 0.5,\n  \"settlement\": null,\n  \"same_name_settlements\": [],\n  \"suggestions\": [\n    {\n      \"settlement\": {\n        \"id\": \"09015-0947\",\n        \"postal_code\": \"06700\",\n        \"name\": \"Roma Norte\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"015\",\n          \"name\": \"Cuauhtémoc\"\n        }\n      },\n      \"confidence\": 0.5,\n      \"reason\": \"spelling\"\n    }\n  ],\n  \"found_in_other_postal_codes\": [\n    {\n      \"id\": \"09015-0966\",\n      \"postal_code\": \"06760\",\n      \"name\": \"Roma Sur\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      }\n    }\n  ],\n  \"history\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "430fa49f-0d4b-573f-b4b5-ca0587eb63ed",
          "name": "Validate: two settlements with the same name (include=cfdi)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"ambiguous: choose by type\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.outcome).to.eql(\"ambiguous\");",
                  "    pm.expect(body.valid).to.eql(true);",
                  "    pm.expect(body.settlement).to.eql(null);",
                  "    pm.expect(body.same_name_settlements.map((s) => s.type)).to.eql([\"Barrio\", \"Pueblo\"]);",
                  "    const colonia = body.cfdi.fields.Colonia;",
                  "    pm.expect(body.cfdi.ready).to.eql(false);",
                  "    pm.expect(colonia.status).to.eql(\"choose\");",
                  "    pm.expect(colonia.options.map((o) => o.c_colonia)).to.eql([\"0398\", \"0399\"]);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=02240&settlement=San Andrés&include=cfdi",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "02240"
                },
                {
                  "key": "settlement",
                  "value": "San Andrés"
                },
                {
                  "key": "include",
                  "value": "cfdi"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** 02240 has a Barrio and a Pueblo named San Andrés, each with its own SAT key: the validation does not choose (`outcome: ambiguous`) and the Colonia of the CFDI node says `choose`, with both keys in `options`. Paid plans (Basic and higher)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=02240&settlement=San Andrés&include=cfdi",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "02240"
                    },
                    {
                      "key": "settlement",
                      "value": "San Andrés"
                    },
                    {
                      "key": "include",
                      "value": "cfdi"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"02240\",\n  \"query\": \"San Andrés\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"ambiguous\",\n  \"valid\": true,\n  \"match\": \"exact\",\n  \"confidence\": 1,\n  \"settlement\": null,\n  \"same_name_settlements\": [\n    {\n      \"id\": \"09002-0398\",\n      \"postal_code\": \"02240\",\n      \"name\": \"San Andrés\",\n      \"type\": \"Barrio\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"002\",\n        \"name\": \"Azcapotzalco\"\n      }\n    },\n    {\n      \"id\": \"09002-0399\",\n      \"postal_code\": \"02240\",\n      \"name\": \"San Andrés\",\n      \"type\": \"Pueblo\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"002\",\n        \"name\": \"Azcapotzalco\"\n      }\n    }\n  ],\n  \"suggestions\": [],\n  \"found_in_other_postal_codes\": [],\n  \"history\": null,\n  \"cfdi\": {\n    \"ready\": false,\n    \"address\": {\n      \"CodigoPostal\": \"02240\",\n      \"Colonia\": null,\n      \"Localidad\": \"02\",\n      \"Municipio\": \"002\",\n      \"Estado\": \"CMX\",\n      \"Pais\": \"MEX\"\n    },\n    \"fields\": {\n      \"CodigoPostal\": {\n        \"status\": \"key\",\n        \"name\": null\n      },\n      \"Colonia\": {\n        \"status\": \"choose\",\n        \"name\": null,\n        \"in_sepomex\": null,\n        \"sat_candidate\": null,\n        \"options\": [\n          {\n            \"settlement_id\": \"09002-0398\",\n            \"name\": \"San Andrés\",\n            \"type\": \"Barrio\",\n            \"c_colonia\": \"0398\"\n          },\n          {\n            \"settlement_id\": \"09002-0399\",\n            \"name\": \"San Andrés\",\n            \"type\": \"Pueblo\",\n            \"c_colonia\": \"0399\"\n          }\n        ]\n      },\n      \"Localidad\": {\n        \"status\": \"key\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"Municipio\": {\n        \"status\": \"key\",\n        \"name\": \"Azcapotzalco\"\n      },\n      \"Estado\": {\n        \"status\": \"key\",\n        \"name\": \"Ciudad de México\"\n      }\n    }\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "bfc64052-8ef7-5108-8bc9-58f30a6e55a5",
          "name": "Validate: Domicilio node for Carta Porte (include=cfdi)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"Domicilio node with the SAT keys\", () => {",
                  "    const cfdi = pm.response.json().cfdi;",
                  "    pm.expect(cfdi.ready).to.eql(true);",
                  "    pm.expect(cfdi.address).to.eql({CodigoPostal: \"06300\", Colonia: \"0900\", Localidad: \"06\",",
                  "        Municipio: \"015\", Estado: \"CMX\", Pais: \"MEX\"});",
                  "    pm.expect(cfdi.fields.Colonia.status).to.eql(\"key\");",
                  "    pm.expect(cfdi.fields.Municipio.name).to.eql(\"Cuauhtémoc\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=06300&settlement=Guerrero&include=cfdi",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "validate",
                "postal-code-settlement"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "06300"
                },
                {
                  "key": "settlement",
                  "value": "Guerrero"
                },
                {
                  "key": "include",
                  "value": "cfdi"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** The address node of the CFDI complements (Carta Porte 3.1, Comercio Exterior 2.0) with the SAT keys, ready to copy. Same address as the example in the SAT's Carta Porte 3.1 filling guide. Paid plans (Basic and higher)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/validate/postal-code-settlement?postal_code=06300&settlement=Guerrero&include=cfdi",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "validate",
                    "postal-code-settlement"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "06300"
                    },
                    {
                      "key": "settlement",
                      "value": "Guerrero"
                    },
                    {
                      "key": "include",
                      "value": "cfdi"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06300\",\n  \"query\": \"Guerrero\",\n  \"postal_code_exists\": true,\n  \"outcome\": \"valid\",\n  \"valid\": true,\n  \"match\": \"exact\",\n  \"confidence\": 1,\n  \"settlement\": {\n    \"id\": \"09015-0900\",\n    \"postal_code\": \"06300\",\n    \"name\": \"Guerrero\",\n    \"type\": \"Colonia\",\n    \"zone\": \"Urbano\",\n    \"city\": \"Ciudad de México\",\n    \"state\": {\n      \"id\": \"09\",\n      \"name\": \"Ciudad de México\"\n    },\n    \"municipality\": {\n      \"id\": \"015\",\n      \"name\": \"Cuauhtémoc\"\n    }\n  },\n  \"same_name_settlements\": [],\n  \"suggestions\": [],\n  \"found_in_other_postal_codes\": [],\n  \"history\": null,\n  \"cfdi\": {\n    \"ready\": true,\n    \"address\": {\n      \"CodigoPostal\": \"06300\",\n      \"Colonia\": \"0900\",\n      \"Localidad\": \"06\",\n      \"Municipio\": \"015\",\n      \"Estado\": \"CMX\",\n      \"Pais\": \"MEX\"\n    },\n    \"fields\": {\n      \"CodigoPostal\": {\n        \"status\": \"key\",\n        \"name\": null\n      },\n      \"Colonia\": {\n        \"status\": \"key\",\n        \"name\": \"Guerrero\",\n        \"in_sepomex\": true,\n        \"sat_candidate\": null,\n        \"options\": []\n      },\n      \"Localidad\": {\n        \"status\": \"key\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"Municipio\": {\n        \"status\": \"key\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"Estado\": {\n        \"status\": \"key\",\n        \"name\": \"Ciudad de México\"\n      }\n    }\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Catalogs",
      "description": "States, municipalities, settlement types and data version.",
      "item": [
        {
          "id": "a7111b63-e56e-5dd0-a049-b37be86c1eb8",
          "name": "States",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"32 states\", () => pm.expect(pm.response.json().data.length).to.eql(32));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/states",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "states"
              ],
              "query": []
            },
            "description": "The 32 states with their INEGI keys."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/states",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "states"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"01\",\n      \"name\": \"Aguascalientes\"\n    },\n    {\n      \"id\": \"02\",\n      \"name\": \"Baja California\"\n    },\n    {\n      \"id\": \"03\",\n      \"name\": \"Baja California Sur\"\n    },\n    {\n      \"id\": \"04\",\n      \"name\": \"Campeche\"\n    },\n    {\n      \"id\": \"05\",\n      \"name\": \"Coahuila de Zaragoza\"\n    },\n    {\n      \"id\": \"06\",\n      \"name\": \"Colima\"\n    },\n    {\n      \"id\": \"07\",\n      \"name\": \"Chiapas\"\n    },\n    {\n      \"id\": \"08\",\n      \"name\": \"Chihuahua\"\n    },\n    {\n      \"id\": \"09\",\n      \"name\": \"Ciudad de México\"\n    },\n    {\n      \"id\": \"10\",\n      \"name\": \"Durango\"\n    },\n    {\n      \"id\": \"11\",\n      \"name\": \"Guanajuato\"\n    },\n    {\n      \"id\": \"12\",\n      \"name\": \"Guerrero\"\n    },\n    {\n      \"id\": \"13\",\n      \"name\": \"Hidalgo\"\n    },\n    {\n      \"id\": \"14\",\n      \"name\": \"Jalisco\"\n    },\n    {\n      \"id\": \"15\",\n      \"name\": \"México\"\n    },\n    {\n      \"id\": \"16\",\n      \"name\": \"Michoacán de Ocampo\"\n    },\n    {\n      \"id\": \"17\",\n      \"name\": \"Morelos\"\n    },\n    {\n      \"id\": \"18\",\n      \"name\": \"Nayarit\"\n    },\n    {\n      \"id\": \"19\",\n      \"name\": \"Nuevo León\"\n    },\n    {\n      \"id\": \"20\",\n      \"name\": \"Oaxaca\"\n    },\n    {\n      \"id\": \"21\",\n      \"name\": \"Puebla\"\n    },\n    {\n      \"id\": \"22\",\n      \"name\": \"Querétaro\"\n    },\n    {\n      \"id\": \"23\",\n      \"name\": \"Quintana Roo\"\n    },\n    {\n      \"id\": \"24\",\n      \"name\": \"San Luis Potosí\"\n    },\n    {\n      \"id\": \"25\",\n      \"name\": \"Sinaloa\"\n    },\n    {\n      \"id\": \"26\",\n      \"name\": \"Sonora\"\n    },\n    {\n      \"id\": \"27\",\n      \"name\": \"Tabasco\"\n    },\n    {\n      \"id\": \"28\",\n      \"name\": \"Tamaulipas\"\n    },\n    {\n      \"id\": \"29\",\n      \"name\": \"Tlaxcala\"\n    },\n    {\n      \"id\": \"30\",\n      \"name\": \"Veracruz de Ignacio de la Llave\"\n    },\n    {\n      \"id\": \"31\",\n      \"name\": \"Yucatán\"\n    },\n    {\n      \"id\": \"32\",\n      \"name\": \"Zacatecas\"\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "b2387b1c-c398-5fb6-b042-15ae013292a0",
          "name": "Municipalities of a state",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/states/14/municipalities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "states",
                "14",
                "municipalities"
              ],
              "query": []
            },
            "description": "All municipalities of Jalisco."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/states/14/municipalities",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "states",
                    "14",
                    "municipalities"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"001\",\n      \"name\": \"Acatic\"\n    },\n    {\n      \"id\": \"002\",\n      \"name\": \"Acatlán de Juárez\"\n    },\n    {\n      \"id\": \"003\",\n      \"name\": \"Ahualulco de Mercado\"\n    },\n    {\n      \"id\": \"004\",\n      \"name\": \"Amacueca\"\n    },\n    {\n      \"id\": \"005\",\n      \"name\": \"Amatitán\"\n    },\n    {\n      \"id\": \"006\",\n      \"name\": \"Ameca\"\n    },\n    {\n      \"id\": \"007\",\n      \"name\": \"San Juanito de Escobedo\"\n    },\n    {\n      \"id\": \"008\",\n      \"name\": \"Arandas\"\n    },\n    {\n      \"id\": \"009\",\n      \"name\": \"El Arenal\"\n    },\n    {\n      \"id\": \"010\",\n      \"name\": \"Atemajac de Brizuela\"\n    },\n    {\n      \"id\": \"011\",\n      \"name\": \"Atengo\"\n    },\n    {\n      \"id\": \"012\",\n      \"name\": \"Atenguillo\"\n    },\n    {\n      \"id\": \"013\",\n      \"name\": \"Atotonilco el Alto\"\n    },\n    {\n      \"id\": \"014\",\n      \"name\": \"Atoyac\"\n    },\n    {\n      \"id\": \"015\",\n      \"name\": \"Autlán de Navarro\"\n    },\n    {\n      \"id\": \"016\",\n      \"name\": \"Ayotlán\"\n    },\n    {\n      \"id\": \"017\",\n      \"name\": \"Ayutla\"\n    },\n    {\n      \"id\": \"018\",\n      \"name\": \"La Barca\"\n    },\n    {\n      \"id\": \"019\",\n      \"name\": \"Bolaños\"\n    },\n    {\n      \"id\": \"020\",\n      \"name\": \"Cabo Corrientes\"\n    },\n    {\n      \"id\": \"021\",\n      \"name\": \"Casimiro Castillo\"\n    },\n    {\n      \"id\": \"022\",\n      \"name\": \"Cihuatlán\"\n    },\n    {\n      \"id\": \"023\",\n      \"name\": \"Zapotlán el Grande\"\n    },\n    {\n      \"id\": \"024\",\n      \"name\": \"Cocula\"\n    },\n    {\n      \"id\": \"025\",\n      \"name\": \"Colotlán\"\n    },\n    {\n      \"id\": \"026\",\n      \"name\": \"Concepción de Buenos Aires\"\n    },\n    {\n      \"id\": \"027\",\n      \"name\": \"Cuautitlán de García Barragán\"\n    },\n    {\n      \"id\": \"028\",\n      \"name\": \"Cuautla\"\n    },\n    {\n      \"id\": \"029\",\n      \"name\": \"Cuquío\"\n    },\n    {\n      \"id\": \"030\",\n      \"name\": \"Chapala\"\n    },\n    {\n      \"id\": \"031\",\n      \"name\": \"Chimaltitán\"\n    },\n    {\n      \"id\": \"032\",\n      \"name\": \"Chiquilistlán\"\n    },\n    {\n      \"id\": \"033\",\n      \"name\": \"Degollado\"\n    },\n    {\n      \"id\": \"034\",\n      \"name\": \"Ejutla\"\n    },\n    {\n      \"id\": \"035\",\n      \"name\": \"Encarnación de Díaz\"\n    },\n    {\n      \"id\": \"036\",\n      \"name\": \"Etzatlán\"\n    },\n    {\n      \"id\": \"037\",\n      \"name\": \"El Grullo\"\n    },\n    {\n      \"id\": \"038\",\n      \"name\": \"Guachinango\"\n    },\n    {\n      \"id\": \"039\",\n      \"name\": \"Guadalajara\"\n    },\n    {\n      \"id\": \"040\",\n      \"name\": \"Hostotipaquillo\"\n    },\n    {\n      \"id\": \"041\",\n      \"name\": \"Huejúcar\"\n    },\n    {\n      \"id\": \"042\",\n      \"name\": \"Huejuquilla el Alto\"\n    },\n    {\n      \"id\": \"043\",\n      \"name\": \"La Huerta\"\n    },\n    {\n      \"id\": \"044\",\n      \"name\": \"Ixtlahuacán de los Membrillos\"\n    },\n    {\n      \"id\": \"045\",\n      \"name\": \"Ixtlahuacán del Río\"\n    },\n    {\n      \"id\": \"046\",\n      \"name\": \"Jalostotitlán\"\n    },\n    {\n      \"id\": \"047\",\n      \"name\": \"Jamay\"\n    },\n    {\n      \"id\": \"048\",\n      \"name\": \"Jesús María\"\n    },\n    {\n      \"id\": \"049\",\n      \"name\": \"Jilotlán de los Dolores\"\n    },\n    {\n      \"id\": \"050\",\n      \"name\": \"Jocotepec\"\n    },\n    {\n      \"id\": \"051\",\n      \"name\": \"Juanacatlán\"\n    },\n    {\n      \"id\": \"052\",\n      \"name\": \"Juchitlán\"\n    },\n    {\n      \"id\": \"053\",\n      \"name\": \"Lagos de Moreno\"\n    },\n    {\n      \"id\": \"054\",\n      \"name\": \"El Limón\"\n    },\n    {\n      \"id\": \"055\",\n      \"name\": \"Magdalena\"\n    },\n    {\n      \"id\": \"056\",\n      \"name\": \"Santa María del Oro\"\n    },\n    {\n      \"id\": \"057\",\n      \"name\": \"La Manzanilla de la Paz\"\n    },\n    {\n      \"id\": \"058\",\n      \"name\": \"Mascota\"\n    },\n    {\n      \"id\": \"059\",\n      \"name\": \"Mazamitla\"\n    },\n    {\n      \"id\": \"060\",\n      \"name\": \"Mexticacán\"\n    },\n    {\n      \"id\": \"061\",\n      \"name\": \"Mezquitic\"\n    },\n    {\n      \"id\": \"062\",\n      \"name\": \"Mixtlán\"\n    },\n    {\n      \"id\": \"063\",\n      \"name\": \"Ocotlán\"\n    },\n    {\n      \"id\": \"064\",\n      \"name\": \"Ojuelos de Jalisco\"\n    },\n    {\n      \"id\": \"065\",\n      \"name\": \"Pihuamo\"\n    },\n    {\n      \"id\": \"066\",\n      \"name\": \"Poncitlán\"\n    },\n    {\n      \"id\": \"067\",\n      \"name\": \"Puerto Vallarta\"\n    },\n    {\n      \"id\": \"068\",\n      \"name\": \"Villa Purificación\"\n    },\n    {\n      \"id\": \"069\",\n      \"name\": \"Quitupan\"\n    },\n    {\n      \"id\": \"070\",\n      \"name\": \"El Salto\"\n    },\n    {\n      \"id\": \"071\",\n      \"name\": \"San Cristóbal de la Barranca\"\n    },\n    {\n      \"id\": \"072\",\n      \"name\": \"San Diego de Alejandría\"\n    },\n    {\n      \"id\": \"073\",\n      \"name\": \"San Juan de los Lagos\"\n    },\n    {\n      \"id\": \"074\",\n      \"name\": \"San Julián\"\n    },\n    {\n      \"id\": \"075\",\n      \"name\": \"San Marcos\"\n    },\n    {\n      \"id\": \"076\",\n      \"name\": \"San Martín de Bolaños\"\n    },\n    {\n      \"id\": \"077\",\n      \"name\": \"San Martín Hidalgo\"\n    },\n    {\n      \"id\": \"078\",\n      \"name\": \"San Miguel el Alto\"\n    },\n    {\n      \"id\": \"079\",\n      \"name\": \"Gómez Farías\"\n    },\n    {\n      \"id\": \"080\",\n      \"name\": \"San Sebastián del Oeste\"\n    },\n    {\n      \"id\": \"081\",\n      \"name\": \"Santa María de los Ángeles\"\n    },\n    {\n      \"id\": \"082\",\n      \"name\": \"Sayula\"\n    },\n    {\n      \"id\": \"083\",\n      \"name\": \"Tala\"\n    },\n    {\n      \"id\": \"084\",\n      \"name\": \"Talpa de Allende\"\n    },\n    {\n      \"id\": \"085\",\n      \"name\": \"Tamazula de Gordiano\"\n    },\n    {\n      \"id\": \"086\",\n      \"name\": \"Tapalpa\"\n    },\n    {\n      \"id\": \"087\",\n      \"name\": \"Tecalitlán\"\n    },\n    {\n      \"id\": \"088\",\n      \"name\": \"Tecolotlán\"\n    },\n    {\n      \"id\": \"089\",\n      \"name\": \"Techaluta de Montenegro\"\n    },\n    {\n      \"id\": \"090\",\n      \"name\": \"Tenamaxtlán\"\n    },\n    {\n      \"id\": \"091\",\n      \"name\": \"Teocaltiche\"\n    },\n    {\n      \"id\": \"092\",\n      \"name\": \"Teocuitatlán de Corona\"\n    },\n    {\n      \"id\": \"093\",\n      \"name\": \"Tepatitlán de Morelos\"\n    },\n    {\n      \"id\": \"094\",\n      \"name\": \"Tequila\"\n    },\n    {\n      \"id\": \"095\",\n      \"name\": \"Teuchitlán\"\n    },\n    {\n      \"id\": \"096\",\n      \"name\": \"Tizapán el Alto\"\n    },\n    {\n      \"id\": \"097\",\n      \"name\": \"Tlajomulco de Zúñiga\"\n    },\n    {\n      \"id\": \"098\",\n      \"name\": \"San Pedro Tlaquepaque\"\n    },\n    {\n      \"id\": \"099\",\n      \"name\": \"Tolimán\"\n    },\n    {\n      \"id\": \"100\",\n      \"name\": \"Tomatlán\"\n    },\n    {\n      \"id\": \"101\",\n      \"name\": \"Tonalá\"\n    },\n    {\n      \"id\": \"102\",\n      \"name\": \"Tonaya\"\n    },\n    {\n      \"id\": \"103\",\n      \"name\": \"Tonila\"\n    },\n    {\n      \"id\": \"104\",\n      \"name\": \"Totatiche\"\n    },\n    {\n      \"id\": \"105\",\n      \"name\": \"Tototlán\"\n    },\n    {\n      \"id\": \"106\",\n      \"name\": \"Tuxcacuesco\"\n    },\n    {\n      \"id\": \"107\",\n      \"name\": \"Tuxcueca\"\n    },\n    {\n      \"id\": \"108\",\n      \"name\": \"Tuxpan\"\n    },\n    {\n      \"id\": \"109\",\n      \"name\": \"Unión de San Antonio\"\n    },\n    {\n      \"id\": \"110\",\n      \"name\": \"Unión de Tula\"\n    },\n    {\n      \"id\": \"111\",\n      \"name\": \"Valle de Guadalupe\"\n    },\n    {\n      \"id\": \"112\",\n      \"name\": \"Valle de Juárez\"\n    },\n    {\n      \"id\": \"113\",\n      \"name\": \"San Gabriel\"\n    },\n    {\n      \"id\": \"114\",\n      \"name\": \"Villa Corona\"\n    },\n    {\n      \"id\": \"115\",\n      \"name\": \"Villa Guerrero\"\n    },\n    {\n      \"id\": \"116\",\n      \"name\": \"Villa Hidalgo\"\n    },\n    {\n      \"id\": \"117\",\n      \"name\": \"Cañadas de Obregón\"\n    },\n    {\n      \"id\": \"118\",\n      \"name\": \"Yahualica de González Gallo\"\n    },\n    {\n      \"id\": \"119\",\n      \"name\": \"Zacoalco de Torres\"\n    },\n    {\n      \"id\": \"120\",\n      \"name\": \"Zapopan\"\n    },\n    {\n      \"id\": \"121\",\n      \"name\": \"Zapotiltic\"\n    },\n    {\n      \"id\": \"122\",\n      \"name\": \"Zapotitlán de Vadillo\"\n    },\n    {\n      \"id\": \"123\",\n      \"name\": \"Zapotlán del Rey\"\n    },\n    {\n      \"id\": \"124\",\n      \"name\": \"Zapotlanejo\"\n    },\n    {\n      \"id\": \"125\",\n      \"name\": \"San Ignacio Cerro Gordo\"\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "1f6c2a20-9756-5f77-8fb3-5786fed303a6",
          "name": "Search municipalities",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/states/14/municipalities?q=zapo",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "states",
                "14",
                "municipalities"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "zapo"
                }
              ]
            },
            "description": "Municipalities of Jalisco whose name starts with \"zapo\"."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/states/14/municipalities?q=zapo",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "states",
                    "14",
                    "municipalities"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "zapo"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"023\",\n      \"name\": \"Zapotlán el Grande\"\n    },\n    {\n      \"id\": \"120\",\n      \"name\": \"Zapopan\"\n    },\n    {\n      \"id\": \"121\",\n      \"name\": \"Zapotiltic\"\n    },\n    {\n      \"id\": \"122\",\n      \"name\": \"Zapotitlán de Vadillo\"\n    },\n    {\n      \"id\": \"123\",\n      \"name\": \"Zapotlán del Rey\"\n    },\n    {\n      \"id\": \"124\",\n      \"name\": \"Zapotlanejo\"\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "4c3732b2-7c58-595c-93e8-14efe4c6246d",
          "name": "Settlement types",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlement-types",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlement-types"
              ],
              "query": []
            },
            "description": "Colonia, Fraccionamiento, Ranchería, Barrio, Pueblo, Ejido... (24 types)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlement-types",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlement-types"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Hit from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"01\",\n      \"name\": \"Aeropuerto\"\n    },\n    {\n      \"id\": \"02\",\n      \"name\": \"Barrio\"\n    },\n    {\n      \"id\": \"04\",\n      \"name\": \"Campamento\"\n    },\n    {\n      \"id\": \"09\",\n      \"name\": \"Colonia\"\n    },\n    {\n      \"id\": \"10\",\n      \"name\": \"Condominio\"\n    },\n    {\n      \"id\": \"12\",\n      \"name\": \"Conjunto habitacional\"\n    },\n    {\n      \"id\": \"15\",\n      \"name\": \"Ejido\"\n    },\n    {\n      \"id\": \"17\",\n      \"name\": \"Equipamiento\"\n    },\n    {\n      \"id\": \"18\",\n      \"name\": \"Exhacienda\"\n    },\n    {\n      \"id\": \"20\",\n      \"name\": \"Finca\"\n    },\n    {\n      \"id\": \"21\",\n      \"name\": \"Fraccionamiento\"\n    },\n    {\n      \"id\": \"23\",\n      \"name\": \"Granja\"\n    },\n    {\n      \"id\": \"24\",\n      \"name\": \"Hacienda\"\n    },\n    {\n      \"id\": \"45\",\n      \"name\": \"Paraje\"\n    },\n    {\n      \"id\": \"28\",\n      \"name\": \"Pueblo\"\n    },\n    {\n      \"id\": \"40\",\n      \"name\": \"Puerto\"\n    },\n    {\n      \"id\": \"29\",\n      \"name\": \"Ranchería\"\n    },\n    {\n      \"id\": \"48\",\n      \"name\": \"Rancho\"\n    },\n    {\n      \"id\": \"31\",\n      \"name\": \"Unidad habitacional\"\n    },\n    {\n      \"id\": \"33\",\n      \"name\": \"Zona comercial\"\n    },\n    {\n      \"id\": \"34\",\n      \"name\": \"Zona federal\"\n    },\n    {\n      \"id\": \"37\",\n      \"name\": \"Zona industrial\"\n    },\n    {\n      \"id\": \"47\",\n      \"name\": \"Zona militar\"\n    },\n    {\n      \"id\": \"46\",\n      \"name\": \"Zona naval\"\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "4c29de13-5b2f-5961-9098-ed3bf3ef34e0",
          "name": "Data version and totals",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"history_since present\", () => pm.expect(pm.response.json().history_since).to.match(/^\\d{4}-\\d{2}-\\d{2}$/));",
                  "pm.test(\"sat_history_since present\", () => pm.expect(pm.response.json().sat_history_since).to.match(/^\\d{4}-\\d{2}-\\d{2}$/));",
                  "pm.collectionVariables.set(\"dataVersion\", pm.response.json().data_version);",
                  "pm.collectionVariables.set(\"etag\", pm.response.headers.get(\"ETag\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/meta",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "meta"
              ],
              "query": []
            },
            "description": "Data version, source and record counts. Stores the version in `dataVersion` (for `/v1/changes`) and the `ETag` in `etag` (for the conditional request)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/meta",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "meta"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Hit from cloudfront"
                }
              ],
              "body": "{\n  \"data_version\": \"2026.10.29-0384b36e\",\n  \"generated_at\": \"2026-11-02T23:01:29.149874+00:00\",\n  \"history_since\": \"2026-10-05\",\n  \"sat_history_since\": \"2026-01-22\",\n  \"schema_version\": \"6\",\n  \"source\": \"sepomex\",\n  \"source_date\": \"2026-10-29T00:16:42\",\n  \"sources\": {\n    \"geography\": {\n      \"localities_attribution\": \"Fuente: INEGI, Catálogo Único de Claves Geoestadísticas\",\n      \"localities_date\": \"2017-02-28\",\n      \"polygons_attribution\": \"Servicio Postal Mexicano (SEPOMEX), datos.gob.mx, CC-BY-4.0\",\n      \"polygons_date\": \"2026-01-05\"\n    },\n    \"metro_areas\": {\n      \"attribution\": \"Las metrópolis de México 2020: SEDATU, CONAPO e INEGI; publicado por CONAPO en datos.gob.mx, CC-BY-4.0\",\n      \"delimitation\": \"2020\"\n    },\n    \"sat\": {\n      \"file\": \"catCFDI_V_4_20261029.xls\",\n      \"postal_codes\": \"8\",\n      \"settlements\": \"0\",\n      \"settlements_revised\": false,\n      \"published\": \"2026-01-22\"\n    },\n    \"sepomex\": {\n      \"date\": \"2026-10-29T00:16:42\"\n    }\n  },\n  \"totals\": {\n    \"metro_area_municipalities\": 421,\n    \"metro_areas\": 92,\n    \"municipalities\": 2478,\n    \"postal_code_polygons\": 35898,\n    \"postal_codes\": 31866,\n    \"sat_postal_codes\": 95748,\n    \"sat_settlements\": 145366,\n    \"settlement_types\": 24,\n    \"settlements\": 159437,\n    \"states\": 32\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Changes",
      "description": "What changed in the catalog between data versions (history). The full feed (`/v1/changes`) requires Business or Enterprise; the history of one postal code is on every plan.",
      "item": [
        {
          "id": "43b8846c-4db9-5458-9dbd-b01af75b8cb3",
          "name": "Changes since your data version",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"up to date: no changes and no cursor\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data).to.have.length(0);",
                  "    pm.expect(body.next_cursor).to.eql(null);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/changes?since={{dataVersion}}&limit=100",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "changes"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "{{dataVersion}}"
                },
                {
                  "key": "limit",
                  "value": "100"
                }
              ]
            },
            "description": "**Needs the Business or Enterprise plan.** Changes published after `since` (the data_version you already have). With the current version the answer is empty: you are up to date. Follow `next_cursor` to get every change. Run \"Data version and totals\" first."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/changes?since={{dataVersion}}&limit=100",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "changes"
                  ],
                  "query": [
                    {
                      "key": "since",
                      "value": "{{dataVersion}}"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [],\n  \"next_cursor\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "37171b91-0780-5ac3-89ac-c1d749722a25",
          "name": "Change history of a postal code",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"history of the requested code\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.postal_code).to.eql(pm.collectionVariables.get(\"postalCode\"));",
                  "    pm.expect(body.history_since).to.be.a(\"string\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}/history",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}",
                "history"
              ],
              "query": []
            },
            "description": "Every recorded change of the postal code and its settlements since `history_since`. Empty `data` means no changes."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}/history",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}",
                    "history"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"history_since\": \"2026-10-05\",\n  \"data\": [],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "c7706c85-eb19-5486-a5db-c4785b266d90",
          "name": "Change history with SAT changes (include=sat)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"SAT history range present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.history_since).to.match(/^\\d{4}-\\d{2}-\\d{2}$/);",
                  "    pm.expect(body.sat_history_since).to.match(/^\\d{4}-\\d{2}-\\d{2}$/);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}/history?include=sat",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}",
                "history"
              ],
              "query": [
                {
                  "key": "include",
                  "value": "sat"
                }
              ]
            },
            "description": "The history of the postal code plus the changes of the SAT catalog (`sat_postal_code` and `sat_settlement`), in order. Paid plans (Basic and higher); the demo postal codes work on every plan."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}/history?include=sat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}",
                    "history"
                  ],
                  "query": [
                    {
                      "key": "include",
                      "value": "sat"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"history_since\": \"2026-10-05\",\n  \"sat_history_since\": \"2026-01-22\",\n  \"data\": [],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Errors",
      "description": "Error responses (RFC 9457 problem+json).",
      "item": [
        {
          "id": "24220a7b-ecad-54dd-8b84-a951d3fa9aee",
          "name": "Date before the history (400)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/as-of-out-of-range\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/postal-codes/93080?as_of=2025-12-15",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "postal-codes",
                "93080"
              ],
              "query": [
                {
                  "key": "as_of",
                  "value": "2025-12-15"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** `as_of` cannot be earlier than the start of the catalog history (`sat_history_since` for the SAT) nor later than today in Mexico City."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/postal-codes/93080?as_of=2025-12-15",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "postal-codes",
                    "93080"
                  ],
                  "query": [
                    {
                      "key": "as_of",
                      "value": "2025-12-15"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/as-of-out-of-range\",\n  \"title\": \"Date out of range\",\n  \"status\": 400,\n  \"detail\": \"The history of the SAT catalog starts on 2026-01-22; as_of cannot be earlier.\"\n}"
            }
          ]
        },
        {
          "id": "5899dd9b-de42-5517-8097-058043beb1c6",
          "name": "Unknown data version (400)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/unknown-version\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/changes?since=2020.01.01-00000000",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "changes"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "2020.01.01-00000000"
                }
              ]
            },
            "description": "**Needs the Business or Enterprise plan.** `since` must be a published data version, `history_since` or later."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/changes?since=2020.01.01-00000000",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "changes"
                  ],
                  "query": [
                    {
                      "key": "since",
                      "value": "2020.01.01-00000000"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/unknown-version\",\n  \"title\": \"Unknown data version\",\n  \"status\": 400,\n  \"detail\": \"since is not a published data version. History starts at 2026.10.05-071fd9ec (2026-10-05).\"\n}"
            }
          ]
        },
        {
          "id": "b61f4935-2a90-5414-941f-cd51d4c5e3bb",
          "name": "Batch without codes (400)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/batch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "batch"
              ],
              "query": []
            },
            "description": "**Needs the Business or Enterprise plan.** `codes` is required: 1 to 100 comma-separated postal codes."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/batch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "batch"
                  ],
                  "query": []
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"codes is required: up to 100 comma-separated postal codes.\"\n}"
            }
          ]
        },
        {
          "id": "e3b7ce24-3558-5bcf-a5c0-78cb62ace179",
          "name": "Discrepancies without entity (400)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/discrepancies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "discrepancies"
              ],
              "query": []
            },
            "description": "**Needs the Business or Enterprise plan.** `entity` is required: postal_code or settlement."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/discrepancies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "discrepancies"
                  ],
                  "query": []
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"entity is required: postal_code or settlement.\"\n}"
            }
          ]
        },
        {
          "id": "76f855a6-900e-5ecf-abe5-eb11288127ac",
          "name": "Point outside Mexico (404)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"404\", () => pm.response.to.have.status(404));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/location-not-covered\");",
                  "    pm.expect(p.status).to.eql(404);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/reverse?lat=40.7128&lon=-74.006",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reverse"
              ],
              "query": [
                {
                  "key": "lat",
                  "value": "40.7128"
                },
                {
                  "key": "lon",
                  "value": "-74.006"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** No postal code area contains the point."
          },
          "response": [
            {
              "name": "404 Not Found",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/reverse?lat=40.7128&lon=-74.006",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "reverse"
                  ],
                  "query": [
                    {
                      "key": "lat",
                      "value": "40.7128"
                    },
                    {
                      "key": "lon",
                      "value": "-74.006"
                    }
                  ]
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/location-not-covered\",\n  \"title\": \"Location not covered\",\n  \"status\": 404,\n  \"detail\": \"No postal code area contains this point. Coverage is limited to Mexico's land territory.\"\n}"
            }
          ]
        },
        {
          "id": "abf5ffa9-f2eb-5c63-9825-9092a8ca3a1b",
          "name": "Invalid coordinates",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/reverse?lat=19.4195",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reverse"
              ],
              "query": [
                {
                  "key": "lat",
                  "value": "19.4195"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** `lat` and `lon` are required decimal degrees with up to 20 decimals (rounded to 6)."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/reverse?lat=19.4195",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "reverse"
                  ],
                  "query": [
                    {
                      "key": "lat",
                      "value": "19.4195"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"lat and lon are required: decimal degrees (WGS84) with up to 20 decimals (rounded to 6), e.g. lat=19.4195&lon=-99.1617.\"\n}"
            }
          ]
        },
        {
          "id": "3cf1deff-0a08-5047-a8be-38bf4c6c37a1",
          "name": "Missing API key",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"401\", () => pm.response.to.have.status(401));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/missing-api-key\");",
                  "    pm.expect(p.status).to.eql(401);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": []
            },
            "description": "Requests without credentials are rejected at the edge.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "401 Missing API key",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": []
                }
              },
              "status": "Missing API key",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "no-store"
                },
                {
                  "key": "X-Cache",
                  "value": "FunctionGeneratedResponse from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/missing-api-key\",\n  \"title\": \"Missing API key\",\n  \"status\": 401,\n  \"detail\": \"Send your key in the x-api-key header.\"\n}"
            }
          ]
        },
        {
          "id": "ca88120b-728a-51c4-a0e0-b030a0b4922b",
          "name": "Invalid API key",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"401\", () => pm.response.to.have.status(401));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-api-key\");",
                  "    pm.expect(p.status).to.eql(401);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": []
            },
            "description": "Unknown or revoked keys are rejected at the edge.",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "not-a-real-key",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            }
          },
          "response": [
            {
              "name": "401 Invalid API key",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": []
                }
              },
              "status": "Invalid API key",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "no-store"
                },
                {
                  "key": "X-Cache",
                  "value": "FunctionGeneratedResponse from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-api-key\",\n  \"title\": \"Invalid API key\",\n  \"status\": 401,\n  \"detail\": \"The key does not exist or was revoked.\"\n}"
            }
          ]
        },
        {
          "id": "02fa52af-9a62-55c8-a316-b3e4a47f4e59",
          "name": "Invalid postal code format",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/1234",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "1234"
              ],
              "query": []
            },
            "description": "Postal codes must have 5 digits."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/1234",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "1234"
                  ],
                  "query": []
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"The postal code must have 5 digits. Did you mean 01234? Keep it as text: spreadsheets drop the leading zero.\"\n}"
            }
          ]
        },
        {
          "id": "07cd5f0a-4bc5-5c51-8051-1c0f6e80705f",
          "name": "Postal code not found",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"404\", () => pm.response.to.have.status(404));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/postal-code-not-found\");",
                  "    pm.expect(p.status).to.eql(404);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/99999",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "99999"
              ],
              "query": []
            },
            "description": "Valid format but not in the current catalog."
          },
          "response": [
            {
              "name": "404 Not Found",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/99999",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "99999"
                  ],
                  "query": []
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/postal-code-not-found\",\n  \"title\": \"Postal code not found\",\n  \"status\": 404,\n  \"detail\": \"Postal code 99999 does not exist in the current catalog.\"\n}"
            }
          ]
        },
        {
          "id": "a71d163e-a291-5fec-8031-17817775fc12",
          "name": "Search without a main filter",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?type=09",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "type",
                  "value": "09"
                }
              ]
            },
            "description": "/v1/settlements requires at least one of q, postal_code, state or city."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?type=09",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "09"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"Include at least one of: q, postal_code, state or city.\"\n}"
            }
          ]
        },
        {
          "id": "c1a1b6f4-c689-56a1-8916-de3bb30a2437",
          "name": "Search text too short",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/autocomplete?q=a",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "autocomplete"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "a"
                }
              ]
            },
            "description": "`q` needs at least 2 letters or digits."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/autocomplete?q=a",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "autocomplete"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "a"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"q must contain at least 2 letters or digits.\"\n}"
            }
          ]
        },
        {
          "id": "dae0f74c-a0ae-5007-855d-e876ed0729f9",
          "name": "Invalid zone",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?state=09&zone=downtown",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "09"
                },
                {
                  "key": "zone",
                  "value": "downtown"
                }
              ]
            },
            "description": "`zone` accepts urban, rural or semiurban."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?state=09&zone=downtown",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "state",
                      "value": "09"
                    },
                    {
                      "key": "zone",
                      "value": "downtown"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"zone must be urban, rural or semiurban.\"\n}"
            }
          ]
        },
        {
          "id": "614ddf91-819a-5f34-ad43-4c9c528be4cc",
          "name": "Postal code without its leading zero",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/invalid-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});",
                  "pm.test(\"detail suggests the leading zero\", () => pm.expect(pm.response.json().detail).to.include(\"Did you mean 09700?\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/9700",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "9700"
              ],
              "query": []
            },
            "description": "Spreadsheets turn 09700 into 9700: with 4 digits, `detail` suggests the code with its leading zero when it exists. Colonix does not correct it."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/9700",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "9700"
                  ],
                  "query": []
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/invalid-parameter\",\n  \"title\": \"Invalid parameter\",\n  \"status\": 400,\n  \"detail\": \"The postal code must have 5 digits. Did you mean 09700? Keep it as text: spreadsheets drop the leading zero.\"\n}"
            }
          ]
        },
        {
          "id": "81c2d779-1f41-5ff6-9a1c-0fa4186e8c52",
          "name": "Unknown parameter",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/unknown-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?q=roma&colonia=roma",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "roma"
                },
                {
                  "key": "colonia",
                  "value": "roma"
                }
              ]
            },
            "description": "A parameter that is not a parameter of the API returns 400 instead of being ignored (`colonia` is not `q`)."
          },
          "response": [
            {
              "name": "400 Unknown parameter",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?q=roma&colonia=roma",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "roma"
                    },
                    {
                      "key": "colonia",
                      "value": "roma"
                    }
                  ]
                }
              },
              "status": "Unknown parameter",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "no-store"
                },
                {
                  "key": "X-Cache",
                  "value": "FunctionGeneratedResponse from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/unknown-parameter\",\n  \"title\": \"Unknown parameter\",\n  \"status\": 400,\n  \"detail\": \"colonia is not a parameter of the API. Each endpoint lists its parameters in the documentation.\"\n}"
            }
          ]
        },
        {
          "id": "d048a0fb-c55c-5b02-9840-353e227a0057",
          "name": "Parameter of another endpoint",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/unknown-parameter\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});",
                  "pm.test(\"detail lists the accepted parameters\", () => pm.expect(pm.response.json().detail).to.include(\"Accepted: cursor, entity, limit, missing_in, state.\"));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/discrepancies?postal_code=01000",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "discrepancies"
              ],
              "query": [
                {
                  "key": "postal_code",
                  "value": "01000"
                }
              ]
            },
            "description": "**Needs the Business or Enterprise plan.** `postal_code` exists in other endpoints, not in this one: `detail` lists the accepted ones."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/discrepancies?postal_code=01000",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "discrepancies"
                  ],
                  "query": [
                    {
                      "key": "postal_code",
                      "value": "01000"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/unknown-parameter\",\n  \"title\": \"Unknown parameter\",\n  \"status\": 400,\n  \"detail\": \"postal_code is not a parameter of this endpoint. Accepted: cursor, entity, limit, missing_in, state.\"\n}"
            }
          ]
        },
        {
          "id": "daa159a7-c383-5d1a-a1eb-dc7ec496c7c6",
          "name": "Unknown route",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"404\", () => pm.response.to.have.status(404));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/route-not-found\");",
                  "    pm.expect(p.status).to.eql(404);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/zip/06700",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "zip",
                "06700"
              ],
              "query": []
            },
            "description": "Routes outside the documented API return 404."
          },
          "response": [
            {
              "name": "404 Not Found",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/zip/06700",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "zip",
                    "06700"
                  ],
                  "query": []
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/route-not-found\",\n  \"title\": \"Route not found\",\n  \"status\": 404,\n  \"detail\": \"See the API documentation for the available routes.\"\n}"
            }
          ]
        },
        {
          "id": "ae2ce3f5-ad90-54c6-b80e-358a44e1faf7",
          "name": "Expired cursor",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"400\", () => pm.response.to.have.status(400));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/cursor-expired\");",
                  "    pm.expect(p.status).to.eql(400);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/settlements?q=valle&cursor=MjAyMC4wMS4wMS0wMDAwMDAwMHw0",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "valle"
                },
                {
                  "key": "cursor",
                  "value": "MjAyMC4wMS4wMS0wMDAwMDAwMHw0"
                }
              ]
            },
            "description": "A cursor issued for another data version (the data was updated while paginating): restart without cursor."
          },
          "response": [
            {
              "name": "400 Bad Request",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/settlements?q=valle&cursor=MjAyMC4wMS4wMS0wMDAwMDAwMHw0",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "settlements"
                  ],
                  "query": [
                    {
                      "key": "q",
                      "value": "valle"
                    },
                    {
                      "key": "cursor",
                      "value": "MjAyMC4wMS4wMS0wMDAwMDAwMHw0"
                    }
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=300"
                },
                {
                  "key": "X-Cache",
                  "value": "Error from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/cursor-expired\",\n  \"title\": \"Cursor expired\",\n  \"status\": 400,\n  \"detail\": \"The data was updated after this cursor was issued. Start again from the first page.\"\n}"
            }
          ]
        },
        {
          "id": "cedb20f5-abd4-5a5a-9685-3a50c3a3f476",
          "name": "Method not allowed",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"405\", () => pm.response.to.have.status(405));",
                  "pm.test(\"RFC 9457 problem\", () => {",
                  "    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/problem+json\");",
                  "    const p = pm.response.json();",
                  "    pm.expect(p.type).to.eql(\"/errors/method-not-allowed\");",
                  "    pm.expect(p.status).to.eql(405);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/states",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "states"
              ],
              "query": []
            },
            "description": "Only GET and HEAD are accepted."
          },
          "response": [
            {
              "name": "405 Method not allowed",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/states",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "states"
                  ],
                  "query": []
                }
              },
              "status": "Method not allowed",
              "code": 405,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/problem+json"
                },
                {
                  "key": "Cache-Control",
                  "value": "no-store"
                },
                {
                  "key": "X-Cache",
                  "value": "FunctionGeneratedResponse from cloudfront"
                }
              ],
              "body": "{\n  \"type\": \"/errors/method-not-allowed\",\n  \"title\": \"Method not allowed\",\n  \"status\": 405,\n  \"detail\": \"The API only accepts GET and HEAD.\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "SAT",
      "description": "SAT catalogs for CFDI 4.0 and Carta Porte (paid plans, Basic and higher; demo postal codes on every plan; the discrepancies, Business and Enterprise).",
      "item": [
        {
          "id": "7a6279ec-5d91-5ecc-9fb8-3960d9a8ca4a",
          "name": "SAT data of a postal code (demo)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"SAT block of Tijuana\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.in_sat).to.eql(true);",
                  "    pm.expect(body.border_stimulus).to.eql(\"north\");",
                  "    pm.expect(body.border_stimulus_decree.requires_sat_notice).to.eql(true);",
                  "    pm.expect(body.border_stimulus_decree.valid_until).to.have.lengthOf(10);",
                  "    pm.expect(body.time_zone.iana).to.eql(\"America/Tijuana\");",
                  "    pm.expect(body.time_zone.utc_offset_standard).to.eql(-8);",
                  "    pm.expect(body.time_zone.utc_offset_dst).to.eql(-7);",
                  "    pm.expect(body.time_zone.matches_sat).to.eql(true);",
                  "    pm.expect(body.state.sat_code).to.eql(\"BCN\");",
                  "    pm.expect(body.settlements).to.be.an(\"array\").that.is.not.empty;",
                  "    pm.expect(body.sat_revision.postal_codes).to.be.a(\"string\");",
                  "    pm.expect(body.sat_revision.settlements_revised).to.be.a(\"boolean\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/postal-codes/22000",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "postal-codes",
                "22000"
              ],
              "query": []
            },
            "description": "SAT keys, border region incentive with the validity of its decree, time zone (as the SAT publishes it and the actual one) and SAT settlements (c_Colonia) for CFDI 4.0. Paid plans (Basic and higher); the demo postal codes 06700, 44100, 64000, 22000 and 77500 work on every plan. 22000 (Tijuana) is in the northern border region and has daylight saving time."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/postal-codes/22000",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "postal-codes",
                    "22000"
                  ],
                  "query": []
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"22000\",\n  \"in_sat\": true,\n  \"in_sepomex\": true,\n  \"state\": {\n    \"sat_code\": \"BCN\",\n    \"id\": \"02\",\n    \"name\": \"Baja California\"\n  },\n  \"municipality\": {\n    \"sat_code\": \"004\",\n    \"name\": \"Tijuana\"\n  },\n  \"locality\": {\n    \"sat_code\": \"04\",\n    \"name\": \"Tijuana\"\n  },\n  \"border_stimulus\": \"north\",\n  \"border_stimulus_decree\": {\n    \"published\": \"2025-12-31\",\n    \"valid_until\": \"2026-12-31\",\n    \"requires_sat_notice\": true,\n    \"source\": \"https://dof.gob.mx/nota_detalle.php?codigo=5777697&fecha=31/12/2025\"\n  },\n  \"time_zone\": {\n    \"description\": \"Tiempo del Noroeste\",\n    \"utc_offset_summer\": -7,\n    \"utc_offset_winter\": -8,\n    \"dst_start\": \"Marzo, Segundo domingo, 02:00\",\n    \"dst_end\": \"Noviembre, Primer domingo, 02:00\",\n    \"iana\": \"America/Tijuana\",\n    \"utc_offset_standard\": -8,\n    \"utc_offset_dst\": -7,\n    \"matches_sat\": true\n  },\n  \"settlements\": [\n    {\n      \"c_colonia\": \"0528\",\n      \"name\": \"Zona Centro\",\n      \"settlement_id\": \"02004-0528\",\n      \"match\": \"exact\",\n      \"sepomex_name\": \"Zona Centro\",\n      \"sepomex_candidate\": null\n    },\n    {\n      \"c_colonia\": \"0530\",\n      \"name\": \"Zona Este\",\n      \"settlement_id\": \"02004-0530\",\n      \"match\": \"exact\",\n      \"sepomex_name\": \"Zona Este\",\n      \"sepomex_candidate\": null\n    },\n    {\n      \"c_colonia\": \"1824\",\n      \"name\": \"Zona Norte\",\n      \"settlement_id\": \"02004-1824\",\n      \"match\": \"exact\",\n      \"sepomex_name\": \"Zona Norte\",\n      \"sepomex_candidate\": null\n    }\n  ],\n  \"settlements_missing_in_sat\": [],\n  \"sat_revision\": {\n    \"file\": \"catCFDI_V_4_20261029.xls\",\n    \"postal_codes\": \"8\",\n    \"settlements\": \"0\",\n    \"settlements_revised\": false,\n    \"published\": \"2026-01-22\"\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "7aa3fee7-7fe1-50ae-98d3-10679ea7e29a",
          "name": "SAT data on a past date (as_of)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"SAT catalog on 2026-06-30\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.in_sat).to.eql(true);",
                  "    pm.expect(body.as_of.sat_revision.postal_codes).to.eql(\"8\");",
                  "    pm.expect(body.as_of.effective_since).to.eql(\"2026-01-22\");",
                  "    pm.expect(body.settlements).to.deep.include({ c_colonia: \"2162\", name: \"Mecatlan\" });",
                  "    pm.expect(body).to.not.have.property(\"in_sepomex\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/postal-codes/93080?as_of=2026-06-30",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "postal-codes",
                "93080"
              ],
              "query": [
                {
                  "key": "as_of",
                  "value": "2026-06-30"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** What the SAT catalog said about a postal code on a past date, e.g. to review or replace an old invoice: whether it was in c_CodigoPostal, its keys and its SAT settlements. `as_of.sat_revision` is the SAT revision that gives the answer."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/postal-codes/93080?as_of=2026-06-30",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "postal-codes",
                    "93080"
                  ],
                  "query": [
                    {
                      "key": "as_of",
                      "value": "2026-06-30"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"93080\",\n  \"in_sat\": true,\n  \"state\": {\n    \"sat_code\": \"VER\",\n    \"id\": \"30\",\n    \"name\": \"Veracruz\"\n  },\n  \"municipality\": {\n    \"sat_code\": \"103\",\n    \"name\": \"Mecatlán\"\n  },\n  \"locality\": null,\n  \"border_stimulus\": null,\n  \"border_stimulus_decree\": null,\n  \"time_zone\": {\n    \"description\": \"Tiempo del Centro\",\n    \"utc_offset_summer\": -6,\n    \"utc_offset_winter\": -6,\n    \"dst_start\": null,\n    \"dst_end\": null,\n    \"iana\": \"America/Mexico_City\",\n    \"utc_offset_standard\": -6,\n    \"utc_offset_dst\": null,\n    \"matches_sat\": true\n  },\n  \"settlements\": [\n    {\n      \"c_colonia\": \"2162\",\n      \"name\": \"Mecatlan\"\n    }\n  ],\n  \"as_of\": {\n    \"date\": \"2026-06-30\",\n    \"sat_revision\": {\n      \"postal_codes\": \"8\",\n      \"published\": \"2026-01-22\"\n    },\n    \"effective_since\": \"2026-01-22\"\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "b284c6ee-864b-5600-91d4-a815ea87042a",
          "name": "Postal code with the SAT block (include=sat)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"sat block present\", () => {",
                  "    const sat = pm.response.json().sat;",
                  "    pm.expect(sat.in_sat).to.be.a(\"boolean\");",
                  "    pm.expect(sat.settlements_missing_in_sat).to.be.an(\"array\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?include=sat",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": [
                {
                  "key": "include",
                  "value": "sat"
                }
              ]
            },
            "description": "The normal postal code lookup plus the `sat` block. Paid plans (Basic and higher)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?include=sat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": [
                    {
                      "key": "include",
                      "value": "sat"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"state\": {\n    \"id\": \"09\",\n    \"name\": \"Ciudad de México\"\n  },\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"office\": \"06401\",\n  \"settlement_count\": 1,\n  \"settlements\": [\n    {\n      \"id\": \"09015-0947\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\"\n    }\n  ],\n  \"sat\": {\n    \"in_sat\": true,\n    \"in_sepomex\": true,\n    \"state\": {\n      \"sat_code\": \"CMX\",\n      \"id\": \"09\",\n      \"name\": \"Ciudad de México\"\n    },\n    \"municipality\": {\n      \"sat_code\": \"015\",\n      \"name\": \"Cuauhtémoc\"\n    },\n    \"locality\": {\n      \"sat_code\": \"06\",\n      \"name\": \"Ciudad de México\"\n    },\n    \"border_stimulus\": null,\n    \"border_stimulus_decree\": null,\n    \"time_zone\": {\n      \"description\": \"Tiempo del Centro\",\n      \"utc_offset_summer\": -6,\n      \"utc_offset_winter\": -6,\n      \"dst_start\": null,\n      \"dst_end\": null,\n      \"iana\": \"America/Mexico_City\",\n      \"utc_offset_standard\": -6,\n      \"utc_offset_dst\": null,\n      \"matches_sat\": true\n    },\n    \"settlements\": [\n      {\n        \"c_colonia\": \"0947\",\n        \"name\": \"Roma Norte\",\n        \"settlement_id\": \"09015-0947\",\n        \"match\": \"exact\",\n        \"sepomex_name\": \"Roma Norte\",\n        \"sepomex_candidate\": null\n      }\n    ],\n    \"settlements_missing_in_sat\": [],\n    \"sat_revision\": {\n      \"file\": \"catCFDI_V_4_20261029.xls\",\n      \"postal_codes\": \"8\",\n      \"settlements\": \"0\",\n      \"settlements_revised\": false,\n      \"published\": \"2026-01-22\"\n    }\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "6dee4d53-698c-5594-8683-d156394c5313",
          "name": "SEPOMEX settlements missing in the SAT",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"settlements missing in the SAT\", () => {",
                  "    pm.response.json().data.forEach((d) => {",
                  "        pm.expect(d.missing_in).to.eql(\"sat\");",
                  "        pm.expect(d.sat).to.eql(null);",
                  "        pm.expect(d.state.id).to.eql(\"09\");",
                  "    });",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/discrepancies?entity=settlement&missing_in=sat&state=09&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "discrepancies"
              ],
              "query": [
                {
                  "key": "entity",
                  "value": "settlement"
                },
                {
                  "key": "missing_in",
                  "value": "sat"
                },
                {
                  "key": "state",
                  "value": "09"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "**Needs the Business or Enterprise plan.** Settlements that cannot be used in a CFDI because the SAT catalog does not have them (Mexico City, first 5). Business and Enterprise plans."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/discrepancies?entity=settlement&missing_in=sat&state=09&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "discrepancies"
                  ],
                  "query": [
                    {
                      "key": "entity",
                      "value": "settlement"
                    },
                    {
                      "key": "missing_in",
                      "value": "sat"
                    },
                    {
                      "key": "state",
                      "value": "09"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"entity\": \"settlement\",\n      \"postal_code\": \"04390\",\n      \"missing_in\": \"sat\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": {\n        \"id\": \"09003-0644\",\n        \"postal_code\": \"04390\",\n        \"name\": \"Estudiantes de 1968\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"003\",\n          \"name\": \"Coyoacán\"\n        }\n      },\n      \"sat\": null,\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"settlement\",\n      \"postal_code\": \"05790\",\n      \"missing_in\": \"sat\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": {\n        \"id\": \"09004-0001\",\n        \"postal_code\": \"05790\",\n        \"name\": \"Puerto Las Cruces\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Rural\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"004\",\n          \"name\": \"Cuajimalpa de Morelos\"\n        }\n      },\n      \"sat\": null,\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"settlement\",\n      \"postal_code\": \"10130\",\n      \"missing_in\": \"sat\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": {\n        \"id\": \"09008-1681\",\n        \"postal_code\": \"10130\",\n        \"name\": \"El Maestro\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"008\",\n          \"name\": \"La Magdalena Contreras\"\n        }\n      },\n      \"sat\": null,\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"settlement\",\n      \"postal_code\": \"11570\",\n      \"missing_in\": \"sat\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": {\n        \"id\": \"09016-0001\",\n        \"postal_code\": \"11570\",\n        \"name\": \"Chapultepec Morales\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"016\",\n          \"name\": \"Miguel Hidalgo\"\n        }\n      },\n      \"sat\": null,\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"settlement\",\n      \"postal_code\": \"14270\",\n      \"missing_in\": \"sat\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": {\n        \"id\": \"09012-2112\",\n        \"postal_code\": \"14270\",\n        \"name\": \"Verano\",\n        \"type\": \"Colonia\",\n        \"zone\": \"Urbano\",\n        \"city\": \"Ciudad de México\",\n        \"state\": {\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": {\n          \"id\": \"012\",\n          \"name\": \"Tlalpan\"\n        }\n      },\n      \"sat\": null,\n      \"possible_match\": null\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXwzNTM\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "048f9e35-8d96-5b2c-84c6-24d772e375d7",
          "name": "Postal codes only in the SAT",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"postal codes missing in SEPOMEX\", () => {",
                  "    pm.response.json().data.forEach((d) => {",
                  "        pm.expect(d.missing_in).to.eql(\"sepomex\");",
                  "        pm.expect(d.sepomex).to.eql(null);",
                  "    });",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/sat/discrepancies?entity=postal_code&missing_in=sepomex&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "sat",
                "discrepancies"
              ],
              "query": [
                {
                  "key": "entity",
                  "value": "postal_code"
                },
                {
                  "key": "missing_in",
                  "value": "sepomex"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "**Needs the Business or Enterprise plan.** Postal codes valid for CFDI that are not in the SEPOMEX catalog (first 5)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/sat/discrepancies?entity=postal_code&missing_in=sepomex&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "sat",
                    "discrepancies"
                  ],
                  "query": [
                    {
                      "key": "entity",
                      "value": "postal_code"
                    },
                    {
                      "key": "missing_in",
                      "value": "sepomex"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"entity\": \"postal_code\",\n      \"postal_code\": \"01001\",\n      \"missing_in\": \"sepomex\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": null,\n      \"sat\": {\n        \"postal_code\": \"01001\",\n        \"state\": {\n          \"sat_code\": \"CMX\",\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": null\n      },\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"postal_code\",\n      \"postal_code\": \"01002\",\n      \"missing_in\": \"sepomex\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": null,\n      \"sat\": {\n        \"postal_code\": \"01002\",\n        \"state\": {\n          \"sat_code\": \"CMX\",\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": null\n      },\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"postal_code\",\n      \"postal_code\": \"01003\",\n      \"missing_in\": \"sepomex\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": null,\n      \"sat\": {\n        \"postal_code\": \"01003\",\n        \"state\": {\n          \"sat_code\": \"CMX\",\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": null\n      },\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"postal_code\",\n      \"postal_code\": \"01004\",\n      \"missing_in\": \"sepomex\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": null,\n      \"sat\": {\n        \"postal_code\": \"01004\",\n        \"state\": {\n          \"sat_code\": \"CMX\",\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": null\n      },\n      \"possible_match\": null\n    },\n    {\n      \"entity\": \"postal_code\",\n      \"postal_code\": \"01005\",\n      \"missing_in\": \"sepomex\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"sepomex\": null,\n      \"sat\": {\n        \"postal_code\": \"01005\",\n        \"state\": {\n          \"sat_code\": \"CMX\",\n          \"id\": \"09\",\n          \"name\": \"Ciudad de México\"\n        },\n        \"municipality\": null\n      },\n      \"possible_match\": null\n    }\n  ],\n  \"next_cursor\": \"MjAyNi4xMC4yOS0wMzg0YjM2ZXw0\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Geography",
      "description": "Reference location and metropolitan area of a postal code, postal code at a point and nearby postal codes (paid plans; the demo postal codes give their location and metropolitan area on every plan). Coordinates are reference points, never exact addresses.",
      "item": [
        {
          "id": "c6934002-230d-582c-be5f-080928a92990",
          "name": "Postal code with its reference location",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"location with precision\", () => {",
                  "    const l = pm.response.json().location;",
                  "    pm.expect(l.precision).to.be.oneOf([\"postal_code_polygon\", \"locality_centroid\", \"municipality_centroid\"]);",
                  "    pm.expect(l.lat).to.be.within(14, 33);",
                  "    pm.expect(l.lon).to.be.within(-119, -86);",
                  "    pm.expect(l.source_date).to.be.a(\"string\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?include=location",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": [
                {
                  "key": "include",
                  "value": "location"
                }
              ]
            },
            "description": "`include=location` adds a reference point (never an exact address) with its `precision` and source date. Paid plans; the demo postal codes work on every plan."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?include=location",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": [
                    {
                      "key": "include",
                      "value": "location"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"state\": {\n    \"id\": \"09\",\n    \"name\": \"Ciudad de México\"\n  },\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"office\": \"06401\",\n  \"settlement_count\": 1,\n  \"settlements\": [\n    {\n      \"id\": \"09015-0947\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\"\n    }\n  ],\n  \"location\": {\n    \"lat\": 19.418352,\n    \"lon\": -99.162691,\n    \"bbox\": [\n      -99.17671,\n      19.41045,\n      -99.15366,\n      19.42585\n    ],\n    \"precision\": \"postal_code_polygon\",\n    \"source_date\": \"2026-01-05\"\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "467fe82f-2c31-550a-80f3-f41c8c94cdf7",
          "name": "Postal code with its metropolitan area",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"metro_area of Mexico City\", () => {",
                  "    const m = pm.response.json().metro_area;",
                  "    pm.expect(m.id).to.eql(\"09.1.01\");",
                  "    pm.expect(m.name).to.eql(\"Ciudad de México\");",
                  "    pm.expect(m.type).to.eql(\"Zona metropolitana\");",
                  "    pm.expect(m.municipality_role).to.be.oneOf([\"central\", \"exterior\"]);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?include=metro",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "{{postalCode}}"
              ],
              "query": [
                {
                  "key": "include",
                  "value": "metro"
                }
              ]
            },
            "description": "`include=metro` adds the metropolitan area of the municipality (Las metrópolis de México 2020) and whether the municipality is central or exterior. Paid plans; the demo postal codes work on every plan."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/{{postalCode}}?include=metro",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "{{postalCode}}"
                  ],
                  "query": [
                    {
                      "key": "include",
                      "value": "metro"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"state\": {\n    \"id\": \"09\",\n    \"name\": \"Ciudad de México\"\n  },\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"office\": \"06401\",\n  \"settlement_count\": 1,\n  \"settlements\": [\n    {\n      \"id\": \"09015-0947\",\n      \"name\": \"Roma Norte\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Ciudad de México\"\n    }\n  ],\n  \"metro_area\": {\n    \"id\": \"09.1.01\",\n    \"name\": \"Ciudad de México\",\n    \"type\": \"Zona metropolitana\",\n    \"municipality_role\": \"central\"\n  },\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "aa06e841-34dd-5fe5-a58f-fde6fc663cba",
          "name": "Postal code outside a metropolitan area",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"metro_area is null\", () => {",
                  "    const c = pm.response.json();",
                  "    pm.expect(c).to.have.property(\"metro_area\");",
                  "    pm.expect(c.metro_area).to.eql(null);",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/postal-codes/99980?include=metro",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "postal-codes",
                "99980"
              ],
              "query": [
                {
                  "key": "include",
                  "value": "metro"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** A rural postal code (Moyahua de Estrada, Zacatecas): `metro_area` is null, not absent."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/postal-codes/99980?include=metro",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "postal-codes",
                    "99980"
                  ],
                  "query": [
                    {
                      "key": "include",
                      "value": "metro"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"99980\",\n  \"state\": {\n    \"id\": \"32\",\n    \"name\": \"Zacatecas\"\n  },\n  \"municipality\": {\n    \"id\": \"033\",\n    \"name\": \"Moyahua de Estrada\"\n  },\n  \"office\": \"99961\",\n  \"settlement_count\": 2,\n  \"settlements\": [\n    {\n      \"id\": \"32033-0001\",\n      \"name\": \"El Convento\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Moyahua de Estrada\"\n    },\n    {\n      \"id\": \"32033-0750\",\n      \"name\": \"Moyahua Centro\",\n      \"type\": \"Colonia\",\n      \"zone\": \"Urbano\",\n      \"city\": \"Moyahua de Estrada\"\n    }\n  ],\n  \"metro_area\": null,\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "9cadf1e4-9414-5a98-8900-22a75f47df54",
          "name": "Postal code at a point (reverse)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"postal code of the point\", () => {",
                  "    const r = pm.response.json();",
                  "    pm.expect(r.postal_code).to.eql(\"06700\");",
                  "    pm.expect(r.in_sepomex_catalog).to.eql(true);",
                  "    pm.expect(r.precision).to.eql(\"postal_code_polygon\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/reverse?lat=19.4195&lon=-99.1617",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reverse"
              ],
              "query": [
                {
                  "key": "lat",
                  "value": "19.4195"
                },
                {
                  "key": "lon",
                  "value": "-99.1617"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** The postal code whose area contains the point (Roma Norte, Mexico City). Paid plans."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/reverse?lat=19.4195&lon=-99.1617",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "reverse"
                  ],
                  "query": [
                    {
                      "key": "lat",
                      "value": "19.4195"
                    },
                    {
                      "key": "lon",
                      "value": "-99.1617"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"in_sepomex_catalog\": true,\n  \"state\": {\n    \"id\": \"09\",\n    \"name\": \"Ciudad de México\"\n  },\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"settlement_count\": 1,\n  \"precision\": \"postal_code_polygon\",\n  \"source_date\": \"2026-01-05\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "45d8888e-5031-56d6-9e55-ed3290a22ae3",
          "name": "Postal code at a GPS reading (reverse)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"same postal code as the rounded point\", () => {",
                  "    const r = pm.response.json();",
                  "    pm.expect(r.postal_code).to.eql(\"06700\");",
                  "    pm.expect(r.precision).to.eql(\"postal_code_polygon\");",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/reverse?lat=19.419512345678901&lon=-99.161712345678901",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reverse"
              ],
              "query": [
                {
                  "key": "lat",
                  "value": "19.419512345678901"
                },
                {
                  "key": "lon",
                  "value": "-99.161712345678901"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** Send the coordinates as a phone or a browser gives them (up to 20 decimals): they are rounded to 6 (about 10 cm), so the answer is the same as with the rounded point. Paid plans."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/reverse?lat=19.419512345678901&lon=-99.161712345678901",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "reverse"
                  ],
                  "query": [
                    {
                      "key": "lat",
                      "value": "19.419512345678901"
                    },
                    {
                      "key": "lon",
                      "value": "-99.161712345678901"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"postal_code\": \"06700\",\n  \"in_sepomex_catalog\": true,\n  \"state\": {\n    \"id\": \"09\",\n    \"name\": \"Ciudad de México\"\n  },\n  \"municipality\": {\n    \"id\": \"015\",\n    \"name\": \"Cuauhtémoc\"\n  },\n  \"settlement_count\": 1,\n  \"precision\": \"postal_code_polygon\",\n  \"source_date\": \"2026-01-05\",\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        },
        {
          "id": "c0f0afbf-da89-554b-a1e0-fd373fc00f06",
          "name": "Postal codes near a point",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"200 OK\", () => pm.response.to.have.status(200));",
                  "pm.test(\"JSON response\", () => pm.response.to.be.json);",
                  "pm.test(\"data_version present\", () => {",
                  "    const body = pm.response.json();",
                  "    pm.expect(body.data_version).to.be.a(\"string\");",
                  "    pm.expect(pm.response.headers.get(\"X-Data-Version\")).to.eql(body.data_version);",
                  "});",
                  "pm.test(\"data is an array\", () => pm.expect(pm.response.json().data).to.be.an(\"array\"));",
                  "pm.test(\"ordered by distance, within the radius\", () => {",
                  "    const d = pm.response.json().data;",
                  "    pm.expect(d.length).to.be.within(1, 5);",
                  "    for (let i = 0; i < d.length; i++) {",
                  "        pm.expect(d[i].distance_km).to.be.at.most(2);",
                  "        if (i > 0) pm.expect(d[i].distance_km).to.be.at.least(d[i - 1].distance_km);",
                  "    }",
                  "});"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/nearby?lat=19.4195&lon=-99.1617&radius_km=2&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "nearby"
              ],
              "query": [
                {
                  "key": "lat",
                  "value": "19.4195"
                },
                {
                  "key": "lon",
                  "value": "-99.1617"
                },
                {
                  "key": "radius_km",
                  "value": "2"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            },
            "description": "**Needs a paid plan (Basic or higher).** Up to 5 postal codes within 2 km, nearest first. Paid plans."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/nearby?lat=19.4195&lon=-99.1617&radius_km=2&limit=5",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "nearby"
                  ],
                  "query": [
                    {
                      "key": "lat",
                      "value": "19.4195"
                    },
                    {
                      "key": "lon",
                      "value": "-99.1617"
                    },
                    {
                      "key": "radius_km",
                      "value": "2"
                    },
                    {
                      "key": "limit",
                      "value": "5"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Miss from cloudfront"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"postal_code\": \"06700\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1,\n      \"distance_km\": 0.165,\n      \"location\": {\n        \"lat\": 19.418352,\n        \"lon\": -99.162691,\n        \"bbox\": [\n          -99.17671,\n          19.41045,\n          -99.15366,\n          19.42585\n        ],\n        \"precision\": \"postal_code_polygon\",\n        \"source_date\": \"2026-01-05\"\n      }\n    },\n    {\n      \"postal_code\": \"06600\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1,\n      \"distance_km\": 0.852,\n      \"location\": {\n        \"lat\": 19.427159,\n        \"lon\": -99.161573,\n        \"bbox\": [\n          -99.17642,\n          19.42081,\n          -99.14974,\n          19.43546\n        ],\n        \"precision\": \"postal_code_polygon\",\n        \"source_date\": \"2026-01-05\"\n      }\n    },\n    {\n      \"postal_code\": \"06720\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1,\n      \"distance_km\": 1.363,\n      \"location\": {\n        \"lat\": 19.416979,\n        \"lon\": -99.148982,\n        \"bbox\": [\n          -99.15522,\n          19.40655,\n          -99.14206,\n          19.4273\n        ],\n        \"precision\": \"postal_code_polygon\",\n        \"source_date\": \"2026-01-05\"\n      }\n    },\n    {\n      \"postal_code\": \"06500\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1,\n      \"distance_km\": 1.385,\n      \"location\": {\n        \"lat\": 19.430119,\n        \"lon\": -99.16861,\n        \"bbox\": [\n          -99.17764,\n          19.42334,\n          -99.15901,\n          19.43633\n        ],\n        \"precision\": \"postal_code_polygon\",\n        \"source_date\": \"2026-01-05\"\n      }\n    },\n    {\n      \"postal_code\": \"06760\",\n      \"state\": {\n        \"id\": \"09\",\n        \"name\": \"Ciudad de México\"\n      },\n      \"municipality\": {\n        \"id\": \"015\",\n        \"name\": \"Cuauhtémoc\"\n      },\n      \"settlement_count\": 1,\n      \"distance_km\": 1.443,\n      \"location\": {\n        \"lat\": 19.406536,\n        \"lon\": -99.16229,\n        \"bbox\": [\n          -99.17044,\n          19.39979,\n          -99.15479,\n          19.41191\n        ],\n        \"precision\": \"postal_code_polygon\",\n        \"source_date\": \"2026-01-05\"\n      }\n    }\n  ],\n  \"data_version\": \"2026.10.29-0384b36e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Caching",
      "description": "ETag / If-None-Match.",
      "item": [
        {
          "id": "57cb2b9b-3436-5924-94bb-3eeab0037ba2",
          "name": "Conditional request (304 Not Modified)",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "pm.test(\"304 Not Modified\", () => pm.response.to.have.status(304));"
                ]
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/states",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "states"
              ],
              "query": []
            },
            "description": "Send the `ETag` you received as `If-None-Match`; if the response did not change, the API answers 304 without a body. The ETag is opaque (data version and SAT ↔ SEPOMEX matching rules). Run \"Data version and totals\" first."
          },
          "response": [
            {
              "name": "304 Not Modified",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "If-None-Match",
                    "value": "{{etag}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/states",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "states"
                  ],
                  "query": []
                }
              },
              "status": "Not Modified",
              "code": 304,
              "_postman_previewlanguage": "text",
              "header": [
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400, stale-while-revalidate=604800, stale-if-error=604800"
                },
                {
                  "key": "ETag",
                  "value": "\"2026.10.29-0384b36e+10\""
                },
                {
                  "key": "X-Cache",
                  "value": "Hit from cloudfront"
                }
              ],
              "body": ""
            }
          ]
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://colonix.silgaru.mx",
      "type": "string",
      "description": "API base URL."
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "Your API key (sent in the x-api-key header). Get one free at https://cuenta.silgaru.mx. Put it as the current value or in your Postman Vault, never as the initial value of a public fork."
    },
    {
      "key": "postalCode",
      "value": "06700",
      "type": "string",
      "description": "Postal code used in the examples."
    },
    {
      "key": "state",
      "value": "09",
      "type": "string",
      "description": "2-digit INEGI state key (09 = Ciudad de México)."
    },
    {
      "key": "municipality",
      "value": "015",
      "type": "string",
      "description": "3-digit INEGI municipality key (015 = Cuauhtémoc)."
    },
    {
      "key": "settlementQuery",
      "value": "roma norte",
      "type": "string",
      "description": "Settlement name to search."
    },
    {
      "key": "dataVersion",
      "value": "",
      "type": "string",
      "description": "Set automatically by \"Data version and totals\"."
    },
    {
      "key": "etag",
      "value": "",
      "type": "string",
      "description": "ETag of /v1/meta, set automatically by \"Data version and totals\"."
    },
    {
      "key": "nextCursor",
      "value": "",
      "type": "string",
      "description": "Set automatically by \"List postal codes by prefix\"."
    },
    {
      "key": "cityCursor",
      "value": "",
      "type": "string",
      "description": "Set automatically by \"Get every settlement of a city\"; leave empty."
    },
    {
      "key": "citySeen",
      "value": "0",
      "type": "string",
      "description": "Counter used by \"Get every settlement of a city\"."
    }
  ]
}
