Skip to main content

Examples

A collection of ready-to-use API calls for data sources. All URLs point to the beta environment:

https://api-beta.openaire.eu/graph/v4/datasources

Top-level parameters​

/v4/datasources?search=zenodo

Offset pagination​

/v4/datasources?filter=country:GR&page=2&page_size=25

Cursor pagination​

/v4/datasources?filter=country:GR&page_size=100&cursor=*

Select (sparse fieldsets)​

/v4/datasources?filter=country:GR&select=id,officialName,type

Facets​

/v4/datasources?search=repository&facets=type,country&page_size=5

Group by​

/v4/datasources?group_by=type

Filter — Identity​

By OpenAIRE id​

/v4/datasources?filter=id:06cdd3ff4700::06cca0c58bb1a9723735f525aeaa9c6f

By PID​

/v4/datasources?filter=pid:re3data_____::r3d100010468

Filter — Names​

By official name​

/v4/datasources?filter=official_name.search:zenodo

By English name​

/v4/datasources?filter=english_name.search:zenodo

Filter — Classification​

By type​

/v4/datasources?filter=type:Repository

By type (NOT)​

/v4/datasources?filter=type:!Journal

By subject​

/v4/datasources?filter=subjects:Multidisciplinary

By content type​

/v4/datasources?filter=content_types:Journal articles

By EOSC data source type​

/v4/datasources?filter=eosc_datasource_type:Repository

By jurisdiction​

/v4/datasources?filter=jurisdiction:Institutional

Thematic data sources​

/v4/datasources?filter=thematic:true

By OpenDOAR language​

/v4/datasources?filter=od_languages:English

Filter — Country​

By country​

/v4/datasources?filter=country:GR

By country (OR)​

/v4/datasources?filter=country:GR|IT|ES

Filter — Compatibility​

By compatibility id​

/v4/datasources?filter=compatibility.id:openaire4.0

By compatibility name​

/v4/datasources?filter=compatibility.name:OpenAIRE 4.0

Filter — Relations​

By organization​

/v4/datasources?filter=organizations.id:openorgs____::d41cf6bd4ab1b1362a44397e0b95c975

By community​

/v4/datasources?filter=communities.id:egi

By collected-from data source​

/v4/datasources?filter=collected_from.id:openaire____::opendoar

By collected-from name​

/v4/datasources?filter=collected_from.name:OpenDOAR

Combined examples​

Greek repositories​

/v4/datasources?filter=type:Repository,country:GR

Thematic, OpenAIRE 4.0 compatible​

/v4/datasources?filter=thematic:true,compatibility.id:openaire4.0

Repositories by country​

/v4/datasources?filter=type:Repository&group_by=country