SHARE API

Free to Use
70 B
Measured Score 0 50 100 Speed 15/30 Consistency 17/20 Security 20/20 Browser access 10/15 Transparency 8/15 TESTED 2026-08-10

Overview

SHARE is an open dataset API that aggregates metadata from hundreds of research repositories and academic publishers worldwide. You can search and retrieve information about scholarly works, authors, funding, and more without any authentication. It is ideal for building research discovery tools or analyzing academic output trends.

Beginner Tip

Use the search endpoint with a simple keyword in the q parameter to quickly find research papers; add filters like source or date to narrow results. The API follows the JSON API specification, so responses come back in a consistent nested structure.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://share.osf.io/api/v2/sources/
Result
HTTP 200 · application/vnd.api+json · 3,332 bytes · compressed
Response time
251 ms (median of 3) · fastest 236 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Let's Encrypt
Browser CORS
Allowed — Access-Control-Allow-Origin: https://apisscore.com
Served by
nginx
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
type string Source
id string 1
attributes object {1 fields}
relationships object {1 fields}
links object {1 fields}

Captured Response

Captured from a real request to https://share.osf.io/api/v2/sources/ on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "links": {
    "next": "https://share.osf.io/api/v2/sources/?page%5Bcursor%5D=cD0xMA%3D%3D",
    "prev": null
  },
  "data": [
    {
      "type": "Source",
      "id": "1",
      "attributes": {
        "…": "(3 more fields)"
      },
      "relationships": {
        "…": "(1 more fields)"
      },
      "links": {
        "…": "(1 more fields)"
      }
    }
  ]
}

Field Reference

data List of creative work objects matching the search query.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://share.osf.io/api/v2/creativeworks/?q=climate+change&page[size]=5";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 400 Requesting a path that does not exist application/vnd.api+json
{
  "errors": [
    {
      "detail": "Invalid ID",
      "status": "400",
      "source": {
        "pointer": "/data"
      },
      "code": "invalid"
    }
  ]
}

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

Empty results array The query string may be too specific or use Boolean operators incorrectly.
Start with broad single-word queries and progressively add filters; use AND/OR operators in the q parameter as needed.
400 Bad Request on filter Invalid filter field names or values cause the API to reject the request.
Refer to the SHARE API documentation for the exact field names before adding filter[] parameters.
Slow response times Complex full-text searches across millions of records naturally take longer.
Add page[size] to limit results to 5-10 per page, and use cursor-based pagination for iterating through large result sets.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 15/30
Consistency 17/20
Security 20/20
Browser access 10/15
Transparency 8/15
Endpoint Response Time 251ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS NO
Category Science & Math
Difficulty Beginner
Endpoint last called: 2026-08-10

Similar APIs

View All →