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

# Substrate OpenAPI Schema

> Substrate OpenAPI specification for the SQD Portal — endpoints, schemas, and code samples for streaming finalized blocks, extrinsics, events, and calls.

The Substrate OpenAPI specification for the SQD Portal is published at [https://docs.sqd.dev/en/api/catalog/substrate/openapi.yaml](https://docs.sqd.dev/en/api/catalog/substrate/openapi.yaml).

Use it to import the Portal API into OpenAPI-aware tools — code generators, API testing platforms (Postman, Bruno), or LLM-agent toolchains that consume OpenAPI to build tool definitions.

## Fetch the spec

```bash theme={"system"}
curl -O https://docs.sqd.dev/en/api/catalog/substrate/openapi.yaml
```

For the interactive, browsable version of the same endpoints, see the [Substrate Portal API reference](/en/api/substrate/metadata).
