Aller au contenu
GET /v1/meta

Usage notes

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pdb-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pdb-api/v1/meta");
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/meta",
    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": {
        "note": "3D macromolecular structures from the RCSB PDB. /v1/structure?id=4HHB = a structure entry (title, experimental method, resolution, keywords, deposit/release dates, authors, primary citation, entity & assembly counts, molecular weight); /v1/search?query=hemoglobin = full-text search returning matching PDB ids and the total count (paginate with start & limit); /v1/polymer?id=4HHB&entity=1 = a polymer entity (protein/nucleic-acid name, type, one-letter sequence, length, source organism, chains, linked UniProt ids); /v1/assembly?id=4HHB&assembly=1 = a biological assembly (oligomeric state, symmetry, chain & atom counts); /v1/ligands?id=4HHB = the ligands bound in a structure (component id, name, chains); /v1/chemcomp?id=HEM = a chemical component / ligand definition (name, formula, weight, SMILES, InChIKey). PDB ids are 4 characters (e.g. 4HHB). Data courtesy of RCSB PDB. For protein sequences & function see the UniProt API.",
        "source": "RCSB Protein Data Bank REST + search APIs (rcsb.org)",
        "endpoints": [
            "/v1/structure",
            "/v1/search",
            "/v1/polymer",
            "/v1/assembly",
            "/v1/ligands",
            "/v1/chemcomp",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T08:14:11.000Z",
        "request_id": "69861c60-3d6a-4a14-a47d-366668b24d74"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}