Developer products

ScholarXIV for Developers

Explore the docs, technical resources, examples and more that help developers integrate ScholarXIV APIs and tools to build production-ready applications.

01 /v1/papers/search

Papers API New

Search and retrieve metadata across more than 3 million research papers with a clean API surface.

3M+ papers
Metadata first
Advanced search
const { data } = await axios.post('/api/v1/papers/search', {
searchFilterString: { ti: 'graph neural networks', cat: 'cs.LG' },
maxResults: 10, sortBy: "submittedDate", sortOrder: "descending"
}, {
headers: { Authorization: `Bearer ${process.env.SCHOLARXIV_API_KEY}` }
});
const papers = data.data;
preview / papersapi
02 /api/mcp

ScholarXIV MCP Available

Connect agents and developer tools to ScholarXIV research context through a focused MCP layer.

Agent ready
Tool calls
Paper context
const client = new Client({ name: 'app', version: '1.0.0' });
await client.connect(transport);
const result = await client.callTool({
name: 'search_papers', arguments: { query: 'battery cathodes' }
});
preview / mcp
03 /v1/router

Model Router New

Send a prompt, get the model that should answer it — classified, ranked and chosen per request.

Per-request
Plan aware
Cost capped
const res = await axios.post('/api/v1/router', {
prompt: 'Compare the endpoints across these three RCTs',
preset: 'balanced'
}, {
headers: { Authorization: `Bearer ${process.env.SCHOLARXIV_API_KEY}` }
});
const { model, fallbacks, task } = res.data;
preview / router
04 /v1/health/chat

Health API Available

Build with the health assistant, uploaded reports, medication and condition references, symptoms, and private health logs.

Read the Health API docs
File uploads
Symptom logs
Medication references
const res = await axios.post('/api/v1/health/chat', {
message: 'Explain this lab report',
attachment_ids: [uploadedFile.id]
}, {
headers: { Authorization: `Bearer ${process.env.SCHOLARXIV_API_KEY}` }
});
const answer = res.data.text;
preview / health
05 /models/abstract

Abstract Model Coming soon

Give researchers a precise writing model for clearer, tighter abstracts built around paper structure.

Abstract draft
Tone control
Paper aware
import { generateText } from 'ai';
const { text } = await generateText({
model: 'scholarxiv/abstract-model',
system: 'Write concise technical paper abstracts.',
prompt: paperSummary
});
preview / research