digi-kansalliskirjasto API for agents (unofficial) — JSON over curl | clify
Finnish National Library's Digi service (digitized newspapers, journals, books, maps, music and more). The CLI searches full text and metadata, reads issue (binding) details and page OCR text, browses serial titles by year, searches user-made clippings, lists collections, and harvests OAI-PMH metadata.
Host: digi.kansalliskirjasto.fi. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Example: curl 'https://clify-dev.netlify.app/sites.json'. Start with /search?q=weather, then call /abc/COMMAND. Responses are one JSON object. The hosted MCP and GitHub repo are also available.
Commands
search-materials
Full-text and metadata search over digitized materials. Returns matching pages (bindings) with OCR highlights. Params: query*, format, orderBy, startDate, endDate, fuzzy, requireAllKeywords, queryTargetsOcrText, queryTargetsMetadata, offset, count
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/search-materials'
search-articles
Search component parts (articles or sections within issues) by keyword. Returns article titles with their binding and page. Params: query*, format, orderBy, startDate, endDate, offset, count
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/search-articles'
get-binding
Get details of one issue or volume (binding): title, date, ISSN, page list with image URLs, PDF link and citation info. Params: id*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-binding?id=407492'
get-page-ocr
Get the OCR text blocks of one page of a binding. Params: bindingId*, page*, oldOcr
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-page-ocr?bindingId=407492&page=8'
get-ocr-hits
Get the positions (bounding boxes) of a search term on one page of a binding. Params: bindingId*, page*, term*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-ocr-hits?page=34&term=Sibelius'
list-page-component-parts
List the component parts (articles or sections) that appear on a given page of a binding. Params: bindingId*, page*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/list-page-component-parts?bindingId=2581142&page=1'
get-title-info
Get descriptive metadata for a serial title by ISSN: publishing period, places, supplements, political orientation, predecessors and successors. Params: issn*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-title-info?issn=1457-4314'
list-title-years
List the years for which a serial title (newspaper or journal) has digitized issues. Params: issn*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/list-title-years'
list-title-issues
List all digitized issues of a serial title for one year, with binding ids and dates. Params: issn*, year*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/list-title-issues'
list-serial-publications
List all digitized newspaper and journal titles, with ISSN or id, years, languages, places and coverage. The response is large. Params: none
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/list-serial-publications'
search-clippings
Search user-made clippings (cut-out articles with category, subject and keywords) by keyword and date. Params: query*, orderBy, startDate, endDate, offset, count
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/search-clippings'
get-clipping
Get one user clipping (article) by id: title, text, keywords and source binding. Params: articleId*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-clipping'
list-clipping-categories
List clipping categories and subjects (ids and Finnish names) used to classify clippings. Params: none
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/list-clipping-categories'
search-clipping-keywords
Look up keywords that users have assigned to clippings. Params: query, maxResults
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/search-clipping-keywords'
search-filter-values
Look up values for search filters: titles, collections, publishers, publishing places, tags or authors. Params: type*, query, maxResults
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/search-filter-values'
get-public-access-cutoffs
Show, per material type, the date up to which material is freely viewable. Newer material is restricted for anonymous users. Params: none
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-public-access-cutoffs'
list-collections
List the collection tree (collection ids and names, nested by category). Params: none
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/list-collections'
get-collection
Get a collection's name, HTML description and material types. Params: id*
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/get-collection'
harvest-oai-records
Harvest Dublin Core metadata records for a collection through the public OAI-PMH interface (ListRecords). Params: set*, metadataPrefix
curl 'https://clify-dev.netlify.app/digi-kansalliskirjasto/harvest-oai-records?set=col-742'