Zum Inhalt springen
GET /v1/network

Interaction network among proteins

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/string-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/string-api/v1/network" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/string-api/v1/network", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/string-api/v1/network");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/string-api/v1/network",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "edges": 6,
        "input": [
            "TP53",
            "MDM2",
            "EGFR",
            "CDKN1A"
        ],
        "nodes": 4,
        "network": [
            {
                "score": 0.897,
                "evidence": {
                    "fusion": 0,
                    "database": 0.65,
                    "textmining": 0.718,
                    "coexpression": 0,
                    "cooccurrence": 0,
                    "experimental": 0,
                    "neighborhood": 0
                },
                "protein_a": "MDM2",
                "protein_b": "EGFR",
                "string_id_a": "9606.ENSP00000258149",
                "string_id_b": "9606.ENSP00000275493"
            },
            {
                "score": 0.98,
                "evidence": {
                    "fusion": 0,
                    "database": 0,
                    "textmining": 0.873,
                    "coexpression": 0.072,
                    "cooccurrence": 0,
                    "experimental": 0.848,
                    "neighborhood": 0
                },
                "protein_a": "MDM2",
                "protein_b": "CDKN1A",
                "string_id_a": "9606.ENSP00000258149",
                "string_id_b": "9606.ENSP00000384849"
            },
            {
                "score": 0.999,
                "evidence": {
                    "fusion": 0,
                    "database": 0.9,
                    "textmining": 0.999,
                    "coexpression": 0.116,
                    "cooccurrence": 0,
                    "experimental": 0.999,
                    "neighborhood": 0
                },
                "protein_a": "MDM2",
                "protein_b": "TP53",
                "string_id_a": "9606.ENSP00000258149",
                "string_id_b": "9606.ENSP00000269305"
            },
            {
                "score": 0.943,
                "evidence": {
                    "fusion": 0,
                    "database": 0,
                    "textmining": 0.919,
                    "coexpression": 0,
                    "cooccurrence": 0,
                    "experimental": 0.329,
                    "neighborhood": 0
                },
                "protein_a": "TP53",
                "protein_b": "EGFR",
                "string_id_a": "9606.ENSP00000269305",
                "string_id_b": "9606.ENSP00000275493"
            },
            {
                "score": 0.999,
                "evidence": {
                    "fusion": 0,
                    "database": 0.9,
                    "textmining": 0.96,
                    "coexpression": 0,
                    "cooccurrence": 0,
                    "experimental": 0.925,
                    "neighborhood": 0
                },
                "protein_a": "TP53",
                "protein_b": "CDKN1A",
                "string_id_a": "9606.ENSP00000269305",
                "string_id_b": "9606.ENSP00000384849"
         
…