← 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: 20-62138276-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 62138276,
      "ref": "A",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "NM_002792.4",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.486T>A",
          "hgvs_p": "p.Gly162Gly",
          "transcript": "NM_002792.4",
          "protein_id": "NP_002783.1",
          "transcript_support_level": null,
          "aa_start": 162,
          "aa_end": null,
          "aa_length": 248,
          "cds_start": 486,
          "cds_end": null,
          "cds_length": 747,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000370873.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_002792.4"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.486T>A",
          "hgvs_p": "p.Gly162Gly",
          "transcript": "ENST00000370873.9",
          "protein_id": "ENSP00000359910.4",
          "transcript_support_level": 1,
          "aa_start": 162,
          "aa_end": null,
          "aa_length": 248,
          "cds_start": 486,
          "cds_end": null,
          "cds_length": 747,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_002792.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000370873.9"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.474T>A",
          "hgvs_p": "p.Gly158Gly",
          "transcript": "ENST00000867843.1",
          "protein_id": "ENSP00000537902.1",
          "transcript_support_level": null,
          "aa_start": 158,
          "aa_end": null,
          "aa_length": 244,
          "cds_start": 474,
          "cds_end": null,
          "cds_length": 735,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000867843.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.468T>A",
          "hgvs_p": "p.Gly156Gly",
          "transcript": "ENST00000931805.1",
          "protein_id": "ENSP00000601864.1",
          "transcript_support_level": null,
          "aa_start": 156,
          "aa_end": null,
          "aa_length": 242,
          "cds_start": 468,
          "cds_end": null,
          "cds_length": 729,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931805.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.486T>A",
          "hgvs_p": "p.Gly162Gly",
          "transcript": "ENST00000867844.1",
          "protein_id": "ENSP00000537903.1",
          "transcript_support_level": null,
          "aa_start": 162,
          "aa_end": null,
          "aa_length": 227,
          "cds_start": 486,
          "cds_end": null,
          "cds_length": 684,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000867844.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.363T>A",
          "hgvs_p": "p.Gly121Gly",
          "transcript": "ENST00000931806.1",
          "protein_id": "ENSP00000601865.1",
          "transcript_support_level": null,
          "aa_start": 121,
          "aa_end": null,
          "aa_length": 207,
          "cds_start": 363,
          "cds_end": null,
          "cds_length": 624,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931806.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.261T>A",
          "hgvs_p": "p.Gly87Gly",
          "transcript": "ENST00000442551.5",
          "protein_id": "ENSP00000397047.1",
          "transcript_support_level": 3,
          "aa_start": 87,
          "aa_end": null,
          "aa_length": 186,
          "cds_start": 261,
          "cds_end": null,
          "cds_length": 561,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000442551.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.276T>A",
          "hgvs_p": "p.Gly92Gly",
          "transcript": "ENST00000370861.1",
          "protein_id": "ENSP00000359898.1",
          "transcript_support_level": 5,
          "aa_start": 92,
          "aa_end": null,
          "aa_length": 178,
          "cds_start": 276,
          "cds_end": null,
          "cds_length": 537,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000370861.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.471+799T>A",
          "hgvs_p": null,
          "transcript": "ENST00000931802.1",
          "protein_id": "ENSP00000601861.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 208,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 627,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931802.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.471+799T>A",
          "hgvs_p": null,
          "transcript": "ENST00000931804.1",
          "protein_id": "ENSP00000601863.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 187,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 564,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931804.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.349-850T>A",
          "hgvs_p": null,
          "transcript": "ENST00000931803.1",
          "protein_id": "ENSP00000601862.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 167,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 504,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931803.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "c.97-1327T>A",
          "hgvs_p": null,
          "transcript": "ENST00000931807.1",
          "protein_id": "ENSP00000601866.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 62,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 189,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931807.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "n.708T>A",
          "hgvs_p": null,
          "transcript": "ENST00000484488.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000484488.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PSMA7",
          "gene_hgnc_id": 9536,
          "hgvs_c": "n.337T>A",
          "hgvs_p": null,
          "transcript": "ENST00000486193.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000486193.1"
        }
      ],
      "gene_symbol": "PSMA7",
      "gene_hgnc_id": 9536,
      "dbsnp": "rs1135961",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": 6.85397e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.28999999165534973,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.29,
      "revel_prediction": "Benign",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.36,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.383,
      "phylop100way_prediction": "Benign",
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4,BP7",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4",
            "BP7"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_002792.4",
          "gene_symbol": "PSMA7",
          "hgnc_id": 9536,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.486T>A",
          "hgvs_p": "p.Gly162Gly"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}