OpenAlex API
1 live OpenAlex endpoint, $0.0008 per call, one API key. No OpenAlex credentials needed.
Scholarly works (papers, books, datasets) with citations, authors and open-access links, from OpenAlex. Data is CC0.
OpenAlex endpoints
| Endpoint | What it returns | Price |
|---|---|---|
| Scholarly Works Search openalex.works | Search 250M+ scholarly works (papers, books, datasets) with citations, authors and open-access links. | $0.0008 per request ($0.80 per 1,000) |
What people use it for
- Find papers on a topic for a literature review
- Get citation counts and DOIs
- Give a research agent a scholarly search tool
Quick start
Create a key, then call any endpoint with POST /v1/run/<endpoint>. Example with Scholarly Works Search:
curl
curl -s -X POST https://getallapis.com/v1/run/openalex.works \
-H "Authorization: Bearer $GETALLAPIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"retrieval augmented generation","limit":5}'JavaScript
const res = await fetch("https://getallapis.com/v1/run/openalex.works", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.GETALLAPIS_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"query": "retrieval augmented generation", "limit": 5}),
});
const data = await res.json();
console.log(data.cost_usd, data.output);
For agents: OpenAlex MCP server. Compared with going direct: OpenAlex API direct vs GetAllAPIs.
Get an API key. New API keys come with $0.10 of free credit, no card required (limited to 2 keys per network every 30 days). That covers about 125 requests of openalex.works. Then add credits (packs from $10). No subscription; failed calls are refunded.
FAQ
How much does the OpenAlex API cost on GetAllAPIs?
1 endpoint at $0.0008 per call, from one prepaid wallet. Every price is on the endpoint's page and in /v1/catalog.
Do I need a OpenAlex account or key?
No. You use one GetAllAPIs key for every endpoint. Direct access: No key; a polite pool of about 100,000 requests a day when you send a contact e-mail.
What is different from calling the upstream directly?
One key and wallet for all providers, one response envelope with cost_usd, refunds on upstream failures and an MCP server. Direct access is free; see the comparison.