/v1/structure
A structure entry
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/pdb-api/v1/structure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pdb-api/v1/structure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pdb-api/v1/structure");
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/structure",
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": {
"structure": {
"id": "4HHB",
"title": "THE CRYSTAL STRUCTURE OF HUMAN DEOXYHAEMOGLOBIN AT 1.74 ANGSTROMS RESOLUTION",
"method": [
"X-RAY DIFFRACTION"
],
"authors": [
"Fermi, G.",
"Perutz, M.F."
],
"citation": {
"doi": null,
"year": 1984,
"title": "The crystal structure of human deoxyhaemoglobin at 1.74 A resolution",
"pubmed": null,
"journal": "J.Mol.Biol."
},
"keywords": "OXYGEN TRANSPORT",
"released": "1984-07-17",
"revision": "2024-05-22",
"deposited": "1984-03-07",
"resolution": 1.74,
"assembly_ids": [
"1"
],
"assembly_count": 1,
"molecular_weight": 64.74,
"polymer_entity_ids": [
"1",
"2"
],
"deposited_atom_count": 4779,
"polymer_entity_count": 2,
"nonpolymer_entity_count": 2
}
},
"meta": {
"timestamp": "2026-06-01T08:14:10.023Z",
"request_id": "54e29fa5-5044-4ed9-bd10-9270efb01b8d"
},
"status": "ok",
"message": "Structure retrieved",
"success": true
}