Crossref Metadata Search API

Beginner's Pick Books / No Auth Required Beginner HTTPS
Free to Use 3 per window
83 A
Measured Score 0 50 100 Speed 13/30 Consistency 20/20 Security 20/20 Browser access 15/15 Transparency 15/15 TESTED 2026-08-10

Overview

Crossref Metadata Search provides free REST access to bibliographic metadata for over 140 million scholarly articles, books, and conference papers indexed by DOI. Use it to look up citation data, author info, and publication details.

Beginner Tip

No API key is required, but adding your email as a query param ([email protected]) puts you in a higher-rate polite pool with faster responses. Use https://api.crossref.org as the base URL, not the GitHub docs link.

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://api.crossref.org/works?query=machine+learning&rows=5&[email protected]
Result
HTTP 200 · application/json · 13,399 bytes · compressed
Response time
284 ms (median of 3) · fastest 278 ms
Transport
TLSv1.3 · TLS_AES_128_GCM_SHA256 · certificate issued by Amazon
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Rate limit
3 per window
Served by
Jetty(9.4.40.v20210413)
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
status string ok
message-type string work-list
message-version string 1.0.0
message object {5 fields}

Captured Response

Captured from a real request to https://api.crossref.org/works?query=machine+learning&rows=5&[email protected] on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "status": "ok",
  "message-type": "work-list",
  "message-version": "1.0.0",
  "message": {
    "facets": {},
    "total-results": 2964471,
    "items": [
      {
        "…": "(29 more fields)"
      }
    ],
    "items-per-page": 5,
    "query": {
      "start-index": 0,
      "search-terms": "machine learning"
    }
  }
}

Field Reference

status Always ok on success; indicates the API processed the request without errors

Implementation Example

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

Request
const url = "https://api.crossref.org/works?query=machine+learning&rows=5&[email protected]";
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/json
{
  "status": "failed",
  "message-type": "validation-failure",
  "message": [
    {
      "type": "parameter-not-allowed",
      "value": "rows",
      "message": "This route does not support rows"
    },
    {
      "type": "parameter-not-allowed",
      "value": "query",
      "message": "This route does not support query"
    }
  ]
}

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.

429 Too Many Requests Hitting the anonymous rate limit without identifying yourself
Add '&[email protected]' to your query string to join the polite pool with a much higher rate limit
Empty items array Search query has no matching results or contains special characters that break the query
URL-encode your query string; test with a known DOI like /works/10.1037/0003-066X.59.1.29 to confirm connectivity
Slow response on broad queries Large result sets without pagination filters
Always add 'rows=10' and 'offset=0' query parameters to paginate and limit response size

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 13/30
Consistency 20/20
Security 20/20
Browser access 15/15
Transparency 15/15
Endpoint Response Time 284ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Books
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Alternatives to Crossref Metadata Search

Technical alternatives for different use cases.

Academic publication metadata with DOI resolution

Better For

Consumer book search and reviews

Trade-off

Academic papers, journals, and citation data

Similar APIs

View All →