The VEP can work as an offline or a web tool and it’s also available as REST service. Perfect for integrating into pipelines or displaying data on the web, the REST API VEP endpoints can take input as HGVS, genomic loci or variant identifiers and can interpret common forms of non-standard HGVS. They are all available using both GET and POST protocols, supporting queries on single or multiple variants respectively.
Just like when using the offline tool, you can use the VEP plugins with REST, adding them as optional parameters in the REST query. For example, you can get dbNSFP LRT and MutationTaster predictions by adding the options:
The output is available as JSON, JSONP and XML, making it easy to decode in your chosen programming language, and pick out the data you need. We have an online course on using REST APIs, including instruction on calling REST API endpoints, decoding JSON outputs and using both GET and POST endpoints.