Getting Started
This guide walks you through the basic steps required to start using Market SQL.
1. Activate Market SQL
Log in to your GetBlock account
Under Products, select Market SQL
Open the Pricing tab and choose an access plan for one dataset:
Free trial — $0 for 2 hours
24-hour trial — $29 for 24 hours
Monthly — $299 per dataset per month
Custom — contact sales
Once access is active, the dataset appears under Your Market SQL access on the Overview tab, with its status and end date.
2. Get your credentials
Market SQL uses HTTP Basic Auth with your existing GetBlock credentials. Both values are shown on the API Docs tab.
Username
Your GetBlock user ID
Password
A GetBlock API key in gb_… format
3. Choose a dataset
Each dataset is a separate database. Pass its name in the database parameter:
Solana
solana
Polymarket
polymarket
Hyperliquid
hyperliquid
Robinhood Chain
robinhood
4. Run your first query
Market SQL exposes the ClickHouse HTTP interface over HTTPS, so you can connect with the tools you already use such as Python or Javascript
Start by inspecting real PumpSwap trades on Solana:
From there, you can filter, aggregate, and join tables to test a hypothesis without waiting for a new endpoint to be built.
5. Response
Explore the catalog in the dashboard
The easiest way to find the right table before writing code is the Datasets tab.
Use it to:
choose a dataset;
search tables by keyword, such as
swaps,wallet, ortoken creation;read each table's description;
copy the table name into your query.
5. Integrate it into your application
Once you know which tables you need, query them from your application, notebook, or data pipeline.
A typical workflow looks like this:
You can track request volume, latency, data transfer, and dataset usage in the Analytics tab.
For endpoint details, parameters, and plan limits, continue to Querying Market SQL or see the API Reference.
Last updated
Was this helpful?