# Semantic Scholar paper API

Get Semantic Scholar Paper data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including semantic Scholar paper identifier, paper title, DOI, author identities, and reported reference count for reading-list enrichment, and research catalogue, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/semantic-scholar/semantic-scholar-paper-api/?offering=a6a427c5-c2f7-4603-88e0-1a1841f29f85
API ID: a6a427c5-c2f7-4603-88e0-1a1841f29f85
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/semantic-scholar/v1/paper
Page update time: 2026-12-03T02:44:25.287Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:44:24.530Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Semantic Scholar paper API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Paper id: a Semantic Scholar id (40 hex characters), `CorpusId:<n>`, `DOI:<doi>`, `ARXIV:<id>`, `PMID:<n>`, `PMCID:<id>`, `MAG:<n>`, `ACL:<id>`, `URL:<link>`, a bare DOI or arXiv id, or a semanticscholar.org / doi.org / arxiv.org link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "abstract": {
      "type": "string"
    },
    "arxiv_id": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "authors": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "author_id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "badges": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "bibtex": {
      "type": "null"
    },
    "cached": {
      "type": "boolean"
    },
    "citation_count": {
      "type": "integer"
    },
    "citation_velocity": {
      "type": "number"
    },
    "citations_by_year": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "year": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "corpus_id": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "dblp_key": {
      "type": "null"
    },
    "doi": {
      "type": "string"
    },
    "external_ids": {
      "type": "null"
    },
    "fields_of_study": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "figures": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "caption": {
                "type": "string"
              },
              "image_url": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "id": {
      "type": "string"
    },
    "influential_citation_count": {
      "type": "integer"
    },
    "journal": {
      "type": "null"
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "linkType": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "mag_id": {
      "type": "null"
    },
    "open_access": {
      "type": "object",
      "properties": {
        "is_pdf": {
          "type": "boolean"
        },
        "status": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "paper_id": {
      "type": "string"
    },
    "pmc_id": {
      "type": "null"
    },
    "primary_link": {
      "type": "object",
      "properties": {
        "linkType": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "publication_date": {
      "type": "string"
    },
    "publication_types": {
      "type": "null"
    },
    "publication_venue": {
      "type": "null"
    },
    "pubmed_id": {
      "type": "null"
    },
    "reference_count": {
      "type": "integer"
    },
    "s2_fields_of_study": {
      "type": "null"
    },
    "structured_authors": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "firstName": {
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "middleNames": {
                "type": "array",
                "items": {}
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "title": {
      "type": "string"
    },
    "tldr": {
      "type": "string"
    },
    "top_references": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "paper_id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "year": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "url": {
      "type": "string"
    },
    "venue": {
      "type": "string"
    },
    "venue_id": {
      "type": "string"
    },
    "year": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/semantic-scholar/v1/paper?id=ARXIV%3A1706.03762&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "abstract": "The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuratio…",
  "arxiv_id": "1706.03762",
  "attribution": "Data: Semantic Scholar (Allen Institute for AI)",
  "authors": [
    {
      "author_id": "40348417",
      "name": "Ashish Vaswani"
    },
    {
      "author_id": "1846258",
      "name": "Noam Shazeer"
    },
    "… 6 more"
  ],
  "badges": [
    "OPEN_ACCESS"
  ],
  "bibtex": null,
  "cached": false,
  "citation_count": 201689,
  "citation_velocity": 39510.666666666664,
  "citations_by_year": [
    {
      "count": 1,
      "year": 2015
    },
    {
      "count": 3,
      "year": 2016
    },
    "… 11 more"
  ],
  "corpus_id": 13756489,
  "credits_used": 1,
  "dblp_key": null,
  "doi": "10.48550/arXiv.1706.03762",
  "external_ids": null,
  "fields_of_study": [
    "Computer Science"
  ],
  "figures": [
    {
      "caption": "Figure 1: The Transformer - model architecture.",
      "image_url": "https://ai2-s2-public.s3.amazonaws.com/figures/2017-08-08/204e3073870fae3d05bcbc2f6a8e263d9b72e776/3-Figure1-1.png",
      "name": "1",
      "type": "figure"
    },
    {
      "caption": "Table 1: Maximum path lengths, per-layer complexity and minimum number of sequential operations for different layer types. n is the sequence…",
      "image_url": "https://ai2-s2-public.s3.amazonaws.com/figures/2017-08-08/204e3073870fae3d05bcbc2f6a8e263d9b72e776/6-Table1-1.png",
      "name": "1",
      "type": "table"
    },
    "… 7 more"
  ],
  "id": "ARXIV:1706.03762",
  "influential_citation_count": 21436,
  "journal": null,
  "links": [
    {
      "linkType": "arxiv",
      "url": "https://arxiv.org/pdf/1706.03762.pdf"
    }
  ],
  "mag_id": null,
  "open_access": {
    "is_pdf": true,
    "status": "CLOSED",
    "url": "https://arxiv.org/pdf/1706.03762"
  },
  "paper_id": "204e3073870fae3d05bcbc2f6a8e263d9b72e776",
  "pmc_id": null,
  "primary_link": {
    "linkType": "arxiv",
    "url": "https://arxiv.org/pdf/1706.03762.pdf"
  },
  "publication_date": "2017-06-12",
  "publication_types": null,
  "publication_venue": null,
  "pubmed_id": null,
  "reference_count": 41,
  "s2_fields_of_study": null,
  "structured_authors": [
    {
      "firstName": "Ashish",
      "lastName": "Vaswani",
      "middleNames": []
    },
    {
      "firstName": "Noam",
      "lastName": "Shazeer",
      "middleNames": []
    },
    "… 6 more"
  ],
  "title": "Attention is All you Need",
  "tldr": "A new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entire…",
  "top_references": [
    {
      "paper_id": "735d547fc75e0772d2a78c46a1cc5fad7da1474c",
      "title": "Can Active Memory Replace Attention?",
      "year": 2016
    },
    {
      "paper_id": "4f10b9f47c5bb6b54dd4f5ca8d9fa2c0bbd7ec5e",
      "title": "End-To-End Memory Networks",
      "year": 2015
    },
    "… 8 more"
  ],
  "url": "https://www.semanticscholar.org/paper/Attention-is-All-you-Need-Vaswani-Shazeer/204e3073870fae3d05bcbc2f6a8e263d9b72e776",
  "venue": "Neural Information Processing Systems",
  "venue_id": "d9720b90-d60b-48bc-9df8-87a30b9a60dd",
  "year": 2017
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/semantic-scholar/semantic-scholar-paper-api/?offering=a6a427c5-c2f7-4603-88e0-1a1841f29f85

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
