← 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: 1-21847362-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 21847362,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000374695.8",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 62,
          "exon_rank_end": null,
          "exon_count": 97,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8156G>A",
          "hgvs_p": "p.Ser2719Asn",
          "transcript": "NM_005529.7",
          "protein_id": "NP_005520.4",
          "transcript_support_level": null,
          "aa_start": 2719,
          "aa_end": null,
          "aa_length": 4391,
          "cds_start": 8156,
          "cds_end": null,
          "cds_length": 13176,
          "cdna_start": 8249,
          "cdna_end": null,
          "cdna_length": 14341,
          "mane_select": "ENST00000374695.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 62,
          "exon_rank_end": null,
          "exon_count": 97,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8156G>A",
          "hgvs_p": "p.Ser2719Asn",
          "transcript": "ENST00000374695.8",
          "protein_id": "ENSP00000363827.3",
          "transcript_support_level": 1,
          "aa_start": 2719,
          "aa_end": null,
          "aa_length": 4391,
          "cds_start": 8156,
          "cds_end": null,
          "cds_length": 13176,
          "cdna_start": 8249,
          "cdna_end": null,
          "cdna_length": 14341,
          "mane_select": "NM_005529.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 62,
          "exon_rank_end": null,
          "exon_count": 97,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8159G>A",
          "hgvs_p": "p.Ser2720Asn",
          "transcript": "NM_001291860.2",
          "protein_id": "NP_001278789.1",
          "transcript_support_level": null,
          "aa_start": 2720,
          "aa_end": null,
          "aa_length": 4392,
          "cds_start": 8159,
          "cds_end": null,
          "cds_length": 13179,
          "cdna_start": 8252,
          "cdna_end": null,
          "cdna_length": 14344,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 102,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8705G>A",
          "hgvs_p": "p.Ser2902Asn",
          "transcript": "XM_011541318.3",
          "protein_id": "XP_011539620.1",
          "transcript_support_level": null,
          "aa_start": 2902,
          "aa_end": null,
          "aa_length": 4574,
          "cds_start": 8705,
          "cds_end": null,
          "cds_length": 13725,
          "cdna_start": 8798,
          "cdna_end": null,
          "cdna_length": 14890,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 66,
          "exon_rank_end": null,
          "exon_count": 101,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8654G>A",
          "hgvs_p": "p.Ser2885Asn",
          "transcript": "XM_047419080.1",
          "protein_id": "XP_047275036.1",
          "transcript_support_level": null,
          "aa_start": 2885,
          "aa_end": null,
          "aa_length": 4557,
          "cds_start": 8654,
          "cds_end": null,
          "cds_length": 13674,
          "cdna_start": 8747,
          "cdna_end": null,
          "cdna_length": 14839,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 66,
          "exon_rank_end": null,
          "exon_count": 101,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8651G>A",
          "hgvs_p": "p.Ser2884Asn",
          "transcript": "XM_047419090.1",
          "protein_id": "XP_047275046.1",
          "transcript_support_level": null,
          "aa_start": 2884,
          "aa_end": null,
          "aa_length": 4556,
          "cds_start": 8651,
          "cds_end": null,
          "cds_length": 13671,
          "cdna_start": 8744,
          "cdna_end": null,
          "cdna_length": 14836,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 63,
          "exon_rank_end": null,
          "exon_count": 98,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8351G>A",
          "hgvs_p": "p.Ser2784Asn",
          "transcript": "XM_017001120.1",
          "protein_id": "XP_016856609.1",
          "transcript_support_level": null,
          "aa_start": 2784,
          "aa_end": null,
          "aa_length": 4456,
          "cds_start": 8351,
          "cds_end": null,
          "cds_length": 13371,
          "cdna_start": 8366,
          "cdna_end": null,
          "cdna_length": 14458,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 63,
          "exon_rank_end": null,
          "exon_count": 98,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8348G>A",
          "hgvs_p": "p.Ser2783Asn",
          "transcript": "XM_047419091.1",
          "protein_id": "XP_047275047.1",
          "transcript_support_level": null,
          "aa_start": 2783,
          "aa_end": null,
          "aa_length": 4455,
          "cds_start": 8348,
          "cds_end": null,
          "cds_length": 13368,
          "cdna_start": 8363,
          "cdna_end": null,
          "cdna_length": 14455,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 62,
          "exon_rank_end": null,
          "exon_count": 97,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8300G>A",
          "hgvs_p": "p.Ser2767Asn",
          "transcript": "XM_017001121.1",
          "protein_id": "XP_016856610.1",
          "transcript_support_level": null,
          "aa_start": 2767,
          "aa_end": null,
          "aa_length": 4439,
          "cds_start": 8300,
          "cds_end": null,
          "cds_length": 13320,
          "cdna_start": 8315,
          "cdna_end": null,
          "cdna_length": 14407,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 62,
          "exon_rank_end": null,
          "exon_count": 97,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "c.8297G>A",
          "hgvs_p": "p.Ser2766Asn",
          "transcript": "XM_017001122.1",
          "protein_id": "XP_016856611.1",
          "transcript_support_level": null,
          "aa_start": 2766,
          "aa_end": null,
          "aa_length": 4438,
          "cds_start": 8297,
          "cds_end": null,
          "cds_length": 13317,
          "cdna_start": 8312,
          "cdna_end": null,
          "cdna_length": 14404,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HSPG2",
          "gene_hgnc_id": 5273,
          "hgvs_c": "n.401G>A",
          "hgvs_p": null,
          "transcript": "ENST00000453796.1",
          "protein_id": null,
          "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": 621,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "HSPG2",
      "gene_hgnc_id": 5273,
      "dbsnp": "rs139042516",
      "frequency_reference_population": 0.00025092222,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 405,
      "gnomad_exomes_af": 0.000147092,
      "gnomad_genomes_af": 0.00124693,
      "gnomad_exomes_ac": 215,
      "gnomad_genomes_ac": 190,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 1,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.00677722692489624,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.089,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0773,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.58,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -2.11,
      "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": -16,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS1",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000374695.8",
          "gene_symbol": "HSPG2",
          "hgnc_id": 5273,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.8156G>A",
          "hgvs_p": "p.Ser2719Asn"
        }
      ],
      "clinvar_disease": "HSPG2-related disorder,Inborn genetic diseases,not provided,not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:4",
      "phenotype_combined": "not provided|not specified|HSPG2-related disorder|Inborn genetic diseases",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}