x402

arXiv Search (x402)

Search arXiv preprints by keyword with optional category filter: title, abstract, authors, dates, categories, DOI and PDF link, sorted by relevance or date.

post/x402/v2/arxiv-search

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/arxiv-search
  • Auth: none required

Request body

sortstring

relevance (default), date (newest submitted first) or updated (most recently revised first)

limitinteger

Results to return, 1-25. Default: 10

querystring required

Free-text search across title, abstract and authors. At least 2 characters.

categorystring

Restrict to an arXiv category such as cs.CL, stat.ML or astro-ph.GA

Response

Success

querystring
returnednumber
total_resultsnumber

Example response

{
  "query": "transformer attention",
  "papers": [
    {
      "doi": null,
      "title": "Dilated Neighborhood Attention Transformer",
      "abs_url": "http://arxiv.org/abs/2209.15001v3",
      "authors": [
        "Ali Hassani"
      ],
      "pdf_url": "https://arxiv.org/pdf/2209.15001v3",
      "summary": "Transformers are quickly becoming one of the most heavily applied deep learning architectures...",
      "updated": "2023-01-16T18:58:58Z",
      "version": 3,
      "arxiv_id": "2209.15001",
      "published": "2022-09-29T17:57:08Z",
      "categories": [
        "cs.CV"
      ],
      "primary_category": "cs.CV"
    }
  ],
  "category": null,
  "returned": 1,
  "total_results": 258539
}

Changes

No recorded changes to this operation across all 1 revision of this API.