# Semantic Scholar recommended papers API

Get Semantic Scholar Recommendations 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 requested seed identifier, recommendation pool used, recommended paper identifier, recommended paper title, and publication year for reading-list enrichment, and research catalogue.

Documentation: https://openany.si/semantic-scholar/semantic-scholar-recommended-papers-api/5fa46a97-f3e4-403c-9cf3-62f1d1f88a7d/
API ID: 5fa46a97-f3e4-403c-9cf3-62f1d1f88a7d
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/semantic-scholar/v1/recommendations
Page update time: 2026-12-03T02:44:25.308Z
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.
Contract update time: 2026-12-03T02:44:24.658Z. 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": []
  }
}
```

## Usage and limits
## Semantic Scholar Recommendations API

Identify the seed with id. pool accepts recent or all-cs; when omitted, the service tries recent and falls back to all-cs if there are no recent recommendations. The returned pool identifies the selection used. limit defaults to 25 and permits up to 100.

## What You Can Build

- **Reading-list enrichment**: Use stable identifiers and source links to connect the returned records with a literature reading list.
- **Research catalogue**: Retain the source attribution and resource identity when adding metadata to a research catalogue.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Requested seed identifier |
| `pool` | Recommendation pool used |
| `items[].paper_id` | Recommended paper identifier |
| `items[].title` | Recommended paper title |
| `items[].year` | Publication year |
| `count` | Returned recommendation count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Semantic Scholar recommended papers 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."
        },
        "pool": {
          "type": "string",
          "description": "`recent`: recent papers; `all-cs`: all computer science papers. Default: recent, then all-cs when recent has none (the answer says which).",
          "enum": [
            "recent",
            "all-cs"
          ]
        },
        "limit": {
          "type": "integer",
          "description": "Number of papers (default 25, max 100)."
        },
        "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": {
    "attribution": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "abstract": {
                "type": "string"
              },
              "acl_id": {
                "type": "null"
              },
              "arxiv_id": {
                "type": "string"
              },
              "authors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "author_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "bibtex": {
                "type": "null"
              },
              "citation_count": {
                "type": "integer"
              },
              "corpus_id": {
                "type": "integer"
              },
              "dblp_key": {
                "type": "string"
              },
              "doi": {
                "type": "string"
              },
              "external_ids": {
                "type": "object",
                "properties": {
                  "ArXiv": {
                    "type": "string"
                  },
                  "CorpusId": {
                    "type": "integer"
                  },
                  "DBLP": {
                    "type": "string"
                  },
                  "DOI": {
                    "type": "string"
                  },
                  "MAG": {
                    "type": "string"
                  }
                }
              },
              "fields_of_study": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "influential_citation_count": {
                "type": "integer"
              },
              "is_open_access": {
                "type": "boolean"
              },
              "journal": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "pages": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                }
              },
              "mag_id": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "open_access_pdf": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "license": {
                        "type": "null"
                      },
                      "status": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                ]
              },
              "paper_id": {
                "type": "string"
              },
              "pmc_id": {
                "type": "null"
              },
              "publication_date": {
                "type": "string"
              },
              "publication_types": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "publication_venue": {
                "type": "null"
              },
              "pubmed_id": {
                "type": "null"
              },
              "reference_count": {
                "type": "integer"
              },
              "s2_fields_of_study": {
                "type": "array",
                "items": {}
              },
              "title": {
                "type": "string"
              },
              "tldr": {
                "type": "null"
              },
              "url": {
                "type": "string"
              },
              "venue": {
                "type": "string"
              },
              "year": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "pool": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/semantic-scholar/v1/recommendations?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
{
  "attribution": "Data: Semantic Scholar (Allen Institute for AI)",
  "cached": false,
  "count": 25,
  "credits_used": 1,
  "id": "ARXIV:1706.03762",
  "items": [
    {
      "abstract": "Recent advancements in attention mechanisms have replaced recurrent neural networks and its variants for machine translation tasks. Transfor…",
      "acl_id": null,
      "arxiv_id": "2003.04974",
      "authors": [
        {
          "author_id": "1557931630",
          "name": "Prakhar Thapak"
        },
        {
          "author_id": "1557917362",
          "name": "P. Hore"
        }
      ],
      "bibtex": null,
      "citation_count": 0,
      "corpus_id": 212657723,
      "dblp_key": "journals/corr/abs-2003-04974",
      "doi": "10.48550/arXiv.2003.04974",
      "external_ids": {
        "ArXiv": "2003.04974",
        "CorpusId": 212657723,
        "DBLP": "journals/corr/abs-2003-04974",
        "DOI": "10.48550/arXiv.2003.04974"
      },
      "fields_of_study": [
        "Computer Science",
        "Mathematics"
      ],
      "influential_citation_count": 0,
      "is_open_access": false,
      "journal": {
        "name": "ArXiv",
        "pages": null,
        "volume": "abs/2003.04974"
      },
      "mag_id": null,
      "open_access_pdf": null,
      "paper_id": "e42e3e09af8a56381c65aa8a8ddaee63fb321936",
      "pmc_id": null,
      "publication_date": "2020-03-02",
      "publication_types": [
        "JournalArticle"
      ],
      "publication_venue": null,
      "pubmed_id": null,
      "reference_count": 37,
      "s2_fields_of_study": [],
      "title": "Transformer++",
      "tldr": null,
      "url": "https://www.semanticscholar.org/paper/e42e3e09af8a56381c65aa8a8ddaee63fb321936",
      "venue": "arXiv.org",
      "year": 2020
    },
    {
      "abstract": "Recent papers in neural machine translation have proposed the strict use of attention mechanisms over previous standards such as recurrent a…",
      "acl_id": null,
      "arxiv_id": "1810.12427",
      "authors": [
        {
          "author_id": "144932816",
          "name": "Julian R. Medina"
        },
        {
          "author_id": "34694214",
          "name": "J. Kalita"
        }
      ],
      "bibtex": null,
      "citation_count": 22,
      "corpus_id": 53111927,
      "dblp_key": "conf/icmla/MedinaK18",
      "doi": "10.48550/arXiv.1810.12427",
      "external_ids": {
        "ArXiv": "1810.12427",
        "CorpusId": 53111927,
        "DBLP": "conf/icmla/MedinaK18",
        "DOI": "10.48550/arXiv.1810.12427",
        "MAG": "2952218496"
      },
      "fields_of_study": [
        "Computer Science"
      ],
      "influential_citation_count": 0,
      "is_open_access": true,
      "journal": {
        "name": "2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA)",
        "pages": "547-552",
        "volume": null
      },
      "mag_id": "2952218496",
      "open_access_pdf": {
        "license": null,
        "status": "GREEN",
        "url": "https://arxiv.org/pdf/1810.12427"
      },
      "paper_id": "2e7ddc611c414a0bf26e546f8dc743a5ac5842cf",
      "pmc_id": null,
      "publication_date": "2018-10-29",
      "publication_types": [
        "JournalArticle",
        "Conference"
      ],
      "publication_venue": null,
      "pubmed_id": null,
      "reference_count": 19,
      "s2_fields_of_study": [],
      "title": "Parallel Attention Mechanisms in Neural Machine Translation",
      "tldr": null,
      "url": "https://www.semanticscholar.org/paper/2e7ddc611c414a0bf26e546f8dc743a5ac5842cf",
      "venue": "International Conference on Machine Learning and Applications",
      "year": 2018
    },
    "… 23 more"
  ],
  "pool": "all-cs"
}
```

## 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.

## Common questions
### Which recommendation pools are available?
recent and all-cs. The default tries recent, then all-cs when recent has no results.

### How can I tell which pool was used?
Read the returned pool value.

### How many recommendations can I request?
limit defaults to 25 and allows at most 100.

### Are recommendations the same as citations?
No. They are discovery suggestions; use Citations or References for directed citation relationships.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/semantic-scholar/semantic-scholar-recommended-papers-api/5fa46a97-f3e4-403c-9cf3-62f1d1f88a7d/

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