{"id":"494f1042-572c-40d1-8fc0-764e08cb494c","type":"API","name":"Dénombrement des équipements (commerce, sport, services, santé…)","slug":"denombrement-des-equipements-commerce-sport-services-sante","description":"Dénombrement des équipements par type d'équipement (commerce, services, santé...) et par niveau géographique.","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://catalogue-donnees.insee.fr/fr/catalogue/recherche/DS_BPE","docs_url":"https://catalogue-donnees.insee.fr/fr/catalogue/recherche/DS_BPE","repo_url":null,"status":"ACTIVE","verification_state":"VERIFIED","tags":[],"logo_url":"https://catalogue-donnees.insee.fr/favicon.svg","primary_source_url":"https://catalogue-donnees.insee.fr/fr/catalogue/recherche/DS_BPE","extraction_confidence":"0.40","created_at":"2026-07-21T22:29:52.819Z","updated_at":"2026-12-04T09:44:52.726Z","last_verified_at":"2026-12-04T09:44:52.726Z","deprecated_at":null,"ranking_score":54,"last_ranked_at":"2026-11-22T04:08:32.500Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-11-27T22:22:32.588Z","popularity_score":"0.0000","maintenance_score":"0.6000","institution_id":"7e8c524c-d2f0-4000-9e63-e91795edd443","institution_type":"STATISTICS_OFFICE","country_code":"FR","official_confidence":40,"proof_summary":"40% - Official domain (insee.fr)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-07-22T07:25:00.000Z","geographic_scope":"NATIONAL","name_en":"Count of Facilities (commerce, sport, services, health…)","description_en":"This API provides counts of facilities and services from the Base Permanente des Équipements (BPE), broken down by type of facility—such as retail, sports, personal services, and health care—and by geographic level. It is published by INSEE, France's national statistical institute, and covers the whole of French territory. The data supports analysis of local service provision and territorial equipment levels across municipalities, departments, and other administrative divisions.","native_lang":"fr","access_level":"direct","formats":[],"capability_tier":"live","trust_score":50.75,"merged_into_entry_id":null,"identity_key":"API|https://catalogue-donnees.insee.fr/fr/catalogue/recherche/DS_BPE|dénombrement des équipements (commerce, sport, services, santé...)","upstream_ref":"catalogue-donnees.insee.fr:dataset:DS_BPE","content_changed_at":null,"upstream_gone_checks":0,"upstream_gone_since":null,"description_en_local_failures":0,"institution":null,"title_qualifier":null,"access":{"level":"direct","primary":{"kind":"query","label":"List observations","method":"GET","url":"https://api.insee.fr/melodi/data/DS_BPE?maxResult=20","source":"query_example","runnable":true,"direct":true},"actions":[{"kind":"query","label":"List observations","method":"GET","url":"https://api.insee.fr/melodi/data/DS_BPE?maxResult=20","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"Filter by dimension","method":"GET","url":"https://api.insee.fr/melodi/data/DS_BPE?GEO=COM-75056&maxResult=20","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"Run verified request","method":"GET","url":"https://api.insee.fr/melodi/data/DS_BPE","source":"probe","runnable":true},{"kind":"landing","label":"Read the docs","method":"GET","url":"https://catalogue-donnees.insee.fr/fr/catalogue/recherche/DS_BPE","source":"docs","runnable":false}],"formats":[]},"maturity":{"entry_id":"494f1042-572c-40d1-8fc0-764e08cb494c","granularity":"entry","granularity_label":"One unit = one catalog entry. A PROXY for the SCOPE.md §4 ladder, which governs source families, not entries: a family with 400 entries moves this reading 400 times as much as a family with one. Never compare or combine with the source_family reading.","level":"executable","level_index":4,"level_label":"Executable","meaning":"Queries run through Commodity","counts_as_coverage":true,"blocked_by":null,"rungs":[{"level":"discovered","level_index":1,"label":"Discovered","meaning":"Source and metadata recorded","evidence":"membership of the named population the ladder is taken over","counts_as_coverage":false,"met":true,"reached":true,"criterion":"TRUE"},{"level":"verified","level_index":2,"label":"Verified","meaning":"Access tested successfully","evidence":"entries.verification_state = 'VERIFIED'","counts_as_coverage":false,"met":true,"reached":true,"criterion":"entries.verification_state = 'VERIFIED'"},{"level":"profiled","level_index":3,"label":"Profiled","meaning":"Schema, dimensions and licence understood","evidence":"a data profile with at least one field (entry_data_profiles.field_count > 0)","counts_as_coverage":false,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_data_profiles p WHERE p.entry_id = entries.id AND COALESCE(p.field_count, 0) > 0)"},{"level":"executable","level_index":4,"label":"Executable","meaning":"Queries run through Commodity","evidence":"entries.capability_tier = 'live' — today's proxy for \"queryable through us\"","counts_as_coverage":true,"met":true,"reached":true,"criterion":"entries.capability_tier = 'live'"},{"level":"joinable","level_index":5,"label":"Joinable","meaning":"Canonical identifiers and concepts mapped","evidence":"a field link to a canonical identifier whose sampled VALUES match its format, on a field the current profile still has (entry_data_profiles.fields names it, field_count > 0)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl JOIN entry_data_profiles jp ON jp.entry_id = efl.entry_id WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match' AND COALESCE(jp.field_count, 0) > 0 AND COALESCE(jp.fields @> jsonb_build_array(jsonb_build_object('name', efl.field_name)), false))"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078) that names at least one column, every one of them a field of the current profile — except, on a grouped citation, the computed columns 'count' and '<fn>_<field>'","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em JOIN entry_data_profiles rp ON rp.entry_id = em.entry_id WHERE em.entry_id = entries.id AND COALESCE(rp.field_count, 0) > 0 AND jsonb_array_length(em.columns) > 0 AND (CASE WHEN em.query_params ? 'aggregate' THEN em.columns - 'count' - (COALESCE(em.query_params->'aggregate'->>'fn', '') || '_' || COALESCE(em.query_params->'aggregate'->>'field', '')) ELSE em.columns END) <@ COALESCE((SELECT jsonb_agg(f->'name') FROM jsonb_array_elements(CASE WHEN jsonb_typeof(rp.fields) = 'array' THEN rp.fields END) f), '[]'::jsonb))"},{"level":"guaranteed","level_index":7,"label":"Guaranteed","meaning":"Monitored against an operational reliability target","evidence":"an active reliability target with a named monitor (migration 096)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_reliability_targets rt WHERE rt.entry_id = entries.id AND rt.is_active = true)"}],"officialness":{"basis":"catalog_inherited","label":"Inherited from the upstream catalog: this item came from a trusted official government catalog, and that provenance — not per-item proof — is the warrant. Its own proof score is below 80 or it matched no registered institution (apps/worker/src/connectors/catalog/qualify-store.ts).","proof_confidence":40,"proven_threshold":80,"institution_id":"7e8c524c-d2f0-4000-9e63-e91795edd443","definition":"CASE WHEN COALESCE(entries.is_public_sector, false) IS NOT TRUE THEN 'not_official' WHEN COALESCE(entries.official_confidence, 0) >= 80 AND entries.institution_id IS NOT NULL THEN CASE WHEN EXISTS (SELECT 1 FROM api_candidates oc WHERE oc.merged_into_entry_id = entries.id AND oc.official_confidence >= 80 AND oc.proposed_institution_id IS NOT NULL) THEN 'per_item_proven' ELSE 'integrator_asserted' END ELSE 'catalog_inherited' END"},"source_family":{"key":"catalogue-donnees.insee.fr","label":"One unit = one source family, approximated by the serving host of the entry's primary source URL (e.g. bdl.stat.gov.pl). A COMPUTED stand-in for the curated families of SCOPE.md §5, which no table holds yet. A family sits at the highest level any of its entries has reached, because a family is integrated to the depth of its deepest working integration. Never compare or combine with the entry reading."},"generated_at":"2026-12-04T15:02:50.004Z"},"update_schedule":{"last_update":"2026-11-12T13:35:51.969Z","declared_frequency":"annual","next_update":"2027-11-13T13:35:51.969Z","next_update_basis":"declared_frequency","next_update_source_url":null,"predicted":true,"next_update_tentative":false,"confidence":"medium","overdue":false,"overdue_since":null,"method":"Last upstream modification plus one declared annual period."},"legal_basis":{"source":"data.europa.eu High-Value Dataset records (dcatap:applicableLegislation), matched to this entry by URL","legislation":[],"statements":[],"record_publishers":[],"harvested_at":null},"distribution_role":null,"publisher_organisation":null,"api_details":{"id":"4f7b7520-4064-41e5-bd9a-e739aa22f9e2","entry_id":"494f1042-572c-40d1-8fc0-764e08cb494c","base_url":"https://api.insee.fr/melodi/data/DS_BPE","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://api.insee.fr/melodi/data/DS_BPE","created_at":"2026-07-21T22:29:52.988Z","updated_at":"2026-07-21T22:29:52.988Z"},"dataset_details":{"id":"cc40d2d5-ae00-41ef-a4d6-c72d8a519166","entry_id":"494f1042-572c-40d1-8fc0-764e08cb494c","upstream_issued":null,"upstream_modified":"2026-11-12T13:35:51.969Z","themes":[],"update_frequency":"annual","temporal_start":"2025-01-01T00:00:00.000Z","temporal_end":"2025-12-31T00:00:00.000Z","spatial_coverage":null,"landing_page":null,"license_id":null,"license_raw":null,"has_documentation":false,"has_data_dictionary":false,"has_versioning":false,"source_portal":"melodi","source_portal_url":"https://api.insee.fr/melodi","created_at":"2026-11-13T06:35:40.580Z","updated_at":"2026-11-27T11:28:46.963Z","publisher":null,"publisher_url":null,"record_origin":null,"record_source_catalogue":null,"record_source_url":null,"publisher_register_scheme":null,"publisher_register_id":null,"distributions":[],"files_size":null,"license":null},"license":null,"reuse":{"license_id":null,"license_name":null,"license_url":null,"commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"unknown","value":null},"attribution_required":{"status":"unknown","value":null},"share_alike":{"status":"unknown","value":null},"personal_data_warning":{"status":"unknown","value":null},"cache_and_mirror":{"status":"unknown","value":null},"derivatives":{"status":"unknown","value":null},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror","derivatives"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":null,"licence":{"licence_id":null,"status":"none_stated","basis":"no_licence_recorded","terms":[],"redistribution":"unknown","commercial":"unknown","licence_url":null,"licence_raw":null,"source_url":null,"notice":"licence: none stated — redistribution: not stated; commercial reuse: not stated"},"latest_check":{"id":"62344022-7dd6-4a02-b313-8888d8457f9d","entry_id":"494f1042-572c-40d1-8fc0-764e08cb494c","status":"VERIFIED","last_checked_at":"2026-12-04T09:44:52.460Z","p50_latency_ms":608,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-07-22T06:08:32.366Z","updated_at":"2026-12-04T09:44:52.460Z","consecutive_successes":28,"probe_url":"https://api.insee.fr/melodi/data/DS_BPE","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json","probe_succeeded_at":"2026-12-04T09:44:52.460Z"},"data_profile":{"id":"ebbb0dfa-2af5-4512-a66f-d4bff1b167a2","entry_id":"494f1042-572c-40d1-8fc0-764e08cb494c","profile_source":"melodi","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"GEO","type":"string","label":"Géographie","concept":"http://rdf.insee.fr/def/geo#codeCommune","label_en":"Geography","label_lang":"fr","description":null,"description_en":"Code identifying the geographic area of reference.","observation_dimension":true},{"name":"BPE_MEASURE","type":"string","label":"Mesure BPE","label_lang":"fr","description":null,"enum_labels":{"FACILITIES":"Nombre d'équipements"},"enum_values":["FACILITIES"],"description_en":"Type of measure computed from the facilities database (BPE).","observation_dimension":true},{"name":"FACILITY_SDOM","type":"string","label":"2e niveau de la classification des types d'équipements","label_en":"2nd level of classification","label_lang":"fr","description":null,"enum_labels":{"A1":"Services publics","A2":"Services généraux","A3":"Services automobiles","A4":"Artisanat du bâtiment","A5":"Autres services","B1":"Grandes surfaces","B2":"Commerces alimentaires","B3":"Commerces spécialisés non-alimentaires","C1":"Enseignement du premier degré","C2":"Enseignement du second degré - premier cycle","C3":"Enseignement du second degré - second cycle","C4":"Enseignement supérieur non-universitaire","C5":"Enseignement supérieur universitaire","C6":"Formation continue","C7":"Autres services de l'éducation","D1":"Etablissements et services de santé","D2":"Fonctions médicales et paramédicales (à titre libéral)","D3":"Autres établissements et services à caractère sanitaire","D4":"Action sociale pour personnes âgées","D5":"Action sociale pour enfants en bas-âge","D6":"Action sociale pour handicapés","D7":"Autres services d'action sociale","E1":"Infrastructures de transports","F1":"Equipements sportifs","F2":"Equipements de loisirs","F3":"Equipements culturels et socioculturels","G1":"Tourisme","_T":"Total"},"enum_values":["D5","D6","B1","B2","D7","F2","B3","F1","A1","A5","C4","C1","C2","C3","C6","D1","D3","D4","E1","F3","G1","A3","A4","C5","D2","A2","C7","_T"],"description_en":"Code for the facility sub-domain (subcategory of equipment type).","observation_dimension":true},{"name":"FACILITY_TYPE","type":"string","label":"3e niveau de la classification des types d'équipements","label_en":"3rd level of classification","label_lang":"fr","description":null,"enum_labels":{"A108":"Conseil de prud’hommes","A121":"Direction départementale des finances publiques","A125":"Antenne de justice","A131":"Tribunal judiciaire","A137":"Tribunal correctionnel","A203":"Banque, caisse d’épargne","A301":"Réparation automobile et de matériel agricole","A304":"École de conduite","A404":"Plombier couvreur chauffagiste","A405":"Électricien","A501":"Coiffure","A504":"Restaurant- restauration rapide","B208":"Commerce spécialisé en fruits et légumes","B307":"Magasin d’articles de sports et de loisirs","B310":"Parfumerie-cosmétique","B311":"Horlogerie-bijouterie","B315":"Magasin de matériel médical et orthopédique","B324":"Librairie","B325":"Papeterie et presse","B326":"Station de recharge de véhicules électriques","C303":"Lycée d’enseignement technique et/ou professionnel agricole","C501":"Ufr","C701":"Résidence universitaire","D106":"Urgences","D108":"Centre de santé","D113":"Maison de santé pluridisciplinaire","D114":"Service de prise en charge des addictions","D115":"Services de santé maternelle et infantile","D256":"Gériatre","D258":"Spécialiste en médecine physique et de réadaptation","D259":"Neurologue","D272":"Spécialiste en pédiatrie","D277":"Chirurgien dentiste","D281":"Infirmier","D282":"Orthophoniste","D283":"Orthoptiste","D307":"Pharmacie","D504":"Relais petite enfance","D507":"Médiation familiale","D604":"Adultes handicapés : services d’aide","D702":"Protection de l’enfance : action éducative","D710":"Autres hébergements pour adultes et familles en difficulté","F101":"Bassin de natation","F105":"Domaine skiable","F108":"Terrain de golf","F110":"Sports de glace","F118":"Sports nautiques","F125":"Site d'activités aériennes","F201":"Baignade aménagée","F202":"Port de plaisance – mouillage"},"enum_values":["A108","A125","A131","A137","A203","A301","A304","A404","A405","A501","A504","B208","B307","B310","B311","B315","B324","B325","C303","C501","C701","D106","D108","D113","D114","D115","D256","D258","D259","D272","D277","D281","D282","D283","D307","D504","D507","D604","D702","D710","F101","F108","F118","F125","F201","F202","A121","B326","F105","F110"],"description_en":"Detailed code identifying the specific type of facility.","observation_dimension":true},{"name":"FREQ","type":"string","label":"Fréquence","label_en":"Frequency","label_lang":"fr","description":null,"enum_labels":{"A":"Annuel"},"enum_values":["A"],"description_en":"Frequency at which the data is collected or published (e.g. annual).","observation_dimension":true},{"name":"TIME_PERIOD","type":"string","label":"Période temporelle","label_lang":"fr","description":null,"description_en":"Year the count of facilities refers to.","observation_dimension":true},{"name":"UNIT_MEASURE","type":"string","label":"Unité de mesure","label_lang":"fr","description":null,"enum_labels":{"NR":"Nombre"},"enum_values":["NR"],"description_en":"Unit in which the observed value is expressed.","observation_dimension":true},{"name":"FACILITY_DOM","type":"string","label":"1er niveau de la classification des types d'équipements","label_en":"1st level of classification","label_lang":"fr","description":null,"enum_labels":{"A":"Services pour les particuliers","B":"Commerces","C":"Enseignement","D":"Santé et action sociale","E":"Transports et déplacements","F":"Sports, loisirs et culture","G":"Tourisme","_T":"Total"},"enum_values":["A","B","D","G","E","C","F","_T"],"description_en":"Code for the broad facility domain (e.g. commerce, services, health).","observation_dimension":true},{"name":"UNIT_MULT","type":"string","label":"Quantité d'unités (en puissance de 10)","label_en":"Quantity of units (in power of 10)","label_lang":"fr","description":null,"enum_labels":{"0":"Unités"},"enum_values":["0"],"description_en":"Code indicating the scale multiplier applied to the value."},{"name":"OBS_VALUE_NIVEAU","type":"number","label":null,"unit_field":"UNIT_MEASURE","description":null,"description_en":"Number of facilities recorded for the given category and area.","unit_multiplier_field":"UNIT_MULT"}],"field_count":10,"sample_records":[{"GEO":"2026-COM-75056","FREQ":"A","UNIT_MULT":"0","BPE_MEASURE":"FACILITIES","TIME_PERIOD":"2025","FACILITY_DOM":"A","UNIT_MEASURE":"NR","FACILITY_SDOM":"A1","FACILITY_TYPE":"A104","OBS_VALUE_NIVEAU":1},{"GEO":"2026-AAV2020-001","FREQ":"A","UNIT_MULT":"0","BPE_MEASURE":"FACILITIES","TIME_PERIOD":"2025","FACILITY_DOM":"A","UNIT_MEASURE":"NR","FACILITY_SDOM":"A1","FACILITY_TYPE":"A104","OBS_VALUE_NIVEAU":147},{"GEO":"2026-AAV2020-001","FREQ":"A","UNIT_MULT":"0","BPE_MEASURE":"FACILITIES","TIME_PERIOD":"2025","FACILITY_DOM":"A","UNIT_MEASURE":"NR","FACILITY_SDOM":"A1","FACILITY_TYPE":"A105","OBS_VALUE_NIVEAU":2},{"GEO":"2026-AAV2020-001","FREQ":"A","UNIT_MULT":"0","BPE_MEASURE":"FACILITIES","TIME_PERIOD":"2025","FACILITY_DOM":"A","UNIT_MEASURE":"NR","FACILITY_SDOM":"A1","FACILITY_TYPE":"A108","OBS_VALUE_NIVEAU":21},{"GEO":"2026-AAV2020-001","FREQ":"A","UNIT_MULT":"0","BPE_MEASURE":"FACILITIES","TIME_PERIOD":"2025","FACILITY_DOM":"A","UNIT_MEASURE":"NR","FACILITY_SDOM":"A1","FACILITY_TYPE":"A109","OBS_VALUE_NIVEAU":9}],"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://api.insee.fr/melodi/data/DS_BPE?maxResult=20","curl":"curl -s 'https://api.insee.fr/melodi/data/DS_BPE?maxResult=20' -H 'Accept: application/json'","label":"List observations","method":"GET","description":"First 20 observations (dimensions + measures) as JSON."},{"url":"https://api.insee.fr/melodi/data/DS_BPE?GEO=COM-75056&maxResult=20","curl":"curl -s 'https://api.insee.fr/melodi/data/DS_BPE?GEO=COM-75056&maxResult=20' -H 'Accept: application/json'","label":"Filter by dimension","method":"GET","description":"Server-side dimension filter — e.g. GEO=COM-75056 scopes to a commune (also DEP-…, REG-…, TIME_PERIOD=…)."}],"status":"ok","error_message":null,"profiled_at":"2026-11-27T11:28:45.604Z","run_id":"53ce75fb-fa50-4750-b742-a40d47e3b6da","created_at":"2026-07-21T22:30:30.067Z","updated_at":"2026-11-27T11:28:45.747Z","license_raw":null,"license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"fields_with_example_values":10,"example_values_counted_at":"2026-11-27T11:28:45.604Z","ods_features":null,"record_count_basis":null,"record_count_asked_at":null,"previewable":true,"declared_periods":null,"declared_areas":null,"declared_population":null,"records_not_applicable":null,"record_count_unit":null,"personal_data":{"status":"none","basis":"no_person_column_cited","grain":"none","allowed":true,"columns":{"direct_identifiers":[],"family_names":[],"given_names":[],"attributes":[],"unresolved_names":[],"measures":["OBS_VALUE_NIVEAU"],"entity_identifiers":[]},"publication":null,"publication_evidence":null,"notice":"personal data: no cited column names a natural person (the cited columns are all this reads)"}},"datasets":[],"limits":[],"manifest":{"answer_sha256":"c4997b9442d29e1cf5db336af6e690cafb7dda47d300f1c22423b33188c9276c","answer_sha256_rule":"sha256 (hex, UTF-8) of JSON.stringify(this body) after deleting the keys listed in manifest.stamped_keys from manifest, and deleting manifest itself if it is then empty. The hash was computed before the stamp existed, so no field of the stamp is inside it.","stamped_keys":["answer_sha256","answer_sha256_rule","stamped_keys","row_count","row_count_basis","live","live_basis","created_at","created_at_basis","durable_citation"],"row_count":28,"row_count_basis":"Objects that are elements of a JSON array anywhere in this body, excluding manifest. Not a claim about which collection is the answer. Largest single collection: data_profile.fields[] (10 rows).","live":false,"live_basis":"This body was replayed from the worker edge cache (x-edge-cache: hit); the bytes, and therefore answer_sha256, are those of the execution that filled the cache.","created_at":"2026-12-04T15:03:02.695Z","created_at_basis":"When this response body was assembled, deliberately OUTSIDE the hashed bytes so the same answer hashes identically on every request. Not the upstream read time — that is provenance[].retrieved_at. A zone-cached replay carries the assembly time, not your receipt time.","durable_citation":"This manifest is produced at response time and is NOT stored. A durable, replayable citation is persisted only on an explicit cite: GET /api/v1/entries/{id-or-slug}/evidence or the MCP cite_query tool for one entry, and POST /api/v1/answer/cite for a domain answer, which stores this same answer_sha256 with the sources the answer consulted."}}