← 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: 19-41970296-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 41970296,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000648268.1",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2431T>C",
          "hgvs_p": "p.Ser811Pro",
          "transcript": "NM_152296.5",
          "protein_id": "NP_689509.1",
          "transcript_support_level": null,
          "aa_start": 811,
          "aa_end": null,
          "aa_length": 1013,
          "cds_start": 2431,
          "cds_end": null,
          "cds_length": 3042,
          "cdna_start": 2585,
          "cdna_end": null,
          "cdna_length": 3551,
          "mane_select": "ENST00000648268.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2431T>C",
          "hgvs_p": "p.Ser811Pro",
          "transcript": "ENST00000648268.1",
          "protein_id": "ENSP00000498113.1",
          "transcript_support_level": null,
          "aa_start": 811,
          "aa_end": null,
          "aa_length": 1013,
          "cds_start": 2431,
          "cds_end": null,
          "cds_length": 3042,
          "cdna_start": 2585,
          "cdna_end": null,
          "cdna_length": 3551,
          "mane_select": "NM_152296.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000285505",
          "gene_hgnc_id": null,
          "hgvs_c": "n.2431T>C",
          "hgvs_p": null,
          "transcript": "ENST00000644613.1",
          "protein_id": "ENSP00000494711.1",
          "transcript_support_level": null,
          "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": 3536,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2470T>C",
          "hgvs_p": "p.Ser824Pro",
          "transcript": "NM_001256214.2",
          "protein_id": "NP_001243143.1",
          "transcript_support_level": null,
          "aa_start": 824,
          "aa_end": null,
          "aa_length": 1026,
          "cds_start": 2470,
          "cds_end": null,
          "cds_length": 3081,
          "cdna_start": 2624,
          "cdna_end": null,
          "cdna_length": 3590,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2470T>C",
          "hgvs_p": "p.Ser824Pro",
          "transcript": "ENST00000545399.6",
          "protein_id": "ENSP00000444688.1",
          "transcript_support_level": 2,
          "aa_start": 824,
          "aa_end": null,
          "aa_length": 1026,
          "cds_start": 2470,
          "cds_end": null,
          "cds_length": 3081,
          "cdna_start": 2664,
          "cdna_end": null,
          "cdna_length": 3628,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2464T>C",
          "hgvs_p": "p.Ser822Pro",
          "transcript": "NM_001256213.2",
          "protein_id": "NP_001243142.1",
          "transcript_support_level": null,
          "aa_start": 822,
          "aa_end": null,
          "aa_length": 1024,
          "cds_start": 2464,
          "cds_end": null,
          "cds_length": 3075,
          "cdna_start": 2500,
          "cdna_end": null,
          "cdna_length": 3466,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2464T>C",
          "hgvs_p": "p.Ser822Pro",
          "transcript": "ENST00000543770.5",
          "protein_id": "ENSP00000437577.1",
          "transcript_support_level": 2,
          "aa_start": 822,
          "aa_end": null,
          "aa_length": 1024,
          "cds_start": 2464,
          "cds_end": null,
          "cds_length": 3075,
          "cdna_start": 2500,
          "cdna_end": null,
          "cdna_length": 3427,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2341T>C",
          "hgvs_p": "p.Ser781Pro",
          "transcript": "ENST00000602133.5",
          "protein_id": "ENSP00000471581.1",
          "transcript_support_level": 2,
          "aa_start": 781,
          "aa_end": null,
          "aa_length": 983,
          "cds_start": 2341,
          "cds_end": null,
          "cds_length": 2952,
          "cdna_start": 2494,
          "cdna_end": null,
          "cdna_length": 3458,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "c.2341T>C",
          "hgvs_p": "p.Ser781Pro",
          "transcript": "XM_047438862.1",
          "protein_id": "XP_047294818.1",
          "transcript_support_level": null,
          "aa_start": 781,
          "aa_end": null,
          "aa_length": 983,
          "cds_start": 2341,
          "cds_end": null,
          "cds_length": 2952,
          "cdna_start": 2444,
          "cdna_end": null,
          "cdna_length": 3410,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATP1A3",
          "gene_hgnc_id": 801,
          "hgvs_c": "n.2431T>C",
          "hgvs_p": null,
          "transcript": "ENST00000441343.5",
          "protein_id": "ENSP00000411503.1",
          "transcript_support_level": 2,
          "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": 3818,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ATP1A3",
      "gene_hgnc_id": 801,
      "dbsnp": "rs387907282",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "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": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9736284017562866,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.965,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9971,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.53,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 6.057,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 11,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM1,PM2,PP2,PP3_Strong,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PM1",
            "PM2",
            "PP2",
            "PP3_Strong",
            "PP5_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000648268.1",
          "gene_symbol": "ATP1A3",
          "hgnc_id": 801,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2431T>C",
          "hgvs_p": "p.Ser811Pro"
        },
        {
          "score": 8,
          "benign_score": 0,
          "pathogenic_score": 8,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5_Moderate"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000644613.1",
          "gene_symbol": "ENSG00000285505",
          "hgnc_id": null,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.2431T>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Alternating hemiplegia of childhood 2,Dystonia 12",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Alternating hemiplegia of childhood 2|Dystonia 12",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}