# Project API – arXiv Preprint Search

> Project API – arXiv Preprint Search is a paid API for AI agents from project-api-gamma-sable.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Searches arXiv preprints using a free-text query and returns slim JSON with abstract and PDF links, gated behind a $0.01 USDC micropayment per call.

## Facts

- Endpoint: GET https://project-api-gamma-sable.vercel.app/paid/arxiv/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/project-api-arxiv-preprint-search-e2a5e34b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qlwhcS9sIVinS3G2JvVrM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability project-api-arxiv-preprint-search-e2a5e34b
```

Example prompt: Search arXiv for the latest papers on diffusion models for image generation — give me up to 10 results sorted by submission date, with abstract and PDF links.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-query access to arXiv preprints with a very low per-call cost ($0.01 USDC) and no subscription or API key required — ideal for AI agents that need on-demand literature search without managing credentials, or when integrating academic paper discovery into a crypto-native workflow using the x402 payment standard on Base.

## Known failure modes

- HTTP 402 returned if no valid USDC payment is included — caller must use x402 micropayment protocol on Base network
- Empty items array returned if query matches no arXiv results
- Invalid or missing 'q' query parameter may cause a 400 or empty response
- Rate limiting or upstream arXiv API unavailability may cause delayed or failed responses
- Malformed date format in 'start' parameter may produce unexpected results

## How this service works

Paid public-data feeds. Unpaid requests return HTTP 402. Prices are USDC on Base.

## Output

Returns a slim JSON object containing a list of matching arXiv preprints, each with metadata such as title, authors, abstract snippet, arXiv abstract page link, and direct PDF download link. The response includes the source path and a 'what' description field. Empty results return an empty items array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Free-text query"
      },
      "limit": {
       "type": "string",
       "description": "Max results"
      },
      "query": {
       "type": "string",
       "description": "Search / SPARQL query"
      },
      "start": {
       "type": "string",
       "description": "Start date (YYYY-MM-DD)"
      },
      "sortBy": {
       "type": "string",
       "description": "Query param: sortBy"
      },
      "sortOrder": {
       "type": "string",
       "description": "Query param: sortOrder"
      },
      "max_results": {
       "type": "string",
       "description": "Query param: max_results"
      },
      "search_query": {
       "type": "string",
       "description": "arXiv search_query"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "what": "arXiv Atom API preprint search (slim JSON + abs/pdf links)",
  "items": [],
  "source": "/paid/arxiv/search"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/project-api-arxiv-preprint-search-e2a5e34b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from project-api-gamma-sable.vercel.app](https://www.zero.xyz/host/project-api-gamma-sable.vercel.app/llms.txt)
