# Academic

Scholarly papers and preprints.

```text
"sources": ["academic"]
```

The `academic` source is scholarly papers and preprints across fields. A result is one paper, with its authors, where it appeared, the year, how often it has been cited and whether it is open access.

## Good for

- Finding the papers on a subject, old and new.
- Weighing a paper before reading it: `extra.citations`, `extra.venue` and `extra.year`.
- Resolving a citation: `extra.doi` identifies the paper.

## Not the place for

- Clinical questions. `medical` knows study types.
- Explanations for a general reader. Add `web`.

## What a result carries

Every result has the same fields whatever the source; the [Search reference](https://millionshort.com/docs/search/parameters#a-result) lists them. What differs is which of them are filled in:

| Field | In this source |
|---|---|
| `published_date` | Set on every result. |
| `page_type`, `topic` | Set. `page_type` is `research`. |
| `popularity` | The popularity of the site the paper's link resolves to, so it says little here. |
| `signals` (with `explain`) | `text_rank` and `words` are set; `link_authority` is usually `null`. |
| `extra` | `authors`, `venue`, `year`, `citations`, `doi` and `open_access` (true or false). |

The `extra` keys are what this source returns today. Treat every one of them as optional: read it if it is there.

## Example queries

- `transformer interpretability`
- `coral reef bleaching`
- `graph neural networks`

Ten papers with year, venue and citation count:

```bash
curl https://api.millionshort.com/v1/search \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "transformer interpretability",
    "sources": ["academic"],
    "num_results": 10
  }'
```

```python
import os

from millionshort import MillionShort

client = MillionShort(api_key=os.environ["MILLIONSHORT_API_KEY"])

r = client.search(
    "transformer interpretability",
    sources=["academic"],
    num_results=10,
)
for hit in r.results:
    print(hit["extra"].get("year"), hit["extra"].get("venue"), hit["extra"].get("citations"), hit["title"])
print(r.usage.credits, "credit(s)")
```

```ts
import { MillionShort } from 'millionshort';

const client = new MillionShort({ apiKey: process.env.MILLIONSHORT_API_KEY });

const r = await client.search('transformer interpretability', {
  sources: ['academic'],
  numResults: 10,
});
for (const hit of r.results) {
  console.log(hit.extra.year, hit.extra.venue, hit.extra.citations, hit.title);
}
console.log(r.usage?.credits, 'credit(s)');
```

The same call as a tool of the MCP server:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search",
    "arguments": {
      "query": "transformer interpretability",
      "sources": [
        "academic"
      ],
      "num_results": 10
    }
  }
}
```

## Combine it with

`hn` for the discussion of a paper, `web` for write-ups and code. One call can ask up to five sources and returns one merged list; each result says which source it came from in `source`. See [Mixture of Experts](https://millionshort.com/docs/search/mixture-of-experts).

## Cost and limits

A search of this source costs 1 credit, like every source, and covers the first 10 results of the call. It is not one of the heavy sources, so only the plan's ordinary requests-per-minute limit applies. [Credits and limits](https://millionshort.com/docs/credits-and-limits) has the numbers.

With [Monitor](https://millionshort.com/docs/monitor/parameters), a query monitor can watch this source, with a shortest interval of 24 hours.
