# arXiv Search Papers API

> Full-text search over arXiv papers using keyword, author, title, and category filters combined with AND logic.

Source: https://www.sandbase.ai/apis/arxiv/search-papers
API reference: https://www.sandbase.ai/apis/arxiv/search-papers#api

## Facts

- Provider: arXiv
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/arxiv/search-papers`
- Price: $0.03 per call
- Capabilities: api, arxiv, research, papers
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/arxiv/search-papers` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | no |  |
| `start` | integer | no |  |
| `title` | string | no |  |
| `author` | string | no |  |
| `sort_by` | string | no | lastUpdatedDate, relevance, submittedDate |
| `category` | string | no |  |
| `sort_order` | string | no | descending, ascending |
| `max_results` | integer | no |  |

## FAQ

### How do I use the arXiv Search Papers API?

Send a POST request to https://api.sandbase.ai/v1/api/arxiv/search-papers with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the arXiv Search Papers API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the arXiv Search Papers API accept?

No parameters are required. Optional: query (string), start (integer), title (string), author (string), sort_by (one of lastUpdatedDate, relevance, submittedDate) and category (string) and 2 more. The Parameters table and the Playground on this page list every field.

### What does the arXiv Search Papers API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a arXiv developer account or API key?

No. arXiv Search Papers runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for arXiv API access separately.

## README

### arXiv Search Papers API

Full-text search over arXiv papers using keyword, author, title, and category filters combined with AND logic.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "arxiv/search-papers", "query": "neural network", "start": 0, "title": "", "author": "", "sort_by": "lastUpdatedDate", "category": "", "sort_order": "descending", "max_results": 5}'
```

The result is returned in `outputs[0].data`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `author` | string | No | Author name to search for |
| `category` | string | No | arXiv category code (e.g., cs.AI, math.CO, hep-th) |
| `max_results` | integer | No | Maximum number of results to return (max 100) |
| `query` | string | No | General keyword search across all fields |
| `sort_by` | string | No | Sort field for results One of: `lastUpdatedDate`, `relevance`, `submittedDate`. |
| `sort_order` | string | No | Sort direction for results One of: `descending`, `ascending`. |
| `start` | integer | No | Starting index for pagination (0-based) |
| `title` | string | No | Title keywords to search for |

#### Pricing

Flat $0.03 per call. Failed calls are not charged.
