{"id":"39acc73f-d74f-474e-bb33-03886c69c1b4","type":"API","name":"Municipalities - Spain","slug":"municipalities-spain","description":"This dataset is part of the Geographical repository maintained by Opendatasoft. This dataset contains data for municipalities in Spain. An official alternate local name (Catalan or Occitan language) is provided (when the alternate name exists). Processors and tools are using this data. Enhancemen...","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://public.opendatasoft.com/explore/dataset/georef-spain-municipio/","docs_url":"https://public.opendatasoft.com/explore/dataset/georef-spain-municipio/","repo_url":null,"status":"ACTIVE","verification_state":"UNVERIFIED","tags":[],"logo_url":"https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/public/favicon?tstamp=17592198215867405","primary_source_url":"https://public.opendatasoft.com/explore/dataset/georef-spain-municipio/","extraction_confidence":"0.00","created_at":"2026-07-25T01:30:48.458Z","updated_at":"2026-07-25T01:41:31.522Z","last_verified_at":null,"deprecated_at":null,"ranking_score":0,"last_ranked_at":null,"last_seen_at":null,"last_validated_at":null,"last_uptime_at":null,"search_vector":"'altern':24B,35B 'alternate':69B,80B 'an':67B 'and':84B 'are':86B 'by':57B 'catalan':27B,72B 'contain':16B 'contains':61B 'data':17B,44B,62B,89B 'dataset':4B,15B,49B,60B 'enhancemen':45B,90B 'exist':37B 'exists':82B 'for':63B 'geograph':9B 'geographical':54B 'in':65B 'is':50B,76B 'languag':30B 'language':75B 'local':25B,70B 'maintain':11B 'maintained':56B 'municip':1A,19B 'municipalities':46A,64B 'name':26B,36B,71B,81B 'occitan':29B,74B 'of':52B 'offici':23B 'official':68B 'opendatasoft':13B,58B 'or':73B 'part':6B,51B 'processor':38B 'processors':83B 'provid':32B 'provided':77B 'repositori':10B 'repository':55B 'spain':2A,21B,47A,66B 'the':53B,79B 'this':48B,59B,88B 'tool':40B 'tools':85B 'use':42B 'using':87B 'when':78B","popularity_score":"0.0000","maintenance_score":"0.0000","institution_id":null,"institution_type":null,"country_code":"FR","official_confidence":0,"proof_summary":"Confidence: 0%","source_seed_url":null,"is_public_sector":true,"published_at":"2026-07-25T16:02:21.789Z","geographic_scope":"NATIONAL","name_en":null,"description_en":null,"native_lang":null,"access_level":"direct","formats":["CSV"],"capability_tier":"live","trust_score":0,"access":{"level":"direct","primary":{"kind":"download","label":"Export CSV","method":"GET","url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/exports/csv","format":"CSV","source":"query_example","runnable":true,"direct":true},"actions":[{"kind":"download","label":"Export CSV","method":"GET","url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/exports/csv","format":"CSV","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"List records","method":"GET","url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/records?limit=20","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"Select & filter","method":"GET","url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/records?select=geo_point_2d%2Cgeo_shape%2Cyear&where=acom_code+is+not+null&limit=20","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"API base URL","method":"GET","url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio","source":"base_url","runnable":false},{"kind":"landing","label":"Read the docs","method":"GET","url":"https://public.opendatasoft.com/explore/dataset/georef-spain-municipio/","source":"docs","runnable":false}],"formats":["CSV"]},"api_details":{"id":"fbc10df5-0b70-4429-a54d-1e8f9d0a948c","entry_id":"39acc73f-d74f-474e-bb33-03886c69c1b4","base_url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio","openapi_url":null,"graphql_url":null,"api_version":null,"spec_format":null,"endpoints_count":null,"endpoints":[],"rate_limit_info":null,"free_tier_limits":null,"ping_url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio","created_at":"2026-07-25T01:30:48.626Z","updated_at":"2026-07-25T01:30:48.626Z"},"dataset_details":{"id":"88ec336a-1170-4964-83b7-cc75f4f11c82","entry_id":"39acc73f-d74f-474e-bb33-03886c69c1b4","upstream_issued":null,"upstream_modified":"2022-12-26T09:30:54.000Z","themes":[],"update_frequency":"annual","temporal_start":null,"temporal_end":null,"spatial_coverage":null,"landing_page":null,"license_id":null,"license_raw":null,"has_documentation":false,"has_data_dictionary":false,"has_versioning":false,"source_portal":"opendatasoft","source_portal_url":"https://public.opendatasoft.com","created_at":"2026-07-25T01:41:31.033Z","updated_at":"2026-07-25T01:41:31.033Z","publisher":null,"publisher_url":null,"distributions":[],"license":null},"license":{"id":"cc-by-4.0","spdx_id":"CC-BY-4.0","name":"Creative Commons Attribution 4.0","url":"https://creativecommons.org/licenses/by/4.0/","is_open":true,"is_redistributable":true,"requires_attribution":true,"category":"cc","notes":null,"created_at":"2026-06-12T16:29:19.729Z"},"license_raw":"https://creativecommons.org/licenses/by/4.0/","latest_check":null,"data_profile":{"id":"345b356b-4874-4fdf-a0b3-bf573e790276","entry_id":"39acc73f-d74f-474e-bb33-03886c69c1b4","profile_source":"opendatasoft","profile_kind":"dataset","dataset_id":"georef-spain-municipio","fields":[{"name":"geo_point_2d","type":"geo_point_2d","label":"Geo Point","filterable":false,"description":null},{"name":"geo_shape","type":"geo_shape","label":null,"filterable":false,"description":null},{"name":"year","type":"date","label":null,"filterable":true,"description":null},{"name":"acom_code","type":"text","label":"Official Code Autonomous Community","filterable":true,"description":null},{"name":"acom_name","type":"text","label":"Official Name Autonomous Community","filterable":true,"description":null},{"name":"prov_code","type":"text","label":"Official Code Province","filterable":true,"description":null},{"name":"prov_name","type":"text","label":"Official Name Province","filterable":true,"description":null},{"name":"mun_code","type":"text","label":"Official Code Municipality","filterable":true,"description":null},{"name":"mun_name","type":"text","label":"Official Name Municipality","filterable":true,"description":null},{"name":"mun_area_code","type":"text","label":"Iso 3166-3 Area Code","filterable":true,"description":null},{"name":"mun_type","type":"text","label":"Type","fill_pct":100,"filterable":true,"description":null},{"name":"mun_name_local","type":"text","label":"Local Name Municipality","fill_pct":1.6,"filterable":true,"description":null}],"field_count":12,"sample_records":[{"year":"2022","mun_code":"34034","mun_name":"Boadilla del Camino","mun_type":"municipality","acom_code":"07","acom_name":"Castilla y León","geo_shape":{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-4.374820773,42.24804955706096],[-4.365033843,42.248391620060964],[-4.362000326,42.24712182406097],[-4.360984353,42.24609820006097],[-4.356733629,42.24458153106098],[-4.352571583,42.24266739406098],[-4.350276034,42.24074015506099],[-4.349174547,42.240239783061],[-4.347092747,42.23980496006099],[-4.34497928,42.23901923806099],[-4.342146676,42.23746738406099],[-4.340874636,42.236347516061],[-4.340331792,42.235894560061006],[-4.337789702,42.236608707060995],[-4.335130945,42.237540301060996],[-4.328349622,42.240699122060995],[-4.31876507,42.244313103060975],[-4.315698875,42.24491571006098],[-4.315066153,42.24538227406097],[-4.307912804,42.25057049106096],[-4.307616334,42.250889081060954],[-4.304641663,42.25536290906095],[-4.301899619,42.26173426906093],[-4.3018707,42.2662195540609],[-4.301512345,42.27119489806089],[-4.302987667,42.27452834306088],[-4.303364749,42.27517248306088],[-4.304432494,42.27637613706087],[-4.307041919,42.278823035060874],[-4.307999191,42.279955864060874],[-4.315150583,42.29083418706084],[-4.31473678,42.294846541060814],[-4.326537705,42.2999429810608],[-4.339920077,42.29657224806082],[-4.340135513,42.29643464106081],[-4.354265474,42.287262747060836],[-4.358296811,42.284648401060856],[-4.358772155,42.284192477060856],[-4.366404855,42.27370900206088],[-4.368545935,42.26954074506091],[-4.369461122,42.26756652706091],[-4.373616119,42.257331117060936],[-4.374145102,42.25600991206094],[-4.374208618,42.25335239606095],[-4.37458722,42.25013273306096],[-4.374820773,42.24804955706096]]]},"properties":{}},"prov_code":"34","prov_name":"Palencia","geo_point_2d":{"lat":42.26687531967917,"lon":-4.336271886162001},"mun_area_code":"ESP","mun_name_local":null},{"year":"2022","mun_code":"40034","mun_name":"Caballar","mun_type":"municipality","acom_code":"07","acom_name":"Castilla y León","geo_shape":"[large value omitted]","prov_code":"40","prov_name":"Segovia","geo_point_2d":{"lat":41.12262229929747,"lon":-3.9642473019246154},"mun_area_code":"ESP","mun_name_local":null},{"year":"2022","mun_code":"09472","mun_name":"Villazopeque","mun_type":"municipality","acom_code":"07","acom_name":"Castilla y León","geo_shape":"[large value omitted]","prov_code":"09","prov_name":"Burgos","geo_point_2d":{"lat":42.19329960627165,"lon":-4.022712146519634},"mun_area_code":"ESP","mun_name_local":null},{"year":"2022","mun_code":"12117","mun_name":"Torreblanca","mun_type":"municipality","acom_code":"10","acom_name":"Comunitat Valenciana","geo_shape":"[large value omitted]","prov_code":"12","prov_name":"Castelló","geo_point_2d":{"lat":40.20982733271223,"lon":0.20149516698167166},"mun_area_code":"ESP","mun_name_local":null},{"year":"2022","mun_code":"14026","mun_name":"Espiel","mun_type":"municipality","acom_code":"01","acom_name":"Andalucía","geo_shape":"[large value omitted]","prov_code":"14","prov_name":"Córdoba","geo_point_2d":{"lat":38.13276032589953,"lon":-5.076434350117788},"mun_area_code":"ESP","mun_name_local":null}],"record_count":"8223","data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/records?limit=20","curl":"curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/records?limit=20' -H 'Accept: application/json'","label":"List records","method":"GET","description":"First 20 records of the dataset as JSON."},{"url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/records?select=geo_point_2d%2Cgeo_shape%2Cyear&where=acom_code+is+not+null&limit=20","curl":"curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/records?select=geo_point_2d%2Cgeo_shape%2Cyear&where=acom_code+is+not+null&limit=20' -H 'Accept: application/json'","label":"Select & filter","method":"GET","description":"Project specific fields (geo_point_2d, geo_shape, year) and filter with ODSQL where clauses."},{"url":"https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/exports/csv","curl":"curl -sL 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-spain-municipio/exports/csv' -o dataset.csv","label":"Export CSV","method":"GET","description":"Full dataset export as CSV (also available: json, parquet, xlsx)."}],"status":"ok","error_message":null,"profiled_at":"2026-07-25T01:41:30.543Z","run_id":"ac6c6e96-cf9f-494e-b34c-8645c1d928cb","created_at":"2026-07-25T01:41:30.543Z","updated_at":"2026-07-25T01:41:30.543Z","license_raw":"https://creativecommons.org/licenses/by/4.0/","license_id":"cc-by-4.0","previewable":true},"datasets":[],"limits":[{"id":"c849b54d-cf4c-472c-a3ca-df5a9f6fe4a8","entry_id":"39acc73f-d74f-474e-bb33-03886c69c1b4","limit_type":"requests_per_day","value":"10000000","unit":"requests","period":"day","scope":"per-ip","source_id":null,"claim_type":"measured","confidence":"0.90","observed_at":"2026-07-25T01:41:31.198Z"}]}