619d7563efb2f65ce421d9e40cb1965584ef1d78 max Sun Oct 4 05:51:58 2026 -0700 api.html: document the /blat endpoint (query types, apiKey, parameters, limits, output formats), refs #36315 diff --git src/hg/htdocs/goldenPath/help/api.html src/hg/htdocs/goldenPath/help/api.html index adde9db564a..460b66ee614 100755 --- src/hg/htdocs/goldenPath/help/api.html +++ src/hg/htdocs/goldenPath/help/api.html @@ -9,30 +9,31 @@

Contents

Why you may not want to use this API
What are REST and JSON?
What is the access URL?
What type of data can be accessed?
Endpoint functions
Parameters to endpoint functions
Required and optional parameters
Supported track types
Using the API on mirrors and local installations
Example data access, list functions
Example data access, getData functions
Example data access, Search functions
+
The /blat endpoint
Error return examples
Practical examples

Why you may not want to use this API

Genomic data is considerably large, and computational biologists generally need all the data that is available for their analyses. Web APIs, as a technology, were designed for retrieving relatively small pieces of data, often from Javascript. Consequently, Web APIs may not be the best way to get data from the UCSC Genome Browser.

For this reason, we also provide alternative methods to access our data:

Note: BLAT also supports programmatic URL queries which return in JSON format. See our BLAT FAQ for more info.

Endpoint functions to return data

The URL https://api.genome.ucsc.edu/ is used to access the endpoint functions. For example:

     curl -L 'https://api.genome.ucsc.edu/list/ucscGenomes'
 

@@ -141,30 +144,33 @@

Parameters to endpoint functions