API
Accessing OA.Report’s data
Our API allows you to search, use, and download data about research works. It's a RESTful JSON API powered by Elasticsearch.
Get a single work
GET
https://api.oa.works/report/works/{doi}
e.g api.oa.works/report/works/10.1038/d41586-023-00175-1
Get a list of works
GET
https://api.oa.works/report/works/
Path Parameters
Name | Type | Description |
---|---|---|
terms/{key} | String | lists number of occurances of each string in the provided key |
count | String | shortcut to provide only the count of a queries response |
sum/{key} | String | adds all the values in the provided key |
/keys | String | lists all available keys |
Query Parameters
Name | Type | Description |
---|---|---|
sort | String | Comma-separated list of keys you want your list sorted by. The list is sorted by the order the keys are provided. Prepending |
q | String | Allows you to filter results as desired. Your query (q) supports all elastic search terms such as AND, OR, NOT, brackets and wildcards (*). |
size | String | The number of items to return Default: 10 Limit: 10,000 |
includes | String | Comma-separated list of keys you want in your response. Default: all |
from | Number | Where to start returning results from. Default: 0 Limit: 10,000 |
exclude | String | Comma-separated list of keys you don't want in your response. Default: none |
Get a CSV of works
GET
https://api.oa.works/report/works.csv
Supports all the parameters provided in #get-list-of-works
Query Parameters
Name | Type | Description |
---|---|---|
email* | String | Comma-separated list of emails you want to send a download link to your CSV |
size | String | Default: 10 Format: number, or |
Get a list of organizations
GET
https://api.oa.works/report/orgs
Supports all the parameters provided in #get-list-of-works
Last updated