← 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: 3-74285335-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 74285335,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_020872.3",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2674G>C",
          "hgvs_p": "p.Ala892Pro",
          "transcript": "NM_020872.3",
          "protein_id": "NP_065923.1",
          "transcript_support_level": null,
          "aa_start": 892,
          "aa_end": null,
          "aa_length": 1028,
          "cds_start": 2674,
          "cds_end": null,
          "cds_length": 3087,
          "cdna_start": 3023,
          "cdna_end": null,
          "cdna_length": 5269,
          "mane_select": "ENST00000263665.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_020872.3"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2674G>C",
          "hgvs_p": "p.Ala892Pro",
          "transcript": "ENST00000263665.7",
          "protein_id": "ENSP00000263665.6",
          "transcript_support_level": 1,
          "aa_start": 892,
          "aa_end": null,
          "aa_length": 1028,
          "cds_start": 2674,
          "cds_end": null,
          "cds_length": 3087,
          "cdna_start": 3023,
          "cdna_end": null,
          "cdna_length": 5269,
          "mane_select": "NM_020872.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000263665.7"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2674G>C",
          "hgvs_p": "p.Ala892Pro",
          "transcript": "NM_001393376.1",
          "protein_id": "NP_001380305.1",
          "transcript_support_level": null,
          "aa_start": 892,
          "aa_end": null,
          "aa_length": 1028,
          "cds_start": 2674,
          "cds_end": null,
          "cds_length": 3087,
          "cdna_start": 3666,
          "cdna_end": null,
          "cdna_length": 5912,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001393376.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2668G>C",
          "hgvs_p": "p.Ala890Pro",
          "transcript": "ENST00000962150.1",
          "protein_id": "ENSP00000632209.1",
          "transcript_support_level": null,
          "aa_start": 890,
          "aa_end": null,
          "aa_length": 1026,
          "cds_start": 2668,
          "cds_end": null,
          "cds_length": 3081,
          "cdna_start": 3055,
          "cdna_end": null,
          "cdna_length": 3528,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000962150.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2359G>C",
          "hgvs_p": "p.Ala787Pro",
          "transcript": "ENST00000962149.1",
          "protein_id": "ENSP00000632208.1",
          "transcript_support_level": null,
          "aa_start": 787,
          "aa_end": null,
          "aa_length": 923,
          "cds_start": 2359,
          "cds_end": null,
          "cds_length": 2772,
          "cdna_start": 2747,
          "cdna_end": null,
          "cdna_length": 4019,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000962149.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2182G>C",
          "hgvs_p": "p.Ala728Pro",
          "transcript": "ENST00000906976.1",
          "protein_id": "ENSP00000577035.1",
          "transcript_support_level": null,
          "aa_start": 728,
          "aa_end": null,
          "aa_length": 864,
          "cds_start": 2182,
          "cds_end": null,
          "cds_length": 2595,
          "cdna_start": 2302,
          "cdna_end": null,
          "cdna_length": 3587,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000906976.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2674G>C",
          "hgvs_p": "p.Ala892Pro",
          "transcript": "XM_011533768.3",
          "protein_id": "XP_011532070.1",
          "transcript_support_level": null,
          "aa_start": 892,
          "aa_end": null,
          "aa_length": 1028,
          "cds_start": 2674,
          "cds_end": null,
          "cds_length": 3087,
          "cdna_start": 6333,
          "cdna_end": null,
          "cdna_length": 8579,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011533768.3"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.2500G>C",
          "hgvs_p": "p.Ala834Pro",
          "transcript": "XM_017006508.2",
          "protein_id": "XP_016861997.1",
          "transcript_support_level": null,
          "aa_start": 834,
          "aa_end": null,
          "aa_length": 970,
          "cds_start": 2500,
          "cds_end": null,
          "cds_length": 2913,
          "cdna_start": 2611,
          "cdna_end": null,
          "cdna_length": 4857,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017006508.2"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNTN3",
          "gene_hgnc_id": 2173,
          "hgvs_c": "c.1348G>C",
          "hgvs_p": "p.Ala450Pro",
          "transcript": "XM_017006509.1",
          "protein_id": "XP_016861998.1",
          "transcript_support_level": null,
          "aa_start": 450,
          "aa_end": null,
          "aa_length": 586,
          "cds_start": 1348,
          "cds_end": null,
          "cds_length": 1761,
          "cdna_start": 1381,
          "cdna_end": null,
          "cdna_length": 3627,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017006509.1"
        }
      ],
      "gene_symbol": "CNTN3",
      "gene_hgnc_id": 2173,
      "dbsnp": "rs375992095",
      "frequency_reference_population": 0.0000013723953,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.0000013724,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.08686712384223938,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.045,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1382,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.47,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.719,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_020872.3",
          "gene_symbol": "CNTN3",
          "hgnc_id": 2173,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.2674G>C",
          "hgvs_p": "p.Ala892Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.