Aller au contenu
GET /v1/domains

The domains found on a protein

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/interpro-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/interpro-api/v1/domains" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/interpro-api/v1/domains", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/interpro-api/v1/domains");
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/interpro-api/v1/domains",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 22,
        "entries": [
            {
                "name": "P53 DNA-binding domain",
                "type": "domain",
                "accession": "cd08367",
                "positions": [
                    {
                        "end": 288,
                        "start": 109
                    }
                ],
                "integrated": "IPR011615",
                "source_database": "cdd"
            },
            {
                "name": null,
                "type": "homologous_superfamily",
                "accession": "G3DSA:2.60.40.720",
                "positions": [
                    {
                        "end": 294,
                        "start": 95
                    }
                ],
                "integrated": "IPR012346",
                "source_database": "cathgene3d"
            },
            {
                "name": "p53-like tetramerisation domain",
                "type": "homologous_superfamily",
                "accession": "G3DSA:4.10.170.10",
                "positions": [
                    {
                        "end": 360,
                        "start": 319
                    }
                ],
                "integrated": "IPR036674",
                "source_database": "cathgene3d"
            },
            {
                "name": null,
                "type": "homologous_superfamily",
                "accession": "G3DSA:6.10.50.20",
                "positions": [
                    {
                        "end": 61,
                        "start": 13
                    }
                ],
                "integrated": null,
                "source_database": "cathgene3d"
            },
            {
                "name": "p53 tumour suppressor family",
                "type": "family",
                "accession": "IPR002117",
                "positions": [
                    {
                        "end": 369,
                        "start": 3
                    }
                ],
                "integrated": null,
                "source_database": "interpro"
            },
            {
                "name": "p53-like transcription factor, DNA-binding domain superfamily",
                "type": "homologous_superfamily",
                "accession": "IPR008967",
                "positions": [
                    {
                        "end": 287,
                        "start": 97
                    }
                ],
                "integrated": null,
                "source_database": "interpro"
            },
            {
                "name": "p53, tetramerisation domain",
                "type": "domain",
                "accession": "IPR010991",
                "positions": [
                    {
                        "end": 357,
                        "start": 319
                    }
                ],
                "integrated": null,
                "source_database": "interpro"
         
…