← 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-17816945-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 17816945,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000317306.8",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "INSL3",
          "gene_hgnc_id": 6086,
          "hgvs_c": "c.305G>A",
          "hgvs_p": "p.Arg102His",
          "transcript": "NM_005543.4",
          "protein_id": "NP_005534.2",
          "transcript_support_level": null,
          "aa_start": 102,
          "aa_end": null,
          "aa_length": 131,
          "cds_start": 305,
          "cds_end": null,
          "cds_length": 396,
          "cdna_start": 318,
          "cdna_end": null,
          "cdna_length": 751,
          "mane_select": "ENST00000317306.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "INSL3",
          "gene_hgnc_id": 6086,
          "hgvs_c": "c.305G>A",
          "hgvs_p": "p.Arg102His",
          "transcript": "ENST00000317306.8",
          "protein_id": "ENSP00000321724.6",
          "transcript_support_level": 1,
          "aa_start": 102,
          "aa_end": null,
          "aa_length": 131,
          "cds_start": 305,
          "cds_end": null,
          "cds_length": 396,
          "cdna_start": 318,
          "cdna_end": null,
          "cdna_length": 751,
          "mane_select": "NM_005543.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "INSL3",
          "gene_hgnc_id": 6086,
          "hgvs_c": "c.400G>A",
          "hgvs_p": "p.Ala134Thr",
          "transcript": "ENST00000379695.5",
          "protein_id": "ENSP00000369017.4",
          "transcript_support_level": 1,
          "aa_start": 134,
          "aa_end": null,
          "aa_length": 157,
          "cds_start": 400,
          "cds_end": null,
          "cds_length": 474,
          "cdna_start": 468,
          "cdna_end": null,
          "cdna_length": 899,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "INSL3",
          "gene_hgnc_id": 6086,
          "hgvs_c": "c.*111G>A",
          "hgvs_p": null,
          "transcript": "ENST00000598577.1",
          "protein_id": "ENSP00000469309.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 70,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 213,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 758,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "INSL3",
          "gene_hgnc_id": 6086,
          "hgvs_c": "c.400G>A",
          "hgvs_p": "p.Ala134Thr",
          "transcript": "NM_001265587.2",
          "protein_id": "NP_001252516.1",
          "transcript_support_level": null,
          "aa_start": 134,
          "aa_end": null,
          "aa_length": 157,
          "cds_start": 400,
          "cds_end": null,
          "cds_length": 474,
          "cdna_start": 413,
          "cdna_end": null,
          "cdna_length": 846,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "INSL3",
      "gene_hgnc_id": 6086,
      "dbsnp": "rs121912556",
      "frequency_reference_population": 0.0004906923,
      "hom_count_reference_population": 6,
      "allele_count_reference_population": 792,
      "gnomad_exomes_af": 0.000509634,
      "gnomad_genomes_af": 0.00030878,
      "gnomad_exomes_ac": 745,
      "gnomad_genomes_ac": 47,
      "gnomad_exomes_homalt": 6,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.39633458852767944,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.228,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0865,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.3,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.258,
      "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": -5,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM5,BP4,BP6,BS1,BS2_Supporting",
      "acmg_by_gene": [
        {
          "score": -5,
          "benign_score": 7,
          "pathogenic_score": 2,
          "criteria": [
            "PM5",
            "BP4",
            "BP6",
            "BS1",
            "BS2_Supporting"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000317306.8",
          "gene_symbol": "INSL3",
          "hgnc_id": 6086,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.305G>A",
          "hgvs_p": "p.Arg102His"
        }
      ],
      "clinvar_disease": "Cryptorchidism,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:2 LB:1",
      "phenotype_combined": "Cryptorchidism|not specified|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}