For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting Started

This guide walks you through the basic steps required to start using Market SQL.

1. Activate Market SQL

  1. Log in to your GetBlock account

  2. Under Products, select Market SQL

  3. 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

  1. Once access is active, the dataset appears under Your Market SQL access on the Overview tab, with its status and end date.

Each plan covers one dataset. To query more than one dataset, activate each one separately.

2. Get your credentials

Market SQL uses HTTP Basic Auth with your existing GetBlock credentials. Both values are shown on the API Docs tab.

Field
Value

Username

Your GetBlock user ID

Password

A GetBlock API key in gb_… format

The user ID must belong to the account that owns the API key. Need an API key? You can create one with Create API key on the API Docs tab.

3. Choose a dataset

Each dataset is a separate database. Pass its name in the database parameter:

Dataset
Database name

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:

  1. choose a dataset;

  2. search tables by keyword, such as swaps, wallet, or token creation;

  3. read each table's description;

  4. 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?