---
title: "arXiv API: Paper | Perceptlayer"
description: "Papers by arXiv id (up to 20): title, abstract, authors, dates, categories, DOI, journal reference and PDF link."
url: https://perceptlayer.com/apis/arxiv/paper
---

[APIs](https://perceptlayer.com/apis) / [arXiv](https://perceptlayer.com/apis/arxiv) / Paper

# arXiv: Paper

Papers by arXiv id (up to 20): title, abstract, authors, dates, categories, DOI, journal reference and PDF link.

GET `/v1/arxiv/paper`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Up to 400 characters arXiv id, for example 1706.03762, or several separated by commas. |

## Example request

arXiv

GET /v1/arxiv/paper?id=1706.03762 

```
{
  "success": true,
  "data": {
    "count": 1,
    "items": [
      {
        "id": "1706.03762v7",
        "id_base": "1706.03762",
        "title": "Attention Is All You Need",
        "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. W…",
        "authors": [
          {
            "name": "Ashish Vaswani"
          },
          {
            "name": "Noam Shazeer"
          },
          {
            "name": "Niki Parmar"
          }
        ],
        "published": "2017-06-12T17:57:34Z",
        "updated": "2023-08-02T00:41:18Z",
        "primary_category": "cs.CL",
        "categories": [
          "cs.CL",
          "cs.LG"
        ],
        "comment": "15 pages, 5 figures",
        "pdf_url": "https://arxiv.org/pdf/1706.03762v7",
        "url": "https://arxiv.org/abs/1706.03762v7"
      }
    ]
  },
  "meta": {
    "request_id": "req_8e0065459fe44890a0d0f22c77dea66a",
    "credits_charged": 1,
    "credits_remaining": 1992
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/arxiv?try=paper#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.items` has these 12 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `id_base` | string |
| `title` | string |
| `abstract` | string |
| `authors` | object\[\] |
| `published` | string |
| `updated` | string |
| `primary_category` | string |
| `categories` | string\[\] |
| `comment` | string |
| `pdf_url` | url |
| `url` | url |
