---
title: "Look up a gene or protein"
method: POST
path: "/api/v1/lookup_gene_protein"
tags: ["life"]
---

# Look up a gene or protein

`POST /api/v1/lookup_gene_protein`

## Request

- Base URL: `https://scholarmuse.ai`
- URL: `https://scholarmuse.ai/api/v1/lookup_gene_protein`
- Auth: HTTP bearer

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.

## Request body

- object
  - `query` string, required: Gene symbol (TP53), gene or protein name, UniProt accession (P04637) or Ensembl gene id (ENSG00000141510).
  - `organism` string: Organism name or NCBI taxon id, e.g. "mouse", "Danio rerio", "10090". Default: human (9606).
  - `include` string[]: Extra sections to fetch: domains (InterPro), pathways (Reactome), interactions (STRING). Default: all.

## Response `200`

The tool result.

- ToolResult
  - `summary` string, required
  - `billing` CreditStatus
    - `creditsRemaining` integer, nullable, required: Spendable, unexpired balance at checkedAt; null if refresh failed. Credits reserved by pending figures are excluded.
    - `status` 'ok' | 'low' | 'empty' | 'unavailable', required
    - `lowBalanceThreshold` integer, required
    - `topUpUrl` string, uri, required
    - `pricingUrl` string, uri, required
    - `checkedAt` string, date-time, required
    - `notice` string
  - `records` Record[]
    - `id` string, required
    - `type` string, required
    - `source` string, required
    - `title` string
    - `url` string
    - `license` string
    - `attribution` string
    - `retrievedAt` string, date-time, required
    - `data` object, required
  - `partial` boolean
  - `failedSources` object[]
    - `source` string
    - `error` string
  - `files` object[]
    - `name` string
    - `url` string
    - `mimeType` string
  - `extra` object
  - `credits_used` number, required
  - `call_id` string, required

## Other responses

- `400`: The call failed and was not charged.
- `401`: The call failed and was not charged.
- `402`: The call failed and was not charged.
- `429`: The call failed and was not charged.
- `502`: The call failed and was not charged.

---

[API](https://skmtc.dev/scholarmuse/apis/scholarmuse-rest-api.md) · [All operations](https://skmtc.dev/scholarmuse/apis/scholarmuse-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scholarmuse/apis/scholarmuse-rest-api/revisions/beafd92e4bfb?raw)
