← 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: 4-69944874-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 69944874,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "NM_001890.2",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.427G>A",
          "hgvs_p": "p.Ala143Thr",
          "transcript": "NM_001890.2",
          "protein_id": "NP_001881.1",
          "transcript_support_level": null,
          "aa_start": 143,
          "aa_end": null,
          "aa_length": 185,
          "cds_start": 427,
          "cds_end": null,
          "cds_length": 558,
          "cdna_start": 489,
          "cdna_end": null,
          "cdna_length": 998,
          "mane_select": "ENST00000246891.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.427G>A",
          "hgvs_p": "p.Ala143Thr",
          "transcript": "ENST00000246891.9",
          "protein_id": "ENSP00000246891.4",
          "transcript_support_level": 1,
          "aa_start": 143,
          "aa_end": null,
          "aa_length": 185,
          "cds_start": 427,
          "cds_end": null,
          "cds_length": 558,
          "cdna_start": 489,
          "cdna_end": null,
          "cdna_length": 998,
          "mane_select": "NM_001890.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.403G>A",
          "hgvs_p": "p.Ala135Thr",
          "transcript": "ENST00000507772.5",
          "protein_id": "ENSP00000427490.1",
          "transcript_support_level": 5,
          "aa_start": 135,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": 403,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": 403,
          "cdna_end": null,
          "cdna_length": 895,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.400G>A",
          "hgvs_p": "p.Ala134Thr",
          "transcript": "NM_001025104.2",
          "protein_id": "NP_001020275.1",
          "transcript_support_level": null,
          "aa_start": 134,
          "aa_end": null,
          "aa_length": 176,
          "cds_start": 400,
          "cds_end": null,
          "cds_length": 531,
          "cdna_start": 462,
          "cdna_end": null,
          "cdna_length": 971,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.400G>A",
          "hgvs_p": "p.Ala134Thr",
          "transcript": "ENST00000507763.5",
          "protein_id": "ENSP00000422611.1",
          "transcript_support_level": 5,
          "aa_start": 134,
          "aa_end": null,
          "aa_length": 176,
          "cds_start": 400,
          "cds_end": null,
          "cds_length": 531,
          "cdna_start": 411,
          "cdna_end": null,
          "cdna_length": 597,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.379G>A",
          "hgvs_p": "p.Ala127Thr",
          "transcript": "ENST00000505782.5",
          "protein_id": "ENSP00000426684.1",
          "transcript_support_level": 5,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 169,
          "cds_start": 379,
          "cds_end": null,
          "cds_length": 510,
          "cdna_start": 379,
          "cdna_end": null,
          "cdna_length": 871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.100G>A",
          "hgvs_p": "p.Ala34Thr",
          "transcript": "ENST00000510936.1",
          "protein_id": "ENSP00000421314.1",
          "transcript_support_level": 3,
          "aa_start": 34,
          "aa_end": null,
          "aa_length": 76,
          "cds_start": 100,
          "cds_end": null,
          "cds_length": 231,
          "cdna_start": 100,
          "cdna_end": null,
          "cdna_length": 596,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.424G>A",
          "hgvs_p": "p.Ala142Thr",
          "transcript": "XM_006714089.3",
          "protein_id": "XP_006714152.1",
          "transcript_support_level": null,
          "aa_start": 142,
          "aa_end": null,
          "aa_length": 184,
          "cds_start": 424,
          "cds_end": null,
          "cds_length": 555,
          "cdna_start": 486,
          "cdna_end": null,
          "cdna_length": 995,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.403G>A",
          "hgvs_p": "p.Ala135Thr",
          "transcript": "XM_006714090.3",
          "protein_id": "XP_006714153.1",
          "transcript_support_level": null,
          "aa_start": 135,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": 403,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": 465,
          "cdna_end": null,
          "cdna_length": 974,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSN1S1",
          "gene_hgnc_id": 2445,
          "hgvs_c": "c.400G>A",
          "hgvs_p": "p.Ala134Thr",
          "transcript": "XM_006714091.3",
          "protein_id": "XP_006714154.1",
          "transcript_support_level": null,
          "aa_start": 134,
          "aa_end": null,
          "aa_length": 176,
          "cds_start": 400,
          "cds_end": null,
          "cds_length": 531,
          "cdna_start": 462,
          "cdna_end": null,
          "cdna_length": 971,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CSN1S1",
      "gene_hgnc_id": 2445,
      "dbsnp": "rs373734099",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": 0,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 0,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.09758442640304565,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.034,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.139,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.58,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.386,
      "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_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_001890.2",
          "gene_symbol": "CSN1S1",
          "hgnc_id": 2445,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.427G>A",
          "hgvs_p": "p.Ala143Thr"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}