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: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:06cdd3ff4700::06cca0c58bb1a9723735f525aeaa9c6f
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

Compatibility​

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

Relations​

FieldTypeORNOTFacetableExample
organizations.idstring✓✓✓OpenAIRE organization id
communities.idstring✓✓✓communities.id:egi
collected_from.idstring✓✓✓collected_from.id:openaire____::opendoar
collected_from.namestring✓✓—collected_from.name:OpenDOAR

Combined examples​