ScholarMuse Life API

The life API from ScholarMuse — 5 operation(s) for life.

GitHub OpenAPI

Operations 5

POST /api/v1/lookup_gene_protein Look up a gene or protein #
POST /api/v1/get_structure Get protein structures #
POST /api/v1/search_clinical_trials Search clinical trials #
POST /api/v1/lookup_drug Look up a drug #
POST /api/v1/search_expression_data Search expression data #

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/scholarmuse-ai:scholarmuse-ai-life-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

scholarmuse-ai-life-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScholarMuse REST Life API
  version: '1'
  description: 'Run ScholarMuse academic tools over HTTPS with an API key. Each key may send 60 requests per 60 seconds. Guide: https://scholarmuse.ai/docs/rest-api'
servers:
- url: https://scholarmuse.ai
security:
- bearerAuth: []
tags:
- name: life
paths:
  /api/v1/lookup_gene_protein:
    post:
      operationId: lookup_gene_protein
      summary: Look up a gene or protein
      description: 'Resolve a gene symbol, gene name, UniProt accession or Ensembl gene id across NCBI Gene, Ensembl and UniProt and return one record: ids, name, summary and function, chromosome location, protein length, InterPro domains, Reactome pathways and top STRING interaction partners. Use it for verified gene/protein facts instead of recalling them. Research data lookup, not medical advice.


        Discipline pack: life. Cost: 1 credit per successful call.'
      tags:
      - life
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  minLength: 2
                  description: Gene symbol (TP53), gene or protein name, UniProt accession (P04637) or Ensembl gene id (ENSG00000141510).
                organism:
                  description: 'Organism name or NCBI taxon id, e.g. "mouse", "Danio rerio", "10090". Default: human (9606).'
                  type: string
                include:
                  description: 'Extra sections to fetch: domains (InterPro), pathways (Reactome), interactions (STRING). Default: all.'
                  type: array
                  items:
                    type: string
                    enum:
                    - domains
                    - pathways
                    - interactions
              required:
              - query
              additionalProperties: false
      responses:
        '200':
          description: The tool result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
  /api/v1/get_structure:
    post:
      operationId: get_structure
      summary: Get protein structures
      description: 'Find 3D structures for a protein: experimental entries from RCSB PDB (method, resolution, release date, organism, mmCIF/PDB download links) plus the AlphaFold DB predicted model (mean pLDDT, version) for the UniProt accession. Pass a PDB id or UniProt accession as `id`, or a protein/gene name as `query`. Research data lookup, not medical advice.


        Discipline pack: life. Cost: 1 credit per successful call.'
      tags:
      - life
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  description: PDB id (e.g. 1M17) or UniProt accession (e.g. P00533).
                  type: string
                  minLength: 4
                query:
                  description: Protein or gene name when no id is known, e.g. "EGFR" or "hemoglobin".
                  type: string
                  minLength: 2
                limit:
                  description: Experimental structures to return (default 10).
                  type: integer
                  minimum: 1
                  maximum: 25
              additionalProperties: false
      responses:
        '200':
          description: The tool result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
  /api/v1/search_clinical_trials:
    post:
      operationId: search_clinical_trials
      summary: Search clinical trials
      description: 'Search the ClinicalTrials.gov registry by condition, intervention, phase, recruitment status and country. Returns NCT id, title, status, phase, conditions, interventions, sponsor, enrollment, dates, primary outcomes and the registry URL. Use it to find or verify registered studies. Registry data for research, not medical advice or a recommendation to enrol.


        Discipline pack: life. Cost: 2 credits per successful call.'
      tags:
      - life
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                condition:
                  description: Disease or condition, e.g. "heart failure".
                  type: string
                  minLength: 2
                intervention:
                  description: Drug, device or procedure, e.g. "semaglutide".
                  type: string
                  minLength: 2
                phase:
                  description: 'Trial phase: 1, 2, 3 or 4.'
                  type: integer
                  minimum: 1
                  maximum: 4
                status:
                  description: 'Overall status: recruiting, not_yet_recruiting, active_not_recruiting, completed, terminated, suspended, withdrawn, enrolling_by_invitation or unknown.'
                  type: string
                country:
                  description: Country with a study site, in English, e.g. "Germany" or "United States".
                  type: string
                query:
                  description: Free text for anything else (sponsor, outcome, NCT id, keywords).
                  type: string
                  minLength: 2
                limit:
                  description: Results to return (default 10).
                  type: integer
                  minimum: 1
                  maximum: 25
              additionalProperties: false
      responses:
        '200':
          description: The tool result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
  /api/v1/lookup_drug:
    post:
      operationId: lookup_drug
      summary: Look up a drug
      description: 'Look up a drug or compound by name or ChEMBL id. Returns ChEMBL facts (ChEMBL id, max clinical phase, molecule type, formula, weight), curated mechanisms and targets, the most frequently reported adverse-event terms from openFDA FAERS (spontaneous report counts, not incidence or risk) and FDA label highlights (indications, whether a boxed warning exists). Research data lookup, not medical advice.


        Discipline pack: life. Cost: 1 credit per successful call.'
      tags:
      - life
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 2
                  description: Drug name (generic, brand or research code) or a ChEMBL id such as CHEMBL941.
                include:
                  description: 'Sections to fetch: targets (ChEMBL mechanisms), adverse_events (openFDA FAERS), label (FDA label). Default: all.'
                  type: array
                  items:
                    type: string
                    enum:
                    - targets
                    - adverse_events
                    - label
              required:
              - name
              additionalProperties: false
      responses:
        '200':
          description: The tool result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
  /api/v1/search_expression_data:
    post:
      operationId: search_expression_data
      summary: Search expression data
      description: 'Gene expression lookups: pass `gene` for GTEx median expression (TPM) across human tissues, highest tissues first; pass `query` to search NCBI GEO for expression datasets (series accession, title, organism, sample count, platform, date, URL). Both can be used in one call. Research data lookup, not medical advice.


        Discipline pack: life. Cost: 2 credits per successful call.'
      tags:
      - life
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                gene:
                  description: Human gene symbol or Ensembl gene id for GTEx tissue expression, e.g. "ALB".
                  type: string
                  minLength: 2
                query:
                  description: Keywords for a GEO dataset search, e.g. "single cell lung fibrosis".
                  type: string
                  minLength: 2
                organism:
                  description: Limit GEO results to an organism (scientific name, e.g. "Mus musculus"). GTEx is human only.
                  type: string
                limit:
                  description: GEO series to return (default 10).
                  type: integer
                  minimum: 1
                  maximum: 25
              additionalProperties: false
      responses:
        '200':
          description: The tool result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
components:
  schemas:
    CreditStatus:
      type: object
      required:
      - creditsRemaining
      - status
      - lowBalanceThreshold
      - topUpUrl
      - pricingUrl
      - checkedAt
      properties:
        creditsRemaining:
          type:
          - integer
          - 'null'
          minimum: 0
          description: Spendable, unexpired balance at checkedAt; null if refresh failed. Credits reserved by pending figures are excluded.
        status:
          type: string
          enum:
          - ok
          - low
          - empty
          - unavailable
        lowBalanceThreshold:
          type: integer
          example: 20
        topUpUrl:
          type: string
          format: uri
        pricingUrl:
          type: string
          format: uri
        checkedAt:
          type: string
          format: date-time
        notice:
          type: string
    ToolResult:
      type: object
      required:
      - summary
      - credits_used
      - call_id
      properties:
        summary:
          type: string
        billing:
          $ref: '#/components/schemas/CreditStatus'
        records:
          type: array
          items:
            $ref: '#/components/schemas/Record'
        partial:
          type: boolean
        failedSources:
          type: array
          items:
            type: object
            properties:
              source:
                type: string
              error:
                type: string
        files:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              url:
                type: string
              mimeType:
                type: string
        extra:
          type: object
        credits_used:
          type: number
        call_id:
          type: string
    Record:
      type: object
      required:
      - id
      - type
      - source
      - retrievedAt
      - data
      properties:
        id:
          type: string
        type:
          type: string
        source:
          type: string
        title:
          type: string
        url:
          type: string
        license:
          type: string
        attribution:
          type: string
        retrievedAt:
          type: string
          format: date-time
        data:
          type: object
  responses:
    Error:
      description: The call failed and was not charged.
      content:
        application/json:
          schema:
            type: object
            required:
            - error
            properties:
              error:
                type: object
                required:
                - code
                - message
                properties:
                  code:
                    type: string
                    enum:
                    - invalid_input
                    - unauthorized
                    - insufficient_credits
                    - paid_plan_required
                    - unknown_tool
                    - rate_limited
                    - upstream_error
                    - internal
                  message:
                    type: string
                  billing:
                    $ref: '#/components/schemas/CreditStatus'
                  requiredCredits:
                    type: integer
                    minimum: 0
                  shortfall:
                    type: integer
                    minimum: 0
                  retryable:
                    type: boolean
                    description: 'Payment errors are false: wait for the user to pay before attempting another paid call.'
                  nextAction:
                    type: string
                    enum:
                    - top_up
                    - choose_plan_or_pack
                    - try_later
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key created under Settings → API Keys.