Skip to main content

Search

List and search for agendas published and indexed on OpenAgenda

GET /v2/agendas

Parameters​

Filters​

KeyTypeDescriptionValues
officialbooleanFilter by whether agendas are official or notUndefined by default. 0 to filter on non-official agendas, 1 for official ones.
searchstringSyntactic search on the title and key terms of an agenda, derived from published events: geography, keywordsExamples: ?search=Festival or search=Loiret
networkintegerFilter by the identifier of the desired agenda networkExample: ?network=34480426
locationSetintegerFilter by the identifier of the desired location setExample: ?locationSet=3892749
updatedAt.gtetimestampFilter on agendas updated after a given moment. The updatedAt.lte variant is also available.Example: ?updatedAt.gte=2025-07-16T12:19:00.000Z
uidinteger[]Filter on one or more agendas by their unique identifiers.Example: ?uid=123 or ?uid[]=123&uid[]=456
slugstring[]Filter on one or more agendas by their URL slugsExample: ?slug=loiret or slug[]=cite-des-sciences&slug[]=versailles

Content​

KeyVariantTypeDescriptionValues
includeFieldsifstring[]List of fields to retrieve. Useful for limiting the volume of transferred data to what is necessary.uid, title, image, description, official, slug, summary, schema, network, createdAt, locationSet, settings

Pagination​

KeyTypeDescriptionValues
afterinteger[]Key to provide to retrieve the next set. It is given in the response.Example: ?after[]=1&after[]=36668061
sizeintegerNumber of agendas to retrieve per call. Maximum: 100.Example: ?size=20
sortstringSort agendascreatedAt.desc or recentlyAddedEvents.desc. If undefined and a search criterion is set, sorting will be by relevance, otherwise by ascending identifier. The default sort order may change in the future`

Examples​

curl​

curl -H "key: VOTRE_CLE_PUBLIQUE" \
"https://api.openagenda.com/v2/agendas?size=2&official=1"

...gives:

{
"after": [1, 125325],
"agendas": [
{
"uid": 62695,
"image": "https://cdn.openagenda.com/main/agenda62695.jpg",
"description": "Retrouvez tous les événements du patrimoine sur Grand Châtellerault",
"official": true,
"title": "Patrimoine Grand Châtellerault",
"slug": "patrimoine-grand-chatellerault"
},
{
"uid": 125325,
"image": "https://cdn.openagenda.com/main/agenda125325.jpg",
"description": "EPCC pour la connaissance, la valorisation, la conservation et la restauration des patrimoines ethnologique et muséographique en Normandie.",
"official": true,
"title": "La Fabrique de patrimoines en Normandie",
"slug": "fabrique"
}
],
"total": 3886
}

And:

curl -H "key: VOTRE_CLE_PUBLIQUE" \
"https://api.openagenda.com/v2/agendas?size=2&official=1&after[]=1&after[]=125325"

... to retrieve the next set of results.