{"id":"0a6b896e-77bf-4f81-b0f2-2d64bbfcd8aa","type":"API","name":"API Gallica Recherche","slug":"api-gallica-recherche","description":"L'API Recherche permet d'interroger le fonds de la bibliothèque numérique de la BnF, [Gallica](https://gallica.bnf.fr/). Les documents résultats d'une requête peuvent ensuite être exploités par le moyen de l'[API Document](/les-api/api_gallica_document). ### A quoi sert-elle ? L’API Recherche s'i…","free_access_class":"FREE_KEY_REQUIRED","auth_type":"API_KEY","homepage_url":"https://www.data.gouv.fr/dataservices/api-gallica-recherche","docs_url":"http://api.bnf.fr/api-gallica-de-recherche","repo_url":null,"status":"ACTIVE","verification_state":"VERIFIED","tags":["business","culture","digital","weather"],"logo_url":"https://udata-avatars.s3.rbx.io.cloud.ovh.net/f0/7d02be08b749529c3e58d34ff8c504-100.png","primary_source_url":"https://www.data.gouv.fr/dataservices/api-gallica-recherche","extraction_confidence":"0.40","created_at":"2026-06-07T22:08:35.699Z","updated_at":"2026-11-23T03:19:15.840Z","last_verified_at":"2026-11-23T03:19:15.840Z","deprecated_at":null,"ranking_score":60,"last_ranked_at":"2026-11-18T13:11:21.281Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-11-19T23:00:15.516Z","popularity_score":"0.0000","maintenance_score":"0.6000","institution_id":"90e341c1-ab58-4ccf-8a64-940a03e70433","institution_type":"AGENCY","country_code":"FR","official_confidence":40,"proof_summary":"official domain (data.gouv.fr) (catalog: api_gouv_fr)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-06-07T22:08:35.699Z","geographic_scope":"NATIONAL","name_en":"Gallica Search API","description_en":"This API allows querying the collections of Gallica, the digital library of the Bibliothèque nationale de France (BnF). It enables search across digitized documents such as books, newspapers, manuscripts, images, and maps held in Gallica's holdings. Results returned by a search query can then be further processed using the companion Gallica Document API, which retrieves the actual document content and metadata. The service is maintained by the Bibliothèque nationale de France and requires an access key. It is intended for developers and institutions building applications on top of France's national digitized heritage collections.","native_lang":"fr","access_level":"documented","formats":[],"capability_tier":"sample","trust_score":77.3529411764706,"merged_into_entry_id":null,"identity_key":"API|https://www.data.gouv.fr/dataservices/api-gallica-recherche|api gallica recherche","upstream_ref":null,"content_changed_at":null,"upstream_gone_checks":0,"upstream_gone_since":null,"institution":null,"title_qualifier":null,"access":{"level":"documented","primary":{"kind":"query","label":"Run verified request","method":"GET","url":"https://gallica.bnf.fr","source":"probe","runnable":true},"actions":[{"kind":"query","label":"Run verified request","method":"GET","url":"https://gallica.bnf.fr","source":"probe","runnable":true},{"kind":"spec","label":"OpenAPI spec","method":"GET","url":"https://api.bnf.fr/sites/default/files/2021-02/api-gallica-recherche.yaml","source":"openapi","runnable":false},{"kind":"landing","label":"Read the docs","method":"GET","url":"http://api.bnf.fr/api-gallica-de-recherche","source":"docs","runnable":false},{"kind":"landing","label":"Visit homepage","method":"GET","url":"https://www.data.gouv.fr/dataservices/api-gallica-recherche","source":"homepage","runnable":false}],"formats":[]},"maturity":{"entry_id":"0a6b896e-77bf-4f81-b0f2-2d64bbfcd8aa","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":"profiled","level_index":3,"level_label":"Profiled","meaning":"Schema, dimensions and licence understood","counts_as_coverage":false,"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":false,"reached":false,"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":"90e341c1-ab58-4ccf-8a64-940a03e70433","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":"www.data.gouv.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-11-23T22:21:00.790Z"},"update_schedule":null,"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":"5e023517-7b50-427c-b88f-8e293b15a3da","entry_id":"0a6b896e-77bf-4f81-b0f2-2d64bbfcd8aa","base_url":"https://gallica.bnf.fr","openapi_url":"https://api.bnf.fr/sites/default/files/2021-02/api-gallica-recherche.yaml","graphql_url":null,"api_version":null,"spec_format":"openapi","endpoints_count":null,"endpoints":[],"rate_limit_info":null,"free_tier_limits":null,"ping_url":"https://gallica.bnf.fr","created_at":"2026-06-07T22:08:35.718Z","updated_at":"2026-06-07T22:08:35.718Z"},"dataset_details":null,"license":{"id":"lo-2.0","spdx_id":"etalab-2.0","name":"Licence Ouverte 2.0 (France / Etalab)","url":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","is_open":true,"is_redistributable":true,"requires_attribution":true,"category":"national","notes":null,"created_at":"2026-06-12T16:29:19.729Z"},"reuse":{"license_id":"lo-2.0","license_name":"Licence Ouverte 2.0 (France / Etalab)","license_url":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","commercial_use":{"status":"yes","value":true},"redistribution":{"status":"yes","value":true},"attribution_required":{"status":"yes","value":true},"share_alike":{"status":"no","value":false},"personal_data_warning":{"status":"yes","value":true},"cache_and_mirror":{"status":"yes","value":true},"derivatives":{"status":"yes","value":true},"undetermined":[],"basis":"licence_text","confidence":0.95,"confidence_tier":"high","source_text":"Texte de la licence - le reutilisateur est libre \"de la communiquer, la reproduire, la copier ; de l'adapter, la modifier, l'extraire et la transformer, notamment pour creer des Informations derivees ; de la diffuser, la redistribuer, la publier et la transmettre, de l'exploiter a titre commercial\". Seule obligation : \"mentionner la paternite de l'Information : sa source (a minima le nom du Concedant) et la date de la derniere mise a jour\". Le texte rappelle que le reutilisateur doit respecter \"le cadre legal relatif a la protection des donnees a caractere personnel\". Aucune clause de partage a l'identique n'est imposee.","source_url":"https://github.com/etalab/licence-ouverte/blob/master/LO.md","reviewed_at":null},"license_raw":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","licence":{"licence_id":"lo-2.0","status":"stated","basis":"licence_text","terms":["attribution"],"redistribution":"yes","commercial":"yes","licence_url":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","licence_raw":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","source_url":null,"notice":"licence: lo-2.0 [attribution] — publisher states: “https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf”"},"latest_check":{"id":"853efb16-7bfa-4c73-830b-c52cf01d9238","entry_id":"0a6b896e-77bf-4f81-b0f2-2d64bbfcd8aa","status":"VERIFIED","last_checked_at":"2026-11-23T03:19:15.466Z","p50_latency_ms":1397,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-08T12:43:07.926Z","updated_at":"2026-11-23T03:19:15.466Z","consecutive_successes":51,"probe_url":"https://gallica.bnf.fr","probe_method":"GET","probe_http_status":403,"probe_content_type":"text/html; charset=UTF-8","probe_succeeded_at":"2026-11-23T03:19:15.466Z"},"data_profile":{"id":"71681d5d-0ef0-4dbc-aee3-f6e45c3c6388","entry_id":"0a6b896e-77bf-4f81-b0f2-2d64bbfcd8aa","profile_source":"openapi","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"version","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/SRU","filterable":true,"description":"la version de la norme SRU implémentée (ici 1.2)","enum_values":["1.2"],"description_en":"Version of the SRU protocol implemented (currently 1.2)."},{"name":"operation","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/SRU","filterable":true,"description":"l'opération à  effectuer (ici, searchRetrieve)","enum_values":["searchRetrieve"],"description_en":"The SRU operation to perform, here searchRetrieve."},{"name":"query","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/SRU","filterable":true,"description":"la requête à effectuer pour obtenir les résultats souhaités, écrite en langage CQL (\"Contextual Query Language\", https://www.loc.gov/standards/sru/cql)","description_en":"Search query expressed in CQL (Contextual Query Language)."},{"name":"startRecord","role":"parameter","type":"integer (int64)","label":null,"format":"int64","param_in":"query","container":"/SRU","filterable":true,"description":"l'index du système de pagination, compris entre 1 et le nombre maximal de résultats renvoyés par la requête (information fournie dans le flux XML : balise <srw:numberOfRecords>).","description_en":"Pagination index of the first result to return."},{"name":"maximumRecords","role":"parameter","type":"integer (int64)","label":null,"format":"int64","param_in":"query","container":"/SRU","filterable":true,"description":"le nombre de résultats retournés par le service (compris entre 0 et au maximum 50). Par défaut, si ce paramètre est absent, la valeur est de 15.","description_en":"Number of results to return, from 0 up to 50 (default 15)."},{"name":"collapsing","role":"parameter","type":"boolean","label":null,"param_in":"query","container":"/SRU","filterable":true,"description":"ce paramètre permet d'agréger (valeur \"true\") les résultats dans le cas d'un document multivolume ou d'un périodique. La valeur \"disabled\" permet d'obtenir tous les documents.","description_en":"Whether to group results for multivolume documents or periodicals."},{"name":"SRU","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/services/Categories","filterable":true,"description":"le paramètre SRU est la requête écrite en CQL (voir service searchRetrieve)","description_en":"CQL query parameter used for the searchRetrieve service."}],"field_count":7,"sample_records":null,"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://api.bnf.fr/sites/default/files/2021-02/api-gallica-recherche.yaml","curl":"curl -s 'https://api.bnf.fr/sites/default/files/2021-02/api-gallica-recherche.yaml' -H 'Accept: application/json'","label":"OpenAPI spec","method":"GET","description":"Machine-readable API description (use it to generate clients)."}],"status":"partial","error_message":null,"profiled_at":"2026-11-23T21:54:21.770Z","run_id":"6564bae8-13b1-4c18-a413-bc1e42c83b1b","created_at":"2026-06-12T19:23:06.698Z","updated_at":"2026-11-23T21:54:21.945Z","license_raw":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","license_id":"lo-2.0","consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"fields_with_example_values":2,"example_values_counted_at":"2026-11-23T21:54:21.770Z","previewable":false,"declared_periods":null,"declared_areas":null,"declared_population":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":[],"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":"868006b3e38a42a008fca54dbec7d8b138c4b60b64afa1f75d208b3409bf08fe","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":19,"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: maturity.rungs[] (7 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-11-23T22:22:26.119Z","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."}}