# arXiv Paper Search API

Search arXiv papers via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Treg, pass parameters such as limit, query, sort, and retrieve structured data including paper title, author names, publication timestamp, and primary category to build a reading shortlist, monitor new research, and prepare evidence for a briefing.

Documentation: https://openany.si/arxiv/search-arxiv-paper-metadata/
API ID: 50aff158-c308-48f1-9e00-c6f5da96051b
Provider: treg
Contract revision: 3
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/treg/call/crawl4ai.research.search.papers
Page update time: 2026-12-03T01:54:36.739Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T01:54:36.739Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## arXiv Paper Search API

Send query with an optional category, relevance or date sort, and a limit of up to 100 papers. Each row contains paper metadata, source/PDF links and an abstract excerpt capped at 500 characters.

## What You Can Build with the arXiv Paper Search API

- **Build a reading shortlist**: Search a focused topic and keep titles, authors and source links.
- **Monitor new research**: Repeat date-sorted queries in your scheduler and deduplicate source URLs.
- **Prepare evidence for a briefing**: Use excerpts to select papers for a separate full-text review.

Pass returned records to a downstream Agent for organization, comparison or reporting; additional data retrieval is a separate operation.

## arXiv Paper Search API Returned Data Fields & Response Coverage

The payload is metadata and links, not downloaded PDF files or complete paper text. Abstracts are deliberately capped at 500 characters; source/PDF links may be present.

| Field | Meaning |
| --- | --- |
| `rows[].title` | Paper title |
| `rows[].authors` | Author names |
| `rows[].abstract` | Abstract excerpt, up to 500 characters |
| `rows[].published` | Publication timestamp |
| `rows[].category` | Primary category |
| `rows[].pdf` | PDF link, not file contents |

## Quick Start: Call the arXiv Paper Search API via REST

1. Configure OPENANY\_API\_KEY securely in your local environment and select TREG.
2. The example requests one relevance-sorted paper about rust memory safety; change query, category or limit for your task.
3. Check Selected price before running the command; execution sends a real request under the current contract.

```
curl --request POST \
  "https://api.openany.si/v1/agent-apis/treg/call/crawl4ai.research.search.papers" \
  --header "Authorization: Bearer ${OPENANY_API_KEY}" \
  --header 'Content-Type: application/json' \
  --data '{"limit":1,"query":"rust memory safety","sort":"relevance"}'
```

## Understanding Response Examples

| Example | Provenance and scope |
| --- | --- |
| Third-party reference · Testnet excerpt | Excerpt of a historical third-party testnet response, showing fields and structure. |

Use the documented request as a calling template; consult the [public API contract](https://openany.si/api/v1/agent-apis/50aff158-c308-48f1-9e00-c6f5da96051b) and the actual response for fields and status.

## Connect AI Agents via OpenAny MCP

Connect to https://mcp.openany.si, discover with search\_apis, then read the current contract and api\_version with get\_api. Use run\_api only after approval of inputs, price and call count; keep the key in secure client configuration.

**Agent prompt:** Search arXiv for Rust memory safety, sort by date and request up to ten papers. Inspect the TREG schema and current price first and request execution approval, then return titles, authors, source/PDF links and clearly labeled abstract excerpts.

## Pricing & Billing Rules

- No subscription; check the selected implementation’s contract and Selected price for the current amount and unit.
- Browsing, preparing inputs and viewing examples do not execute the API; curl and run\_api do.
- Extra pages, retries and chained requests are separate executions; review their billing and spending limit first.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "arXiv Paper Search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "description": "default ",
          "example": "cs.LG",
          "type": "string"
        },
        "limit": {
          "description": "default 20",
          "maximum": 100,
          "minimum": 1,
          "type": "integer"
        },
        "query": {
          "description": "",
          "example": "rust memory safety",
          "type": "string"
        },
        "sort": {
          "description": "default relevance",
          "enum": [
            "relevance",
            "date"
          ],
          "type": "string"
        }
      },
      "required": [
        "query"
      ],
      "type": "object",
      "description": "Papers on arXiv that match a query, from the arXiv API: title, authors, the first 500 characters of the abstract, the paper's page, the PDF, submission time and primary category. `sort` is relevance or date; `category` narrows to one arXiv category such as cs.LG; `limit` up to 100.\nUsage limits: Up to 100 paper metadata records; abstracts are limited to 500 characters. Return source/PDF links; full-paper redistribution requires separate license checks.\nDraft retail price: USD 0.000150/successful call, equal to the TREG catalog rate; no markup."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "blocked": {
          "type": "array",
          "items": {}
        },
        "elapsed_ms": {
          "type": "integer"
        },
        "from_cache": {
          "type": "boolean"
        },
        "llm_calls": {
          "type": "integer"
        },
        "pages_fetched": {
          "type": "integer"
        },
        "partial": {
          "type": "boolean"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "recipe": {
      "type": "string"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "abstract": {
            "type": "string"
          },
          "authors": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "pdf": {
            "type": "string"
          },
          "published": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "usage": {
      "type": "object",
      "properties": {
        "boxes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cache": {
          "type": "string"
        },
        "engine": {
          "type": "string"
        },
        "lines": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "about": {
                "type": "string"
              },
              "boxes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "cache": {
                "type": "string"
              },
              "call": {
                "type": "string"
              },
              "engine": {
                "type": "string"
              },
              "units": {
                "type": "integer"
              },
              "attempts": {
                "type": "integer"
              },
              "proxy": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          }
        },
        "units": {
          "type": "integer"
        }
      }
    },
    "version": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Third-party reference · Testnet 2026-11-04: success (abridged)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/treg/call/crawl4ai.research.search.papers' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "limit": 1,
  "query": "rust memory safety",
  "sort": "relevance"
}'
```

## Response example
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Third-party response reference · Documented HTTP 200
```json
{
  "meta": {
    "blocked": [],
    "elapsed_ms": 311,
    "from_cache": false,
    "llm_calls": 0,
    "pages_fetched": 1,
    "partial": false,
    "warnings": [
      "module: arxiv-search: 'rust memory safety' · 1 papers"
    ]
  },
  "recipe": "arxiv-search",
  "rows": [
    {
      "abstract": "We present our ongoing work on developing an end-to-end verified Rust compiler based on CompCert. It provides two guarantees: one is semantics preservation from Rust to assembly, i.e., the behaviors of source code includes the behaviors of target code, with which the properties verified at the source can be preserved down to the target; the other is memory safety ensured by the verifying compilation -- the borrow checking pass, which can simplify the verification of Rust programs, e.g., by allow …",
      "authors": "Jinhua Wu, Yuting Wang, Liukun Yu, Linglong Meng",
      "category": "cs.PL",
      "pdf": "https://arxiv.org/pdf/2602.07455v1",
      "published": "2026-02-07T09:15:35Z",
      "title": "RustCompCert: A Verified and Verifying Compiler for a Sequential Subset of Rust",
      "url": "http://arxiv.org/abs/2602.07455v1"
    }
  ],
  "usage": {
    "boxes": [
      "gate",
      "recipe"
    ],
    "cache": "miss",
    "engine": "recipe",
    "lines": [
      {
        "about": "the call",
        "boxes": [
          "gate"
        ],
        "cache": "miss",
        "call": "recipes",
        "engine": "gate",
        "units": 1
      },
      {
        "attempts": 1,
        "cache": "api",
        "call": "scrape",
        "engine": "api",
        "proxy": "isp",
        "units": 1,
        "url": "http://export.arxiv.org/…"
      }
    ],
    "units": 2
  },
  "version": 1
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Do I need an arXiv subscription?
No. This OpenAny route uses per-call billing without a subscription; authenticate with your OpenAny API key.

### Does the result contain the full abstract or paper?
No. Abstracts are capped at 500 characters and PDF values are links. A separate retrieval step is needed for full text.

### How many papers can I request?
Up to 100 per call with limit. The wrapper exposes no start or offset field, so do not assume native arXiv pagination is available here.

### Can I narrow results to a subject category?
Yes. Pass an arXiv category such as cs.LG in category, and choose relevance or date in sort.

### Is date sorting a saved alert?
No. It orders this request's results. Repeated monitoring, timestamps and notifications belong in your own scheduler or Agent workflow.

### What should I do if no papers are returned?
Check any response warnings, then broaden query or remove a restrictive category. Increase limit only when you need a larger result set; each new query follows the current billing contract.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
