← Back to variant description

GeneBe API Showcase

This page demonstrates how to use the GeneBe API to query variant information. The API provides programmatic access to genomic annotations and variant data.

API presented here should be used for checking single variants. If you want to check many variants at once, please use other API endpoints that you will find in the documentation.

Documentation & Advanced Usage

Complete API documentation:docs.genebe.net/docs/api/overview/

Interactive endpoint tester:api.genebe.net/cloud/gb-api-doc/swagger-ui/

Python client for pandas:pypi.org/project/genebe/

Java CLI for VCF files:github.com/pstawinski/genebe-cli

All tools documented at:docs.genebe.net

API Request Examples for Variant: M-5656-A-G (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=M&pos=5656&ref=A&alt=G&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "M",
      "pos": 5656,
      "ref": "A",
      "alt": "G",
      "effect": "upstream_gene_variant",
      "transcript": "ENST00000361624.2",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-CO1",
          "gene_hgnc_id": 7419,
          "hgvs_c": "c.-248A>G",
          "hgvs_p": null,
          "transcript": "ENST00000361624.2",
          "protein_id": "ENSP00000354499.2",
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 513,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1542,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1542,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-ND2",
          "gene_hgnc_id": 7456,
          "hgvs_c": "c.*145A>G",
          "hgvs_p": null,
          "transcript": "ENST00000361453.3",
          "protein_id": "ENSP00000355046.4",
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 346,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1042,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1042,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COX1",
          "gene_hgnc_id": 7419,
          "hgvs_c": "c.-248A>G",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4799",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 513,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1542,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1542,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRNA",
          "gene_hgnc_id": 7475,
          "hgvs_c": "c.-1T>C",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4795",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 22,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 69,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 69,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-TA",
          "gene_hgnc_id": 7475,
          "hgvs_c": "n.-1T>C",
          "hgvs_p": null,
          "transcript": "ENST00000387392.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 69,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ND2",
          "gene_hgnc_id": 7456,
          "hgvs_c": "c.*145A>G",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4793",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 346,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1042,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1042,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRNN",
          "gene_hgnc_id": 7493,
          "hgvs_c": "c.*1T>C",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4796",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 23,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 73,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 73,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRNW",
          "gene_hgnc_id": 7501,
          "hgvs_c": "c.*77A>G",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4794",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 21,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 68,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 68,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRNC",
          "gene_hgnc_id": 7477,
          "hgvs_c": "c.*105T>C",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4797",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 21,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 66,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 66,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TRNY",
          "gene_hgnc_id": 7502,
          "hgvs_c": "c.*170T>C",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_4798",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 21,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 66,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 66,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-TW",
          "gene_hgnc_id": 7501,
          "hgvs_c": "n.*77A>G",
          "hgvs_p": null,
          "transcript": "ENST00000387382.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 68,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-TN",
          "gene_hgnc_id": 7493,
          "hgvs_c": "n.*1T>C",
          "hgvs_p": null,
          "transcript": "ENST00000387400.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 73,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-TC",
          "gene_hgnc_id": 7477,
          "hgvs_c": "n.*105T>C",
          "hgvs_p": null,
          "transcript": "ENST00000387405.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 66,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MT-TY",
          "gene_hgnc_id": 7502,
          "hgvs_c": "n.*170T>C",
          "hgvs_p": null,
          "transcript": "ENST00000387409.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 66,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MT-CO1",
      "gene_hgnc_id": 7419,
      "dbsnp": "rs41453547",
      "frequency_reference_population": 0.012200001,
      "hom_count_reference_population": 748,
      "allele_count_reference_population": 748,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": 1171,
      "gnomad_mito_heteroplasmic": 0,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": -2.981,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -8,
      "acmg_classification": "Benign",
      "acmg_criteria": "BA1",
      "acmg_by_gene": [
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000361624.2",
          "gene_symbol": "MT-CO1",
          "hgnc_id": 7419,
          "effects": [
            "upstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial,AR,AD",
          "hgvs_c": "c.-248A>G",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000361453.3",
          "gene_symbol": "MT-ND2",
          "hgnc_id": 7456,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial,AR",
          "hgvs_c": "c.*145A>G",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "COX1",
          "hgnc_id": 7419,
          "effects": [
            "upstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial,AR,AD",
          "hgvs_c": "c.-248A>G",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "TRNA",
          "hgnc_id": 7475,
          "effects": [
            "upstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "c.-1T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000387392.1",
          "gene_symbol": "MT-TA",
          "hgnc_id": 7475,
          "effects": [
            "upstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "n.-1T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "ND2",
          "hgnc_id": 7456,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial,AR",
          "hgvs_c": "c.*145A>G",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "TRNN",
          "hgnc_id": 7493,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "c.*1T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "TRNW",
          "hgnc_id": 7501,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "c.*77A>G",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "TRNC",
          "hgnc_id": 7477,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "c.*105T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000000000",
          "gene_symbol": "TRNY",
          "hgnc_id": 7502,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "c.*170T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000387382.1",
          "gene_symbol": "MT-TW",
          "hgnc_id": 7501,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "n.*77A>G",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000387400.1",
          "gene_symbol": "MT-TN",
          "hgnc_id": 7493,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "n.*1T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000387405.1",
          "gene_symbol": "MT-TC",
          "hgnc_id": 7477,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "n.*105T>C",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000387409.1",
          "gene_symbol": "MT-TY",
          "hgnc_id": 7502,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "Mitochondrial",
          "hgvs_c": "n.*170T>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}