Skip to content

Getting Started with Transpose SQL

If you're brand new to Transpose, we recommend checking our our Quick Start Guide.

Quickstart Guide

Get started with both our REST and SQL Analytics APIs in less than 5 minutes.

Get started in three easy steps

  1. Sign up for a free key through our webapp at app.transpose.io

  2. Create a new POST request, and include your API key in the header as X-API-KEY.

  3. Submit a valid SQL query in the body of the POST request to our SQL endpoint as sql. Note that all of our table names are namespaced to a specific chain (i.e. ethereum.nft_sales).

SQL Query
SELECT * FROM ethereum.nft_sales ORDER BY timestamp DESC LIMIT 10;

curl --request POST \
     --data '{"sql": "SELECT * FROM ethereum.nft_sales ORDER BY timestamp DESC LIMIT 10;"}' \
     --url 'https://api.transpose.io/sql' \
     --header 'Content-Type: application/json' \
     --header 'x-api-key: BtRVYj7dgnYUcr1gSSfWhmrTShIb8RBG' \

Got questions? Join our Discord

Discord is the primary home of the Transpose developer community. Join us to ask questions, share your work, and get help.