Paper Lantern Paper Search API

The paper_search API from Paper Lantern — 6 operation(s) for paper_search.

GitHub OpenAPI

Operations 6

GET /paper_search/ Serve Query #
GET /paper_search/citations Serve Citations #
GET /paper_search/get_papers_from_hash_uids Process Get Papers From Hash Uids #
GET /paper_search/all_hash_uids Get All Hash Uids #
GET /paper_search/pdf_paths Get Pdf Paths #
GET /paper_search/grobid_paths Get Grobid Paths #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paperlantern-ai:paperlantern-ai-paper-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paperlantern-ai-paper-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Paper Search API
  version: 0.1.0
tags:
- name: paper_search
paths:
  /paper_search/:
    get:
      tags:
      - paper_search
      summary: Serve Query
      description: 'curl "api.paperlantern.ai/query?domain=cs&query=Advances%20in%20RAG"

        curl "api.paperlantern.ai/query?domain=bio&query=what%20are%20the%20upstream%20regulators%20that%20phosphorylate%20cdk7'
      operationId: serve_query_paper_search__get
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          description: The query text to process
          title: Query
        description: The query text to process
      - name: sort_by
        in: query
        required: false
        schema:
          type: string
          description: sorting method
          default: relevance
          title: Sort By
        description: sorting method
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: Offset (starts from 0)
          default: 0
          title: Offset
        description: Offset (starts from 0)
      - name: filter_by_poster_session
        in: query
        required: false
        schema:
          type: string
          description: filtering method
          title: Filter By Poster Session
        description: filtering method
      - name: domain
        in: query
        required: true
        schema:
          type: string
          description: Domain identifier
          title: Domain
        description: Domain identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /paper_search/citations:
    get:
      tags:
      - paper_search
      summary: Serve Citations
      description: curl "api.paperlantern.ai/query?domain=bio&hash_uid=pmid=42171|doi=None&offset=1"
      operationId: serve_citations_paper_search_citations_get
      parameters:
      - name: hash_uid
        in: query
        required: true
        schema:
          type: string
          description: The hash_uid of the parent paper
          title: Hash Uid
        description: The hash_uid of the parent paper
      - name: sort_by
        in: query
        required: false
        schema:
          type: string
          description: sorting method
          default: citation_count
          title: Sort By
        description: sorting method
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: Offset (starts from 0)
          default: 0
          title: Offset
        description: Offset (starts from 0)
      - name: domain
        in: query
        required: true
        schema:
          type: string
          description: Domain identifier
          title: Domain
        description: Domain identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /paper_search/get_papers_from_hash_uids:
    get:
      tags:
      - paper_search
      summary: Process Get Papers From Hash Uids
      description: GET /get_papers_from_hash_uids?category=cs&hash_uids=first%20query&hash_uids=second%20query&hash_uids=third%20query
      operationId: process_get_papers_from_hash_uids_paper_search_get_papers_from_hash_uids_get
      parameters:
      - name: hash_uids
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          description: The hash_uids of the papers to get
          title: Hash Uids
        description: The hash_uids of the papers to get
      - name: domain
        in: query
        required: true
        schema:
          type: string
          description: Domain identifier
          title: Domain
        description: Domain identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /paper_search/all_hash_uids:
    get:
      tags:
      - paper_search
      summary: Get All Hash Uids
      description: 'Return a paginated list of all hash_uids for the given domain.


        Example:

        GET /paper_search/all_hash_uids?domain=cs&offset=0&limit=10000'
      operationId: get_all_hash_uids_paper_search_all_hash_uids_get
      parameters:
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: Offset into the sorted list of hash_uids
          default: 0
          title: Offset
        description: Offset into the sorted list of hash_uids
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 10000
          minimum: 1
          description: Number of hash_uids to return (max 10000)
          default: 10000
          title: Limit
        description: Number of hash_uids to return (max 10000)
      - name: domain
        in: query
        required: true
        schema:
          type: string
          description: Domain identifier
          title: Domain
        description: Domain identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /paper_search/pdf_paths:
    get:
      tags:
      - paper_search
      summary: Get Pdf Paths
      description: 'Resolve hash_uids to S3 PDF paths.


        Example:

        GET /paper_search/pdf_paths?domain=cs&hash_uids=abc123&hash_uids=def456


        Returns:

        {"pdf_paths": {"abc123": "s3://sagelabs/data/.../paper.pdf", "def456": null}}'
      operationId: get_pdf_paths_paper_search_pdf_paths_get
      parameters:
      - name: hash_uids
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          description: The hash_uids of the papers (deduplication-level identifiers from the search API)
          title: Hash Uids
        description: The hash_uids of the papers (deduplication-level identifiers from the search API)
      - name: domain
        in: query
        required: true
        schema:
          type: string
          description: Domain identifier
          title: Domain
        description: Domain identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /paper_search/grobid_paths:
    get:
      tags:
      - paper_search
      summary: Get Grobid Paths
      description: 'Resolve hash_uids to S3 GROBID-parsed JSON paths.


        Example:

        GET /paper_search/grobid_paths?domain=cs&hash_uids=abc123&hash_uids=def456


        Returns:

        {"grobid_paths": {"abc123": "s3://sagelabs/data/.../grobid_processed_papers/uid.json", "def456": null}}'
      operationId: get_grobid_paths_paper_search_grobid_paths_get
      parameters:
      - name: hash_uids
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          description: The hash_uids of the papers (deduplication-level identifiers from the search API)
          title: Hash Uids
        description: The hash_uids of the papers (deduplication-level identifiers from the search API)
      - name: domain
        in: query
        required: true
        schema:
          type: string
          description: Domain identifier
          title: Domain
        description: Domain identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError