{"id":"72c4142d-0476-410e-b0f9-0830cae93569","type":"API","name":"API Gallica Document","slug":"api-gallica-document","description":"L’API Document permet d'extraire de la bibliothèque numérique Gallica les informations nécessaires à l'exploitation des documents numériques de la Bibliothèque nationale de France (images, sons, vidéos, documents imprimés et manuscrits, cartes et plans, objets). ### A quoi sert-elle ? L’API Docum…","free_access_class":"FREE_KEY_REQUIRED","auth_type":"API_KEY","homepage_url":"https://www.data.gouv.fr/dataservices/api-gallica-document","docs_url":"http://api.bnf.fr/api-document-de-gallica","repo_url":null,"status":"ACTIVE","verification_state":"STALE","tags":["education","culture","digital"],"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-document","extraction_confidence":"0.40","created_at":"2026-06-07T22:08:35.901Z","updated_at":"2026-08-16T09:25:51.975Z","last_verified_at":"2026-08-13T07:18:32.276Z","deprecated_at":null,"ranking_score":58,"last_ranked_at":"2026-08-08T19:18:56.175Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-08-04T21:03:36.767Z","search_vector":"'a':155B,178B 'access':55B,131B,189B,265B 'allow':78B 'allows':212B 'an':261B 'and':192B,230B,233B,235B,244B 'api':1A,6A,8B,50B,53B,128B,135A,140A,142B,184B,187B,262B 'applic':125B 'applications':259B 'as':223B 'bibliotheque':149B,163B,206B 'bibliothèqu':15B,29B,72B 'bnf':76B,106B,210B,240B 'by':238B 'cart':40B 'cartes':174B 'collect':122B 'collections':256B 'content':59B,193B 'cultur':120B,133C 'cultural':254B 'd':11B,145B 'de':13B,27B,31B,74B,147B,161B,165B,208B 'des':24B,158B 'develop':109B 'developers':243B 'digit':62B,68B,86B,119B,134C 'digital':202B,220B 'digitized':196B,253B 'docum':51B,185B 'document':3A,5A,9B,25B,36B,63B,95B,137A,139A,143B 'documents':159B,170B,197B,229B 'educ':132C 'ell':48B 'elle':182B 'et':38B,41B,172B,175B 'exploit':23B,85B,219B 'exploitation':157B 'extern':124B 'external':258B 'extract':79B 'extraction':213B 'extrair':12B 'extraire':146B 'for':195B,264B 'franc':32B,75B 'france':166B,209B 'gallica':2A,4A,17B,66B,117B,136A,138A,151B,200B,251B 'held':64B,198B 'heritag':121B 'heritage':255B 'imag':33B,90B 'images':167B,224B 'imprimes':171B 'imprimé':37B 'in':199B,257B 'inform':19B,60B,82B 'information':194B,216B 'informations':153B 'institut':111B 'institutions':245B 'integr':114B 'integrate':248B 'it':211B,241B 'key':129B,263B 'l':7B,22B,49B,141B,156B,183B 'la':14B,28B,148B,162B 'les':18B,152B 'librari':69B 'library':203B 'manuscript':97B 'manuscripts':231B 'manuscrit':39B 'manuscrits':173B 'map':98B 'maps':232B 'metadata':57B,191B 'national':30B,73B 'nationale':164B,207B 'necessaires':154B 'need':83B 'needed':217B 'numerique':150B 'numeriques':160B 'numériqu':16B,26B 'nécessair':20B 'object':102B 'objects':236B 'objet':43B 'objets':177B 'of':204B,214B 'or':249B 'permet':10B,144B 'plan':42B,100B 'plans':176B,234B 'print':94B 'printed':228B 'provid':54B 'provides':188B 'publish':103B 'published':237B 'quoi':45B,179B 'record':92B 'recordings':226B 'requir':126B 'requiring':260B 'resourc':87B 'resources':221B 'reus':116B 'reuse':250B 's':252B 'seek':112B 'seeking':246B 'sert':47B,181B 'sert-ell':46B 'sert-elle':180B 'son':34B 'sons':168B 'sound':91B,225B 'such':222B 'support':108B 'supports':242B 'the':201B,205B,215B,239B 'this':186B 'to':190B,218B,247B 'video':93B 'videos':169B,227B 'vidéo':35B 'à':21B","popularity_score":"0.0000","maintenance_score":"0.7000","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.901Z","geographic_scope":"NATIONAL","name_en":"Gallica Document API","description_en":"This API provides access to metadata and content information for digitized documents held in Gallica, the digital library of the Bibliothèque nationale de France (BnF). It allows extraction of the information needed to exploit digital resources such as images, sound recordings, videos, printed documents and manuscripts, maps and plans, and objects. Published by the BnF, it supports developers and institutions seeking to integrate or reuse Gallica's digitized cultural heritage collections in external applications, requiring an API key for access.","native_lang":"fr","access_level":"documented","formats":[],"capability_tier":"sample","trust_score":63.25,"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-document.yml","source":"openapi","runnable":false},{"kind":"landing","label":"Read the docs","method":"GET","url":"http://api.bnf.fr/api-document-de-gallica","source":"docs","runnable":false},{"kind":"landing","label":"Visit homepage","method":"GET","url":"https://www.data.gouv.fr/dataservices/api-gallica-document","source":"homepage","runnable":false}],"formats":[]},"maturity":{"entry_id":"72c4142d-0476-410e-b0f9-0830cae93569","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":"discovered","level_index":1,"level_label":"Discovered","meaning":"Source and metadata recorded","counts_as_coverage":false,"blocked_by":"verified","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":false,"reached":false,"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":false,"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","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match')"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em WHERE em.entry_id = entries.id)"},{"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 'per_item_proven' 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-08-16T13:48:47.175Z"},"api_details":{"id":"a04b5f01-0944-4ca0-8512-48cff9f54333","entry_id":"72c4142d-0476-410e-b0f9-0830cae93569","base_url":"https://gallica.bnf.fr","openapi_url":"https://api.bnf.fr/sites/default/files/2021-02/api-gallica-document.yml","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.933Z","updated_at":"2026-06-07T22:08:35.933Z"},"dataset_details":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},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":"https://gallica.bnf.fr/edit/und/conditions-dutilisation-des-contenus-de-gallica","latest_check":{"id":"653fa554-803a-4a4c-bef4-5d9e7e6e7591","entry_id":"72c4142d-0476-410e-b0f9-0830cae93569","status":"VERIFIED","last_checked_at":"2026-08-13T07:18:32.032Z","p50_latency_ms":3210,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-08T12:43:12.508Z","updated_at":"2026-08-13T07:18:32.032Z","consecutive_successes":10,"probe_url":"https://gallica.bnf.fr","probe_method":"GET","probe_http_status":200,"probe_content_type":"text/html; charset=UTF-8","probe_succeeded_at":"2026-08-13T07:18:32.032Z"},"data_profile":{"id":"44e1c956-3ad1-4fdd-9652-e72f581fbace","entry_id":"72c4142d-0476-410e-b0f9-0830cae93569","profile_source":"openapi","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"ark","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/services/Issues","filterable":true,"description":"l'ark d'un périodique avec le qualificatif /date. Le service renvoie la liste de toutes les années numérisées de ce périodique","description_en":"ARK identifier of a periodical, with the /date qualifier."},{"name":"date","role":"parameter","type":"integer","label":null,"param_in":"query","container":"/services/Issues","filterable":true,"description":"en indiquant une année, le service renvoie tous les numéros publiés dans l'année","description_en":"Year for which to retrieve all issues published."},{"name":"page","role":"parameter","type":"integer","label":null,"param_in":"path","required":true,"container":"/services/ContentSearch","filterable":true,"description":"le numéro d'ordre de la page dans le document numérique. S'il n'est pas fourni, la page d'ouverture du document sera prise (firstDisplayedPage du service Pagination)","description_en":"Sequential page number within the digitized document."},{"name":"qualifier","role":"parameter","type":"string","label":null,"param_in":"path","required":true,"container":"/{ark}/f{page}.{qualifier}","filterable":true,"description":"le format de diffusion choisi, parmi 'thumbnail' correspond à une image dont un coté correspond aux dimensions : 128 * 192 px; 'lowres' : 256 * 384 px ; 'medres' : 512 * 768 px; 'highres' : 1024 * 1536 px","enum_values":["thumbnail","lowres","medres","highres"],"description_en":"Requested image resolution: thumbnail, lowres, medres, or highres."},{"name":"query","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/services/ContentSearch","filterable":true,"description":"mot recherché au sein du document","description_en":"Word or term searched for within the document."},{"name":"startResult","role":"parameter","type":"integer","label":null,"param_in":"query","container":"/services/ContentSearch","filterable":true,"description":"paramètre de pagination des résultats (le nombre maximum d'éléments retournés par le service est 10)","description_en":"Pagination offset for results, up to 10 items per call."},{"name":"O","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/RequestDigitalElement","filterable":true,"description":"l'ark identifiant un document numérique (forme courte)","description_en":"Short-form ARK identifier of a digitized document."},{"name":"E","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/RequestDigitalElement","filterable":true,"description":"ce paramètre doit avoir pour valeur 'ALTO' (https://www.loc.gov/standards/alto/)","description_en":"Format parameter, must be set to 'ALTO'."},{"name":"Deb","role":"parameter","type":"string","label":null,"param_in":"query","required":true,"container":"/RequestDigitalElement","filterable":true,"description":"numéro de la page à extraire","description_en":"Number of the page to extract."}],"field_count":9,"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-document.yml","curl":"curl -s 'https://api.bnf.fr/sites/default/files/2021-02/api-gallica-document.yml' -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-07-22T00:05:24.641Z","run_id":"7eb10998-cdf3-4abf-a99e-7520c5cf1525","created_at":"2026-06-12T19:04:01.590Z","updated_at":"2026-07-22T00:05:24.641Z","license_raw":"https://gallica.bnf.fr/edit/und/conditions-dutilisation-des-contenus-de-gallica","license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"previewable":false},"datasets":[],"limits":[]}