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

Search genome assemblies

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

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

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

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

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

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

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

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

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

{
    "data": {
        "count": 20,
        "query": "Homo sapiens",
        "total": 3243,
        "assemblies": [
            {
                "date": null,
                "name": "HG03453_haplotype2_hprc_rel2_verkko2_supp",
                "level": "Chromosome",
                "organism": "Homo sapiens (human)",
                "taxon_id": "9606",
                "accession": "GCA_057084165.1",
                "submitter": "NHGRI/NIH",
                "ucsc_name": null,
                "ensembl_name": null,
                "refseq_category": "na"
            },
            {
                "date": null,
                "name": "HG02293_haplotype1_hprc_rel2_verkko2_supp",
                "level": "Chromosome",
                "organism": "Homo sapiens (human)",
                "taxon_id": "9606",
                "accession": "GCA_057079665.1",
                "submitter": "NHGRI/NIH",
                "ucsc_name": null,
                "ensembl_name": null,
                "refseq_category": "na"
            },
            {
                "date": null,
                "name": "HG03453_haplotype1_hprc_rel2_verkko2_supp",
                "level": "Chromosome",
                "organism": "Homo sapiens (human)",
                "taxon_id": "9606",
                "accession": "GCA_056750235.1",
                "submitter": "NHGRI/NIH",
                "ucsc_name": null,
                "ensembl_name": null,
                "refseq_category": "na"
            },
            {
                "date": null,
                "name": "HG02145_haplotype1_hprc_rel2_verkko2_supp",
                "level": "Chromosome",
                "organism": "Homo sapiens (human)",
                "taxon_id": "9606",
                "accession": "GCA_056750195.1",
                "submitter": "NHGRI/NIH",
                "ucsc_name": null,
                "ensembl_name": null,
                "refseq_category": "na"
            },
            {
                "date": null,
                "name": "HG02523_haplotype1_hprc_rel2_verkko2_supp",
                "level": "Chromosome",
                "organism": "Homo sapiens (human)",
                "taxon_id": "9606",
                "accession": "GCA_056750345.1",
                "submitter": "NHGRI/NIH",
                "ucsc_name": null,
                "ensembl_name": null,
                "refseq_category": "na"
            },
            {
                "date": null,
                "name": "HG02523_haplotype2_hprc_rel2_verkko2_supp",
                "level": "Chromosome",
                "organism": "Homo sapiens (human)",
                "taxon_id": "9606",
                "accession": "GCA_056750355.1",
                "submitter": "NHGRI/NIH",
                "ucsc_name": null,
                "ensembl_name": null,
                "refseq_category": "na"
            },
            {
                "date": null,
                "name": "HG02717_mat_hprc_rel2_verkko2_supp",
                "level": "Chr
…