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 fieldscountry:US,communities.id:uarctic
|OR within a fieldcountry:GR|IT
!Negationcountry:!DE
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:openorgs____::d41cf6bd4ab1b1362a44397e0b95c975
pidstring✓✓—pid:https://ror.org/052gg0110

Text search sub-filters​

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

FieldDescriptionExample
legal_name.searchSearch within the legal namelegal_name.search:university
legal_short_name.searchSearch within the legal short namelegal_short_name.search:NKUA
default.searchSearch all default fields (same as top-level search)default.search:athens

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.

Relations​

FieldTypeORNOTFacetableExample
communities.idstring✓✓✓communities.id:uarctic
collected_from.idstring✓—✓collected_from.id:openaire____::openorgs

Combined examples​