> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sqd.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 110+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> For Portal availability errors, stalled streams, or rate limiting, read https://status.sqd.dev/status.md. The status index at https://status.sqd.dev/llms.txt explains network and plan filters.
> Every page on this site is available as Markdown by appending .md to its URL.

# Developer resources

> API, specification, MCP servers, SDKs, and agent files, at predictable URLs.

Everything needed to build against SQD, at predictable URLs. If you are an
agent, start with [llms.txt](https://docs.sqd.dev/llms.txt) and
[openapi.json](https://docs.sqd.dev/openapi.json).

## The API

The Portal is a plain HTTP API serving onchain data from 110+ networks. No
node, archive, or indexer of your own.

| Resource | URL |
| - | - |
| Base URL | `https://portal.sqd.dev` |
| OpenAPI specification | [openapi.json](https://docs.sqd.dev/openapi.json) |
| Reference and playground | [Portal API reference](https://docs.sqd.dev/en/api/evm/introduction.md) |
| First query | [Portal quickstart](https://docs.sqd.dev/en/portal/evm/quickstart.md) |
| Dataset list | `GET https://portal.sqd.dev/datasets` |

Your first request, which needs nothing installed:

```bash theme={"system"}
curl -s -X POST https://portal.sqd.dev/datasets/ethereum-mainnet/stream \
  -H 'content-type: application/json' \
  -d '{"type":"evm","fromBlock":18000000,"toBlock":18000000,
       "fields":{"block":{"number":true,"timestamp":true}}}'
```

Responses to the stream endpoints are [JSON Lines](https://jsonlines.org), read
incrementally rather than buffered whole.

### Access

The public Portal is shared capacity, intended for development and bounded
evaluation. Authenticated and dedicated portals take an API key in the
`x-api-key` header, with identical paths and payloads. [Pricing](https://docs.sqd.dev/en/portal/pricing.md)
lists the plans: two free plans, Starter at \$99/mo, Growth at \$499/mo, and
custom Enterprise.

### Behaviour to code against

* [Error handling](https://docs.sqd.dev/en/portal/introduction/error-handling.md): the single error
  envelope, the four error types, and when to retry.
* [Versioning and change policy](https://docs.sqd.dev/en/portal/introduction/versioning.md): what is
  stable, and how deprecations are announced.
* [Finalized and recent data](https://docs.sqd.dev/en/portal/introduction/finalized-and-recent-data.md)
  and [blockchain forks](https://docs.sqd.dev/en/portal/introduction/blockchain-forks.md): following
  the chain head without diverging on a reorg.

## MCP servers

Two servers, for two different jobs.

| Server | Endpoint | Use it for |
| - | - | - |
| [Portal MCP](https://docs.sqd.dev/en/ai/mcp-server.md) | `https://portal.sqd.dev/mcp` | Querying onchain data as agent tools |
| [Documentation MCP](https://docs.sqd.dev/en/ai/mcp-server-docs.md) | Docs search | Answering questions from these docs |

The Portal MCP server exposes 31 tools covering EVM, Solana, Bitcoin,
Substrate, Hyperliquid, and Tron queries, plus analytics, wallet summaries, and
OHLC series.

## SDKs

| SDK | Use it for | Quickstart |
| - | - | - |
| Pipes SDK | Streaming pipelines into ClickHouse, PostgreSQL, BigQuery, or Parquet | [Quickstart](https://docs.sqd.dev/en/sdk/pipes-sdk/evm/quickstart.md) |
| Squid SDK | Indexers that serve a generated GraphQL API over PostgreSQL | [Quickstart](https://docs.sqd.dev/en/sdk/squid-sdk/evm/quickstart.md) |
| Portal API | Any language, no dependencies | [Quickstart](https://docs.sqd.dev/en/portal/evm/quickstart.md) |

[SDK overview](https://docs.sqd.dev/en/sdk/overview.md) compares the three against the same job.

## Files for agents

| File | What it is |
| - | - |
| [llms.txt](https://docs.sqd.dev/llms.txt) | Index of the documentation, with guidance on when to reach for SQD |
| [llms-full.txt](https://docs.sqd.dev/llms-full.txt) | Full text of every page in one file |
| [openapi.json](https://docs.sqd.dev/openapi.json) | The Portal API, with an operationId on every operation |
| [skill.md](https://docs.sqd.dev/skill.md) | What agents can build with SQD |
| [ai-catalog.json](https://docs.sqd.dev/.well-known/ai-catalog.json) | Discovery document listing the above |

Every page on this site is available as Markdown by appending `.md` to its
URL, and through `Accept: text/markdown` content negotiation.

## Data coverage

[All networks](https://docs.sqd.dev/en/data/all-networks.md) lists every dataset the Portal serves,
its ecosystem, and its start block. [Available datasets](https://docs.sqd.dev/en/ai/available-datasets.md)
is the same catalogue written for agents.

## Where to ask

| Reason | Where |
| - | - |
| Portal availability, data freshness, or capacity issues | [Portal status](https://status.sqd.dev/). Agents can read [current status in Markdown](https://status.sqd.dev/status.md) or the [status index](https://status.sqd.dev/llms.txt). |
| Technical questions | [Telegram community](https://t.me/hydradevs) or `support@sqd.dev` |
| Plans and prices | [Portal pricing](https://docs.sqd.dev/en/portal/pricing.md) |
| Enterprise plans, dedicated portals, volume | [Contact SQD](https://sqd.dev/contact/) |
| Data protection and privacy | `dataprotection@sqd.dev`, [imprint](https://sqd.dev/imprint/) |

SQD is operated by Subsquid Labs GmbH, Bahnhofstrasse 7, 6300 Zug, Switzerland.

For what changed and what is changing:

* [Announcements](https://docs.sqd.dev/announcements) for deprecations and retirements
* [Changelog](https://docs.sqd.dev/changelog) for what shipped
* [FAQ](https://docs.sqd.dev/en/other/faq.md) for the common questions


## Related topics

- [Scale section](https://docs.sqd.dev/en/cloud/reference/scale.md)
- [Pricing FAQ](https://docs.sqd.dev/en/cloud/pricing/faq.md)
- [Deployment manifest](https://docs.sqd.dev/en/cloud/reference/manifest.md)
- [Graceful shutdown](https://docs.sqd.dev/en/sdk/pipes-sdk/evm/guides/architecture-deep-dives/graceful-shutdown.md)
- [Pricing Overview](https://docs.sqd.dev/en/cloud/pricing/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.