Organization

Read a library's public profile, its languages and modules, and its opening calendar.

Every integration starts from an organization, identified by its slug. Its public profile tells you how to present it and what else you can ask for.

Read the profile

Shell
curl https://api.loupe.ch/api/public/organizations/riveville
JSON
{  "id": "0198…",  "name": "Bibliothèque de Riveville",  "slug": "riveville",  "logo": "https://…/logo.svg",  "locales": ["fr", "de", "en"],  "defaultLocale": "fr",  "modules": ["site", "events", "bookables", "map", "ils"],  "maps": [ … ],  "profile": { … }}

Use locales to know which languages you can request with ?locale=, and modules to know which parts of the API are active: site, events, bookables, messages, map, affluence, ils (catalogue), search and analytics. An endpoint of a module that is not enabled answers 403.

Opening calendar

Shell
curl "https://api.loupe.ch/api/public/organizations/riveville/opening-calendar?from=2026-10-12&to=2026-10-18"

Dates are local days (YYYY-MM-DD) in the library's time zone. The calendar includes exceptional closures, so prefer it to hard-coding opening hours on another site.