Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaHealthAvailable now

STRING: protein interactions and functional enrichment · Enrichment

string-db-org/annotations/enrichment

Get health and medical data with STRING: protein interactions and functional enrichment · Enrichment from Alexandria through one Spiral API key. What a gene or protein list has in common: GO processes, pathways, diseases, tissues, domains, literature. 'Enrichment for this 10-gene list'. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
proteins requiredlist—

Between 2 and 200 different proteins, each a gene symbol (PCSK9, Trp53), UniProt accession (P04637), Ensembl protein ID (ENSP00000269305) or STRING ID (9606.ENSP00000269305). Pass one array item per protein.

fdrnumber
0 to 1
0.05

Keep terms with FDR at or below this, 0 to 1.

limitnumber
1 to 500
50

Most terms to return, lowest FDR first. significant_terms says how many passed.

speciesnumber
1 to …
9606

The organism: an NCBI taxon ID (9606 human, 10090 mouse, 10116 rat, 7955 zebrafish, 7227 fruit fly, 6239 C. elegans, 4932 baker's yeast, 3702 Arabidopsis, 511145 E. coli K-12; STRING covers about 12,500) or one of the names human, mouse, rat, zebrafish, fruit fly, worm, yeast, arabidopsis, e. coli, chicken, cow, pig, dog (or the Latin name). Defaults to human, or to the taxon of a STRING ID given as protein (10090.ENSMUSP00000104298 is mouse). Proteins are looked up in this species only.

categorieslist—

Only these categories (case does not matter). Omit for all of them; KEGG, SMART, HPO and other categories are never returned.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "string-db-org/annotations/enrichment",
    "input": {
      "proteins": [
        "<proteins>"
      ]
    }
  }'

Frequently asked questions

How much does STRING: protein interactions and functional enrichment · Enrichment cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use STRING: protein interactions and functional enrichment · Enrichment through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "string-db-org/annotations/enrichment"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use STRING: protein interactions and functional enrichment · Enrichment?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use STRING: protein interactions and functional enrichment · Enrichment?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.