Skip to main content
Version: Next

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
idstringid:06cdd3ff4700::06cca0c58bb1a9723735f525aeaa9c6f
pidstringpid: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
typestringtype:Repository — see the dnet:datasource_typologies vocabulary
subjectsstringsubjects:Multidisciplinary
content_typesstringcontent_types:Journal articles
eosc_datasource_typestringeosc_datasource_type:Repository
jurisdictionstringjurisdiction:Institutional
thematicbooleanthematic:true
od_languagesstringod_languages:English

Country

FieldTypeORNOTFacetableExample
countrystringcountry:GR|IT

Compatibility

FieldTypeORNOTFacetableExample
compatibility.idstringcompatibility.id:openaire4.0
compatibility.namestringcompatibility.name:OpenAIRE 4.0

Relations

FieldTypeORNOTFacetableExample
organizations.idstringOpenAIRE organization id
communities.idstringcommunities.id:egi
collected_from.idstringcollected_from.id:openaire____::opendoar
collected_from.namestringcollected_from.name:OpenDOAR

Combined examples