# arXiv Count Papers By Comment API

> Searches arXiv for papers matching a keyword query that were originally announced in a given calendar month and whose author comments contain a given phrase, and returns the matching papers with their count.

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

## Facts

- Provider: arXiv
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/arxiv/count-papers-by-comment`
- Price: $0.09 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/count-papers-by-comment` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `month` | string | yes |  |
| `query` | string | yes |  |
| `phrase` | string | yes |  |

## FAQ

### How do I use the arXiv Count Papers By Comment API?

Send a POST request to https://api.sandbase.ai/v1/api/arxiv/count-papers-by-comment 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 Count Papers By Comment API cost?

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

### What parameters does the arXiv Count Papers By Comment API accept?

Required: month (string), query (string) and phrase (string). The Parameters table and the Playground on this page list every field.

### What does the arXiv Count Papers By Comment API return?

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

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

No. arXiv Count Papers By Comment 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 Count Papers By Comment API

Searches arXiv for papers matching a keyword query that were originally announced in a given calendar month and whose author comments contain a given phrase, and returns the matching papers with their count.

#### 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/count-papers-by-comment", "month": "2026-10", "query": "neural network", "phrase": "accepted"}'
```

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `month` | string | Yes | Announcement month in YYYY-MM form; papers originally announced on arXiv in that month are considered |
| `phrase` | string | Yes | Word or phrase that must appear in the paper's author comments, matched case-insensitively as whole words, e.g. accepted at |
| `query` | string | Yes | Keyword query searched across all paper fields (title, abstract, authors, etc.), e.g. neural network |

#### Pricing

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