Aller au contenu
GET /v1/polymer

A polymer entity (protein / nucleic acid)

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/pdb-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/pdb-api/v1/polymer" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pdb-api/v1/polymer", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pdb-api/v1/polymer");
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/pdb-api/v1/polymer",
    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": {
        "polymer": {
            "name": "Hemoglobin subunit alpha",
            "type": "Protein",
            "chains": [
                "A",
                "C"
            ],
            "length": 141,
            "pdb_id": "4HHB",
            "source": [
                {
                    "organism": "Homo sapiens",
                    "taxonomy_id": 9606
                }
            ],
            "sequence": "VLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLRVDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVSTVLTSKYR",
            "entity_id": "1",
            "uniprot_ids": [
                "P69905"
            ]
        }
    },
    "meta": {
        "timestamp": "2026-06-01T08:14:10.346Z",
        "request_id": "2f8ab080-efc2-450e-9870-b909d766efe9"
    },
    "status": "ok",
    "message": "Polymer entity retrieved",
    "success": true
}