# arXiv Search

Preprint search over arXiv's own API — title, abstract, authors, both timestamps, and subject categories for every matching paper.

- Method: `GET`
- Path: `/v1/papers/arxiv`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `q` | string | required | The query, matched against title, abstract, and authors. |
| `limit` | integer | optional | Papers per page, `1`-`50`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/papers/arxiv \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "query": "indonesia earthquake",
    "total": 3130,
    "items": [
      {
        "id": "http://arxiv.org/abs/1308.1846v1",
        "title": "Developing and Testing the Automated Post-Event Earthquake Loss Estimation and Visualisation (APE-ELEV) Technique",
        "summary": "An automated, real-time, multiple sensor data source relying and globally applicable earthquake loss model and visualiser is desirable for post-event earthquake analysis. To achieve this there is a need to support rapid data ingestion, loss estimation and integration of data from multiple data sources.",
        "authors": ["Anthony Astoul", "Christopher Filliter", "Eric Mason", "Andrew Rau-Chaplin", "Kunal Shridhar", "Blesson Varghese", "Naman Varshney"],
        "published": "2013-08-08T13:30:15Z",
        "updated": "2013-08-08T13:30:15Z",
        "categories": ["cs.CY", "physics.geo-ph"],
        "doi": null,
        "link": "https://arxiv.org/abs/1308.1846v1"
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-20T04:05:00.000Z",
    "age_seconds": 3600,
    "next_update_at": "2026-08-20T05:05:00.000Z"
  }
}
```