Μετάβαση στο περιεχόμενο
GET /v1/search

Find traits by name

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/pgs-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "count": 12,
        "query": "breast cancer",
        "total": 12,
        "traits": [
            {
                "label": "breast cancer",
                "trait_id": "MONDO_0007254",
                "description": "A primary or metastatic malignant neoplasm involving the breast. The vast majority of cases are carcinomas arising from the breast parenchyma or the nipple. Malignant breast neoplasms occur more frequently in females than in males. [NCIT: C9335]",
                "score_count": 0
            },
            {
                "label": "breast carcinoma",
                "trait_id": "MONDO_0004989",
                "description": "A carcinoma that arises from epithelial cells of the breast",
                "score_count": 144
            },
            {
                "label": "breast tumor luminal A or B",
                "trait_id": "MONDO_0004990",
                "description": "Subsets of breast carcinoma defined by expression of genes characteristic of luminal epithelial cells. [NCIT: C53554] [NCIT: C53555]",
                "score_count": 0
            },
            {
                "label": "estrogen-receptor negative breast cancer",
                "trait_id": "MONDO_0006513",
                "description": "A subtype of breast cancer that is estrogen-receptor negative [EFO: 1000650]",
                "score_count": 11
            },
            {
                "label": "estrogen-receptor positive breast cancer",
                "trait_id": "MONDO_0006512",
                "description": "A subtype of breast cancer that is estrogen-receptor positive [EFO: 1000649]",
                "score_count": 11
            },
            {
                "label": "family history of breast cancer",
                "trait_id": "EFO_0005606",
                "description": "A reported family history of breast cancer in one or more family members.",
                "score_count": 1
            },
            {
                "label": "HER2 positive breast carcinoma",
                "trait_id": "MONDO_0006244",
                "description": "A biologic subset of breast carcinoma defined by high expression of HER2, GRB7, and TRAP100, and by lack of expression of estrogen receptor (ER). [NCIT: C53556]",
                "score_count": 1
            },
            {
                "label": "Her2-receptor negative breast cancer",
                "trait_id": "MONDO_0000618",
                "description": null,
                "score_count": 1
            },
            {
                "label": "luminal A breast carcinoma",
                "trait_id": "MONDO_0021116",
                "description": "A biologic subset of breast carcinoma defined by high expression of genes characteristic of luminal epithelial cells, including estrogen receptor (ER), estrogen regulated protein LIV-1, and the transcription factors hepatocyte nuclear factor 3, HNF3A, XBP1, and GATA 3. This subtype of breast cancer ",
             
…