← 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: X-74740920-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 74740920,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_001008537.3",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXMIF",
          "gene_hgnc_id": 29433,
          "hgvs_c": "c.3637G>A",
          "hgvs_p": "p.Gly1213Ser",
          "transcript": "NM_001008537.3",
          "protein_id": "NP_001008537.1",
          "transcript_support_level": null,
          "aa_start": 1213,
          "aa_end": null,
          "aa_length": 1516,
          "cds_start": 3637,
          "cds_end": null,
          "cds_length": 4551,
          "cdna_start": 4254,
          "cdna_end": null,
          "cdna_length": 11717,
          "mane_select": "ENST00000055682.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXMIF",
          "gene_hgnc_id": 29433,
          "hgvs_c": "c.3637G>A",
          "hgvs_p": "p.Gly1213Ser",
          "transcript": "ENST00000055682.12",
          "protein_id": "ENSP00000055682.5",
          "transcript_support_level": 1,
          "aa_start": 1213,
          "aa_end": null,
          "aa_length": 1516,
          "cds_start": 3637,
          "cds_end": null,
          "cds_length": 4551,
          "cdna_start": 4254,
          "cdna_end": null,
          "cdna_length": 11717,
          "mane_select": "NM_001008537.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXMIF",
          "gene_hgnc_id": 29433,
          "hgvs_c": "c.3637G>A",
          "hgvs_p": "p.Gly1213Ser",
          "transcript": "ENST00000616200.2",
          "protein_id": "ENSP00000480284.1",
          "transcript_support_level": 1,
          "aa_start": 1213,
          "aa_end": null,
          "aa_length": 1516,
          "cds_start": 3637,
          "cds_end": null,
          "cds_length": 4551,
          "cdna_start": 4254,
          "cdna_end": null,
          "cdna_length": 9583,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "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": "NEXMIF",
          "gene_hgnc_id": 29433,
          "hgvs_c": "c.3637G>A",
          "hgvs_p": "p.Gly1213Ser",
          "transcript": "ENST00000642681.2",
          "protein_id": "ENSP00000495800.1",
          "transcript_support_level": null,
          "aa_start": 1213,
          "aa_end": null,
          "aa_length": 1486,
          "cds_start": 3637,
          "cds_end": null,
          "cds_length": 4461,
          "cdna_start": 4274,
          "cdna_end": null,
          "cdna_length": 12338,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NEXMIF",
      "gene_hgnc_id": 29433,
      "dbsnp": "rs757442837",
      "frequency_reference_population": 0.00008098451,
      "hom_count_reference_population": 40,
      "allele_count_reference_population": 98,
      "gnomad_exomes_af": 0.0000856049,
      "gnomad_genomes_af": 0.0000357015,
      "gnomad_exomes_ac": 94,
      "gnomad_genomes_ac": 4,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.05991452932357788,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.023,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0692,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.96,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.212,
      "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,BS2",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_001008537.3",
          "gene_symbol": "NEXMIF",
          "hgnc_id": 29433,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,XL",
          "hgvs_c": "c.3637G>A",
          "hgvs_p": "p.Gly1213Ser"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:1",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}