arXiv API: Get paper
Gets an arXiv paper's title, authors, abstract, subjects, submission dates and publication details from its exact title, arXiv link or number.
Unofficial. Not affiliated with or endorsed by arXiv.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Paper, required
paper Paper title, arXiv link or number, for example Attention Is All You Need, https://arxiv.org/abs/1706.03762, or 1706.03762.
Attention Is All You Need
Input as JSON
{ "paper": "Attention Is All You Need"}Output
{ "doi": null, "title": "Attention Is All You Need", "authors": [ "Ashish Vaswani", "Noam Shazeer", "Niki Parmar" ], "abstract": "The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer…", "pdf_link": "https://arxiv.org/pdf/1706.03762" , "subjects": [ "Computation and Language", "Machine Learning" ], "versions": [ { "date": "2017-06-12", "version": "v1" }, { "date": "2017-06-19", "version": "v2" }, { "date": "2017-06-20", "version": "v3" } ], "arxiv_number": "1706.03762", "author_comments": "15 pages, 5 figures", "journal_reference": null, "abstract_page_link": "https://arxiv.org/abs/1706.03762" , "first_submitted_date": "2017-06-12"}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"arxiv.org/get_paper","input":{"paper":"Attention Is All You Need"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "arxiv.org/get_paper" , "input": { "paper": "Attention Is All You Need" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "arxiv.org/get_paper" , "input": { "paper": "Attention Is All You Need" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run arxiv.org/get_paper# with {"paper":"Attention Is All You Need"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "paper" ], "properties": { "paper": { "type": "string", "description": "Paper title, arXiv link or number, for example Attention Is All You Need, https://arxiv.org/abs/1706.03762, or 1706.03762." } }}Output schema
{ "type": "object", "required": [ "title", "authors", "abstract", "subjects", "first_submitted_date", "versions", "author_comments", "journal_reference", "doi", "pdf_link", "abstract_page_link", "arxiv_number" ], "properties": { "doi": { "type": [ "string", "null" ] }, "title": { "type": "string" }, "authors": { "type": "array", "items": { "type": "string" } }, "abstract": { "type": "string" }, "pdf_link": { "type": "string" }, "subjects": { "type": "array", "items": { "type": "string" } }, "versions": { "type": "array", "items": { "type": "object", "required": [ "version", "date" ], "properties": { "date": { "type": "string" }, "version": { "type": "string" } } } }, "arxiv_number": { "type": "string" }, "author_comments": { "type": [ "string", "null" ] }, "journal_reference": { "type": [ "string", "null" ] }, "abstract_page_link": { "type": "string" }, "first_submitted_date": { "type": "string" } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
arxiv.org/get_paper- Returns
- title, authors, abstract, subjects, versions, comments, journal reference, DOI, links
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method arxiv.org/get_paper with the inputs above.
Ask your agent
- Can you pull up the full details for the paper titled Attention Is All You Need, including authors and abstract?
- I need the abstract, subjects, and submission dates for arXiv 1706.03762.
- What are the authors, DOI, and journal reference for the arXiv paper at https://arxiv.org/abs/2005.14165?
- Look up the version history and comments for paper 2303.08774 on arxiv.org.
- Get the title, subjects, and publication details for the paper Denoising Diffusion Probabilistic Models.
See more
All arXiv methodsFinds arXiv preprints by topic or title words, with optional author, subject, submission date range and sorting. Returns up to 100 papers with abstracts, subjects, dates and links.
arxiv.org/search_papersLists the latest newly announced papers in an arXiv subject, in announcement order. Cross-lists are optional and replacements are excluded.
arxiv.org/list_new_papersFinds a paper on Semantic Scholar by title, DOI or Semantic Scholar link and returns its abstract, one-sentence summary, authors, publication details, citation counts and a free PDF link when there is one.
semanticscholar.org/get_paperGets the full PubMed abstract and publication details for one article by title, PubMed link, or PubMed number (PMID). A title is searched in PubMed titles first and must closely match a found article. Some articles have no abstract or free full text.
pubmed.ncbi.nlm.nih.gov/get_articleFinds a legal free copy of a paper by title or DOI, with its best available link and other copies. If no free copy is indexed, the copy links are null.
unpaywall.org/get_free_versionSearches OpenAlex scholarly works by topic, with optional institution, publication-year and open-access filters, ranked by relevance, citations or newest date.
openalex.org/search_papersSearches Semantic Scholar for research papers in relevance order, with field of study, year range and open-access filters, returning AI one-sentence summaries, citations and free PDF links when available.
semanticscholar.org/search_papersFinds bioRxiv and medRxiv preprints whose title, abstract or subject matches all topic words, within a posting date range, newest first. Adds published journal details when available.
biorxiv.org/search_preprints