...
To use the SQL endpoint, make a POST request to the SQL endpoint using one of the three possible data formats (JSON, XML, or PHP). This may seem odd as retrieving data is usually done via a GET request, however, SQL statements can become quite long and, to avoid issues with URL maximum lengths, we have decided to utilize POST requests for this functionality.
Click the Headers link for more information on the API Header. Click the Making a Request link for the basics of initiating a request.
...
Using the Data Dictionary
Please see the Data Dictionary for the structure of the database which will assist in creating queries.
...