Skip to main content

Filter syntax

The filter parameter uses a compact field:value grammar that replaces the individual query parameters of previous API versions.

Operators​

OperatorMeaningExample
,AND across fieldstype:Institutional Repository,country:GR
|OR within a fieldcountry:GR|IT
!Negationtype:!Journal
note

Filters are combined with AND (comma). Within a single field, use pipe (|) for OR. These cannot be mixed — each field entry is either a single value, a negation, or an OR-list.

Filter fields​

Identity​

FieldTypeORNOTFacetableExample
idstring✓✓—id:eosc________::4ea7143d33465aa83b3f3e00963c16b7
pidstring✓✓—pid:re3data_____::r3d100010468

Text search sub-filters​

These fields allow targeted text searches within specific parts of the data source. They are used inside the filter parameter, unlike the top-level search parameter which searches across all default fields.

FieldDescriptionExample
official_name.searchSearch within the official nameofficial_name.search:zenodo
english_name.searchSearch within the English nameenglish_name.search:zenodo
default.searchSearch all default fields (same as top-level search)default.search:repository

Classification​

FieldTypeORNOTFacetableExample
typestring✓✓✓type:Repository — see the dnet:datasource_typologies vocabulary
subjectsstring✓✓✓subjects:Multidisciplinary
content_typesstring✓✓✓content_types:Journal articles
eosc_datasource_typestring✓✓✓eosc_datasource_type:Repository
jurisdictionstring✓✓✓jurisdiction:Institutional
thematicboolean—✓✓thematic:true
od_languagesstring✓✓✓od_languages:English

Country​

FieldTypeORNOTFacetableExample
countrystring✓✓✓country:GR|IT
continentenum✓✓—continent:europe
is_global_southboolean—✓—is_global_south:true

continent accepts africa, antarctica, asia, europe, north_america, oceania or south_america; an unknown name is rejected with a 400 listing the valid ones. Both fields expand server-side into the matching ISO country codes — drawn from the UN Statistics Division M49 classification and the UN Finance Center for South-South Cooperation respectively — so they are not facetable.

note

A single field accepts at most 50 pipe-separated values; beyond that the request is rejected with a 400 naming the field. Server-side expansion such as continent:europe does not count toward that limit.

Compatibility​

FieldTypeORNOTFacetableExample
compatibility.idstring✓✓✓compatibility.id:openaire4.0
compatibility.namestring✓✓✓compatibility.name:OpenAIRE PubRepos v4.0

Relations​

FieldTypeORNOTFacetableExample
organizations.idstring✓✓✓OpenAIRE organization id
communities.idstring✓✓✓communities.id:neuroscience
collected_from.idstring✓✓✓collected_from.id:openaire____::47ce9e9f4fad46e732cff06419ecaabb
collected_from.namestring✓✓—collected_from.name:OpenDOAR

Combined examples​