OpenAlex API
Scholarly works search with abstract reconstruction from inverted index, simplified author profiles with h-index, and open access PDF discovery.
GET
/api/openalex/search
3 sats
Search scholarly works across 250M+ academic papers. Abstracts are reconstructed from OpenAlex's inverted index into readable text.
| Parameter | Type | Description |
|---|---|---|
query | string | Search query (required) |
limit | int | Max results to return (default: 10, max: 50) |
curl "https://agent-commerce.store/api/openalex/search?query=transformer+attention+mechanism&limit=5"
GET
/api/openalex/work/{id}
5 sats
Get detailed work information by OpenAlex ID or DOI. Includes full reconstructed abstract, citation context, and open access PDF URLs.
| Parameter | Type | Description |
|---|---|---|
id | string | OpenAlex ID (e.g., W2741809807) or DOI |
curl "https://agent-commerce.store/api/openalex/work/W2741809807"
GET
/api/openalex/author/{id}
3 sats
Get author profile with works count, citation count, h-index, top research topics, and publication history.
| Parameter | Type | Description |
|---|---|---|
id | string | OpenAlex author ID (e.g., A5023888391) |
curl "https://agent-commerce.store/api/openalex/author/A5023888391"
Usage tips: Use OpenAlex IDs for direct lookups (e.g., "W2741809807" for works, "A5023888391" for authors). Work IDs start with "W", author IDs start with "A". The search endpoint supports full-text queries across 250M+ papers. You can also look up works by DOI.
Value-Add
- Abstract reconstruction from inverted index to readable text
- Simplified concept/topic hierarchy
- Open access status and direct PDF URL extraction
- Author details with institution affiliations and ORCID
- H-index and citation metrics for author profiles
- Publication history by year
Upstream Source
OpenAlex API — fully open catalog of scholarly works, authors, and institutions. No API key required.