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 fieldsfunder_short_name:EC,country:GR
|OR within a fieldfunder_short_name:EC|NIH
!Negationcountry:!DE
>Greater than (years)start_year:>2022
<Less than (years)end_year:<2026
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, a range, or an OR-list.

Filter fields​

Identity​

FieldTypeORNOTFacetableExample
idstring✓✓—id:100007490___::1e5e62235d094afd01cd56e65112fc63
codestring✓✓—code:101000360
acronymstring✓✓—acronym:OpenAIRE
call_identifierstring✓✓✓call_identifier:H2020-INFRAEOSC-2018-2

Text search sub-filters​

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

FieldDescriptionExample
title.searchSearch within the project titletitle.search:open science
keywords.searchSearch within the project keywordskeywords.search:infrastructure
default.searchSearch all default fields (same as top-level search)default.search:climate

Funding​

FieldTypeORNOTFacetableExample
funderstring✓✓✓funder:European Commission
funder_short_namestring✓✓✓funder_short_name:EC|NIH
funding_stream_idstring✓✓—funding_stream_id:H2020
funding_level_0_idstring✓✓—funding_level_0_id:ec__________::EC::FP7
funding_level_1_idstring✓✓—funding_level_1_id:ec__________::EC::FP7::SP1
funding_level_2_idstring✓✓—funding_level_2_id:ec__________::EC::FP7::SP1::HEALTH

Country​

FieldTypeORNOTFacetableExample
countrystring✓✓✓country:GR|IT

Open Access mandate​

FieldTypeORNOTFacetableExample
oa_mandate_publicationsboolean—✓✓oa_mandate_publications:true

Dates and years​

Date ranges use from_/to_ prefix pairs; year fields accept an exact value or an open-ended range with > / <.

FieldTypeFormatDescription
from_start_datedateYYYY or YYYY-MM-DDStart date >= value
to_start_datedateYYYY or YYYY-MM-DDStart date <= value
from_end_datedateYYYY or YYYY-MM-DDEnd date >= value
to_end_datedateYYYY or YYYY-MM-DDEnd date <= value
start_yearintYYYYExact start year; supports > / < (facetable)
end_yearintYYYYExact end year; supports > / < (facetable)
active_yearintYYYYProjects active in the given year (started on/before and ending on/after)

Relations​

FieldTypeORNOTFacetableExample
organizations.idstring✓✓✓OpenAIRE organization id
organizations.namestring✓✓—organizations.name:University of Athens
organizations.countrystring✓✓✓organizations.country:GR
communities.idstring✓✓✓communities.id:egi
collected_from.idstring✓✓✓collected_from.id:openaire____::corda

Combined examples​