---
title: OpenAPI Spec - Clear Street Trading API Documentation and Guides
description: The OpenAPI specification for the Clear Street Trading API, available as a raw YAML document.
---

The OpenAPI specification for the Clear Street Trading API is available as a raw YAML document, so you can work with the API definition directly in your own tools and workflows.

[Download OpenAPI Spec ](/openapi/active.yaml)To use with mock servers, Postman, or LLM tooling.

## Fetch it

Terminal window

```
curl -fL https://docs.clearstreet.com/openapi/active.yaml -o clearstreet-openapi.yaml
```

## Common uses

- **Mock servers** — load it into a tool like Prism or WireMock to stand up a local mock of the API.
- **LLM context** — provide the spec to an assistant so it can answer questions or draft requests against the real schema.

For an interactive, browsable view of the same API — with per-endpoint request/response details and ready-made SDKs — see the [API Reference](/api/index.md).
