Skip to content
Webfold Docs
Esc
↑↓navigate↵open⌘Jpreview

Search arXiv

Query the arXiv Atom API and return a list of matching papers.

POST/v1/arxiv/search
Authorization
AuthorizationBearer token (JWT) · headerrequired

Bearer API key issued for your account. Send Authorization: Bearer <key>.

Request body
requiredapplication/json
qstringrequired

arXiv search query

ninteger

Maximum number of results (1-50, default 10)

default: 10
fromstring

Start date in YYYY-MM-DD format

tostring

End date in YYYY-MM-DD format

catsstring[]

arXiv categories to filter by

default: []
sortstring

Sort order: relevance or date

default: "relevance"
Allowed:relevancedate
Responses
200

List of papers

Array of ArxivPaper
idstringrequired
titlestringrequired
authorsstring[]required
abstract_textstringrequired
categoriesstring[]required
publishedstring<date-time>required
urlstring<uri>required
400

Bad request

string
401

Missing or invalid bearer token

string
403

Billing or plan entitlement blocked the request

string
502

Upstream service (arXiv, YouTube, web page) failed

string
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://api.webfold.ai/v1/arxiv/search' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "q": "attention is all you need",
  "n": 10,
  "from": "2020-01-01",
  "to": "2020-12-31",
  "cats": [
    "cs.AI",
    "cs.LG"
  ],
  "sort": "relevance"
}'
Response
[
  {
    "id": "1706.03762",
    "title": "Attention Is All You Need",
    "authors": [
      "Ashish Vaswani",
      "Noam Shazeer"
    ],
    "abstract_text": "The dominant sequence transduction models...",
    "categories": [
      "cs.CL",
      "cs.LG"
    ],
    "published": "2017-06-12T00:00:00Z",
    "url": "https://arxiv.org/abs/1706.03762"
  }
]