APIReference

Get paper references

Get bibliography entries with optional enrichment data (Semantic Scholar, DOI, arXiv links).

Note: format=raw requires Pro tier.

GET
/papers/{id}/references

Authorization

ApiKeyAuth
x-api-key<token>

API key for authentication. Get yours at https://sciencestack.ai/settings/api

Format: sk_live_... or sk_test_...

In: header

Path Parameters

id*string

Paper ID — either arXiv ID (e.g., 1706.03762) or internal UUID

Query Parameters

citeKeys?string

Comma-separated cite keys to filter by

format?string

Output format

Default"markdown"
Value in"raw" | "markdown" | "latex"
limit?integer

Maximum results to return

Default100
Rangevalue <= 500
offset?integer

Pagination offset

Default0

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://sciencestack.ai/api/v1/papers/1706.03762/references?citeKeys=vaswani2017attention"
{
  "data": [
    {
      "citeKey": "string",
      "orderIndex": 0,
      "arxivId": "string",
      "doi": "string",
      "content": [
        {
          "nodeId": "string",
          "type": "document",
          "orderIndex": 0,
          "depth": 0,
          "parentNodeId": "string",
          "content": null,
          "metadata": {}
        }
      ],
      "metadata": {
        "format": "bibtex"
      },
      "enrichment": {
        "status": "enriched",
        "semanticScholar": {
          "paperId": "string",
          "title": "string",
          "authors": [
            {
              "name": "string"
            }
          ],
          "publicationDate": "string"
        }
      }
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 0,
    "hasMore": true
  },
  "_version": "string"
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid API key"
  }
}
{
  "error": {
    "code": "PAPER_NOT_FOUND",
    "message": "Paper not found: 9999.99999"
  }
}
{
  "error": {
    "code": "PAPER_LIMIT_EXCEEDED",
    "message": "Monthly paper limit reached. Upgrade at https://sciencestack.ai/pricing"
  }
}