Aller au contenu
GET /v1/study

A study metadata

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/mgnify-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/mgnify-api/v1/study" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mgnify-api/v1/study", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mgnify-api/v1/study");
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/mgnify-api/v1/study",
    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": {
        "study": {
            "id": "MGYS00006862",
            "url": "https://www.ebi.ac.uk/metagenomics/studies/MGYS00006862",
            "name": "Metagenome assembly of PRJNA715245 data set (human gut metagenome Metagenome)",
            "biome": "root:Host-associated:Human:Digestive system:Large intestine",
            "abstract": "The Third Party Annotation (TPA) assembly was derived from the primary data set PRJNA715245",
            "is_public": null,
            "bioproject": "PRJEB92327",
            "centre_name": "EMG",
            "last_update": "2026-04-24T07:54:59",
            "samples_count": 84,
            "data_origination": "SUBMITTED",
            "secondary_accession": "ERP175206"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:24:08.688Z",
        "request_id": "736f0eee-fd5f-4ea0-8571-e5845ce5baf3"
    },
    "status": "ok",
    "message": "Study retrieved",
    "success": true
}