query string. Examples: "rs58991260", "chr1:69000-70000", "dbsnp.vartype:snp". The detailed query syntax can be found at http://docs.myvariant.info/en/latest/doc/variant_query_service.html#query-syntax
a comma-separated fields to limit the fields returned from the matching gene hits. The supported field names can be found from any variant object (e.g. http://myvariant.info/v1/variant/chr16:g.28883241A>G). Note that it supports dot notation, and wildcards as well, e.g., you can pass "dbnsfp", "dbnsfp.genename", or "dbnsfp.aa.*". If "fields=all", all available fields will be returned. Default: "all".
the maximum number of matching gene hits to return (with a cap of 1000 at the moment). Default: 10.
the number of matching gene hits to skip, starting from 0. Combining with "size" parameter, this can be useful for paging. Default: 0.
the comma-separated fields to sort on. Prefix with "-" for descending order, otherwise in ascending order. Default: sort by matching scores in decending order.
a single field or comma-separated fields to return facets, for example, “facets=dbsnp.vartype.
if TRUE, allows fast retrieval of all unsorted query hits in 1000 hit batches. The return object contains a _scroll_id field, which when passed back to the query endpoint in the scroll_id parameter, returns the next 1000 unordered results.
the scroll_id from a previous request with fetch_all = TRUE. When this request is made, the response contains the next 1000 unordered query hits from your query (until no hits are left to return). As the query was supplied in the original query request (with fetch_all = TRUE), the query (q parameter) is ignored if scroll_id is supplied.
you can pass a "callback" parameter to make a JSONP call.
If you are regular users of our services, we encourage you to provide us an email, so that we can better track the usage or follow up with you.
multiple query terms seperated by comma (also support "+" or white space), but no wildcard, e.g., "q=rs58991260,rs2500"
specify one or more fields (separated by comma) as the search "scopes", e.g., "scopes=dbsnp.rsid", "scopes=dbsnp.rsid,dbnsfp.genename". The available "fields" can be passed to "scopes" parameter are listed here: (coming soon).
HGVS name based variant id, using genomic location based on hg19 human genome assembly, e.g. chr1:g.35367G>A, chr7:g.55241707G>T, chr16:g.28883241A>G
multiple variantids seperated by comma, e.g., "ids=chr1:g.35367C>T,chr7:g.55241707G>T,chr16:g.28883241A>G". Note that currently we only take the input ids up to 1000 maximum, the rest will be omitted.