Scholarly Works Search
Search 250M+ scholarly works (papers, books, datasets) with citations, authors and open-access links.
live openalex.works $0.0008 per request ($0.80 per 1,000)
Pricing
$0.0008 per request ($0.80 per 1,000), paid from a prepaid USD wallet. The exact amount is on every response as cost_usd; max_cost_usd refuses anything higher; failed calls are refunded.
1,000 requests = $0.80 · 10,000 = $8.00 · 100,000 = $80.00
Run it
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}'
from getallapis_client import Client
client = Client() # reads GETALLAPIS_API_KEY
result = client.run('openalex.works', {'query': 'retrieval augmented generation', 'limit': 5})
print(result['cost_usd'], result['output'])
getallapis run openalex.works '{"query":"retrieval augmented generation","limit":5}'
Quote first, free: POST /v1/quote/openalex.works with the same body. MCP: run_endpoint with endpoint="openalex.works".
Input
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
query | string | yes | | |
from_year | integer | null | no | null | |
open_access_only | boolean | no | false | |
sort | string | no | "relevance" | |
limit | integer | no | 25 |
Output
Returned in output of the run envelope (ok, request_id, endpoint, status, cost_usd, items, latency_ms, source, output).
| Field | Meaning |
|---|---|
results | Title, DOI, year, citations, authors, venue, OA link. |
Source and latency
OpenAlex (open data). CC0 data; 100k requests/day polite pool. One upstream per endpoint; no automatic failover.
Not enough calls measured yet.