API Documentation
← API overview

Papers

3 endpoints · every section below is generated from the API catalog

GET/api/v1/papers

Search

Available on FreeFull reference →

Returns a paginated list of papers, either browsed by publication date or matched against a text query. Call it to find papers by keyword, boolean expression, category, or date window. Combining a search with any sort other than relevance returns HTTP 400; invalid query parameters also return 400, and unexpected failures return 500.

Rate limit: papersApiCallsPerDay · Free plan: 10/day

Parameters

ParameterTypeRequiredDescription
searchstringNoFree-text phrase to match against papers.
boolean_searchstringNoBoolean query expression; when supplied it takes precedence over search.
categorystringNoCategory to restrict results to.
date_fromstringNoStart of the publication date window, as an ISO date (YYYY-MM-DD).
date_tostringNoEnd of the publication date window, as an ISO date (YYYY-MM-DD).
pagenumberNoMin 1; default 1 (min 1; default 1)
Range: 1 to ∞
limitnumberNoRange 1-100; default 20 (range 1-100; default 20)
Range: 1 to 100
sortstringNoResult ordering; relevance is only valid together with a search.
Allowed values: published_date, relevance
orderstringNoDefault desc (default desc)
Allowed values: asc, desc

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/papers"
GET/api/v1/papers/detail

Detail

Available on FreeFull reference →

Returns a single paper record identified by DOI, arXiv/OSF-prefixed id, sanitized key, or PMID. Call it when you already have one paper identifier and need its full record. Returns 404 if no paper matches, 400 for an invalid query, and 500 on an internal failure.

Rate limit: papersApiCallsPerDay · Free plan: 10/day

Parameters

ParameterTypeRequiredDescription
doistringYesminimum length 1

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/papers/detail?doi=your_doi"
GET/api/v1/papers/sample

Sample

Available on FreeFull reference →

Returns a preview list of the five most recently published papers, ordered newest first, along with a sample size and a note. Call it to show a quick recent-papers preview without specifying any filters. Fails with 500 if the request cannot be completed, or with a not-ready response when the service is unavailable.

Rate limit: papersApiCallsPerDay · Free plan: 10/day

Parameters

No parameters.

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/papers/sample"