STRING Protein Interactions API

Ranked interaction partners for a protein or gene from the STRING database, with the combined confidence score and the evidence scores (experiments, curated databases, text mining) for each pair.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 9 fieldsv1.0

Data from string-db.org/api/json/interaction_partners

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Protein
Protein or gene name, such as TP53.
Example: TP53
Taxonoptional
NCBI taxon id of the species (9606 is human).
Example: 9606

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/string-protein-interactions/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/string-protein-interactions/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"protein":"TP53"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

proteintextrequired
Protein or gene name, such as TP53.
example: TP53
taxonnumber
NCBI taxon id of the species (9606 is human).
default: 9606example: 9606

What's in each record

9 fields: 8 here, 1 technical one under Technical details.

Basics

  • Protein a

    Preferred name of the searched protein.

    Example TP53

  • Protein b

    Preferred name of the interaction partner.

    Example SIRT1

  • Taxon

    NCBI taxon id of the species.

    Example 9,606

  • Combined score

    Overall confidence of the interaction, 0 to 1.

    Example 0.999

  • Experimental score

    Evidence from experiments, 0 to 1.

    Example 0.999

  • Database score

    Evidence from curated databases, 0 to 1.

    Example 0.9

  • Text mining score

    Evidence from literature text mining, 0 to 1.

    Example 0.886

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe pair of STRING ids, joined with a vertical bar.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
protein_atextProtein a3 of 3
protein_btextProtein b3 of 3
taxonnumberTaxon3 of 3
combined_scorenumberCombined score3 of 3
experimental_scorenumberExperimental score3 of 3
database_scorenumberDatabase score3 of 3
text_mining_scorenumberText mining score3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProtein aProtein bTaxonCombined scoreExperimental scoreDatabase scoreText mining scoreLink
1TP53SIRT19,6060.9990.9990.90.886string-db.org/network/9606.ENSP00000212015
2TP53MAPK19,6060.9990.9990.90.68string-db.org/network/9606.ENSP00000215832
3TP53AURKA9,6060.9990.9990.750.679string-db.org/network/9606.ENSP00000216911

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One protein per run; STRING returns at most the 500 best partners of that protein.
  • Scores are STRING confidence values from 0 to 1; a channel with no evidence is 0.
  • The protein name must be recognised by STRING for the chosen species; an unknown name returns no records.
  • STRING data is licensed CC BY 4.0: credit STRING (string-db.org) when you publish results.
  • STRING updates with each database release (about once a year).

Version history

A run uses the live version unless the request names another one with version.