Filter scholarly works via the OpenAlex Works API

domain: api.openalex.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Send a GET request to https://api.openalex.org/works with a filter parameter built from comma-separated field:value pairs (e.g. filter=authorships.author.id:A123,publication_year:2020)
  2. Include an api_key (or the account-linked authentication now required by OpenAlex) rather than relying on the deprecated mailto-based polite pool
  3. Use up to 50 values per individual filter field, joining alternatives with pipe (|) syntax where the API supports OR-within-field
  4. Page through results using the page and per-page parameters, or use cursor-based paging (cursor=*) for large result sets
  5. Use the select parameter to limit which fields are returned per work, reducing payload size
  6. Check the response's meta.count to determine total matching works before deciding on a paging strategy

Known gotchas

Related routes

Search Open Library's book catalog with the Search API
openlibrary.org · 5 steps · unrated
Look up scholarly works by DOI or query via the Crossref REST API using the polite pool
api.crossref.org · 6 steps · unrated
Retrieve and search scholarly work metadata (DOIs) with the Crossref REST API
api.crossref.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans