Administrative boundaries of countries, provinces, etc.

Query parameters:

code Filter on code. Filter methods exact and startswith are supported.

name Filter on name. Filter methods exact and startswith are supported.

created: Temporal filter on created. Supports various lookup types (exact, lt, lte, gt, gte; created__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

last_modified: Temporal filter on last_modified. Supports various lookup types (exact, lt, lte, gt, gte; last_modified__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

Examples

?code__startswith=NL

?code=NL_GM0344

?name__startswith=Utrechtse

?name=Utrecht

?created__gte=2017-01-01T00:00:00Z

?last_modified__lt=2018-01-01T00:00:00Z
GET /api/v4/boundaries/?format=api&page=15
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 247683,
    "next": "https://demo.lizard.net/api/v4/boundaries/?format=api&page=16",
    "previous": "https://demo.lizard.net/api/v4/boundaries/?format=api&page=14",
    "results": {
        "type": "FeatureCollection",
        "features": [
            {
                "id": 598,
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                -4.777779,
                                54.05555
                            ],
                            [
                                -4.354167,
                                54.410828
                            ],
                            [
                                -4.394444,
                                54.186386
                            ],
                            [
                                -4.777779,
                                54.05555
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "IM",
                    "name": "Isle of Man",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 599,
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                6.026256,
                                50.181252
                            ],
                            [
                                6.134414,
                                50.127846
                            ],
                            [
                                6.524444,
                                49.808609
                            ],
                            [
                                6.36217,
                                49.459389
                            ],
                            [
                                5.80788,
                                49.545044
                            ],
                            [
                                6.026256,
                                50.181252
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "LU",
                    "name": "Luxembourg",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 600,
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                113.531662,
                                22.194736
                            ],
                            [
                                113.554428,
                                22.21273000000015
                            ],
                            [
                                113.552467,
                                22.183052
                            ],
                            [
                                113.531662,
                                22.194736
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "MO",
                    "name": "Macau",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 601,
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                7.439293000000106,
                                43.75752300000015
                            ],
                            [
                                7.391609,
                                43.727547
                            ],
                            [
                                7.387777,
                                43.748604
                            ],
                            [
                                7.416111,
                                43.770554
                            ],
                            [
                                7.439293000000106,
                                43.75752300000015
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "MC",
                    "name": "Monaco",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 602,
                "type": "Feature",
                "geometry": {
                    "type": "MultiPolygon",
                    "coordinates": [
                        [
                            [
                                [
                                    34.33416,
                                    31.25972
                                ],
                                [
                                    34.26757800000021,
                                    31.216541
                                ],
                                [
                                    34.21666,
                                    31.323330000000155
                                ],
                                [
                                    34.490547,
                                    31.596096000000117
                                ],
                                [
                                    34.33416,
                                    31.25972
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    35.282494,
                                    32.516937
                                ],
                                [
                                    35.552567,
                                    32.394196
                                ],
                                [
                                    35.47819500000011,
                                    31.497322
                                ],
                                [
                                    34.884995,
                                    31.391388
                                ],
                                [
                                    35.282494,
                                    32.516937
                                ]
                            ],
                            [
                                [
                                    35.251663,
                                    31.788055000000114
                                ],
                                [
                                    35.25972000000016,
                                    31.78722000000012
                                ],
                                [
                                    35.24888600000011,
                                    31.808887000000155
                                ],
                                [
                                    35.251663,
                                    31.788055000000114
                                ]
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "PS",
                    "name": "Palestine",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 603,
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                18.455555,
                                42.565826
                            ],
                            [
                                18.699997,
                                43.255554
                            ],
                            [
                                19.228809,
                                43.513214
                            ],
                            [
                                20.348888,
                                42.886383
                            ],
                            [
                                20.071423,
                                42.560913
                            ],
                            [
                                19.645832,
                                42.61805
                            ],
                            [
                                19.367771,
                                41.848999
                            ],
                            [
                                18.503197,
                                42.44944
                            ],
                            [
                                18.455555,
                                42.565826
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "ME",
                    "name": "Montenegro",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 604,
                "type": "Feature",
                "geometry": {
                    "type": "MultiPolygon",
                    "coordinates": [
                        [
                            [
                                [
                                    45.282494,
                                    -12.804167
                                ],
                                [
                                    45.262497,
                                    -12.76889
                                ],
                                [
                                    45.283051,
                                    -12.747501
                                ],
                                [
                                    45.282494,
                                    -12.804167
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    45.2049940000002,
                                    -12.849724
                                ],
                                [
                                    45.097496,
                                    -12.985834
                                ],
                                [
                                    45.078888,
                                    -12.6625
                                ],
                                [
                                    45.2049940000002,
                                    -12.849724
                                ]
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "YT",
                    "name": "Mayotte",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 605,
                "type": "Feature",
                "geometry": {
                    "type": "MultiPolygon",
                    "coordinates": [
                        [
                            [
                                [
                                    20.210831000000155,
                                    59.979996000000156
                                ],
                                [
                                    19.99916500000012,
                                    60.055275
                                ],
                                [
                                    20.205276,
                                    60.063606
                                ],
                                [
                                    20.210831000000155,
                                    59.979996000000156
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    20.270554,
                                    60.057495000000145
                                ],
                                [
                                    20.215553,
                                    60.13916
                                ],
                                [
                                    20.292221,
                                    60.125275
                                ],
                                [
                                    20.270554,
                                    60.057495000000145
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    19.676666,
                                    60.156944
                                ],
                                [
                                    19.510555,
                                    60.17527800000012
                                ],
                                [
                                    19.601944,
                                    60.255829
                                ],
                                [
                                    19.676666,
                                    60.156944
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    20.397221000000144,
                                    60.195
                                ],
                                [
                                    20.36610800000014,
                                    60.26554900000012
                                ],
                                [
                                    20.441109,
                                    60.253052000000125
                                ],
                                [
                                    20.397221000000144,
                                    60.195
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    20.084721,
                                    60.350273
                                ],
                                [
                                    20.277496,
                                    60.274162
                                ],
                                [
                                    19.943886,
                                    60.04277
                                ],
                                [
                                    19.648331,
                                    60.25666
                                ],
                                [
                                    20.084721,
                                    60.350273
                                ]
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "AX",
                    "name": "land Islands",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 606,
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                167.964966,
                                -29.081112
                            ],
                            [
                                167.912476,
                                -29.00528
                            ],
                            [
                                167.997742,
                                -29.025002
                            ],
                            [
                                167.964966,
                                -29.081112
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "NF",
                    "name": "Norfolk Island",
                    "type": "COUNTRY"
                }
            },
            {
                "id": 607,
                "type": "Feature",
                "geometry": {
                    "type": "MultiPolygon",
                    "coordinates": [
                        [
                            [
                                [
                                    96.914154,
                                    -12.198055
                                ],
                                [
                                    96.902481,
                                    -12.199999
                                ],
                                [
                                    96.91470300000012,
                                    -12.151945
                                ],
                                [
                                    96.914154,
                                    -12.198055
                                ]
                            ]
                        ],
                        [
                            [
                                [
                                    96.86276200000012,
                                    -12.196112
                                ],
                                [
                                    96.819443,
                                    -12.178057
                                ],
                                [
                                    96.826385,
                                    -12.128332
                                ],
                                [
                                    96.86276200000012,
                                    -12.196112
                                ]
                            ]
                        ]
                    ]
                },
                "properties": {
                    "code": "CC",
                    "name": "Cocos (Keeling) Islands",
                    "type": "COUNTRY"
                }
            }
        ]
    }
}