How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Clear Street Margin API

The Margin API from Clear Street — 2 operation(s) for margin.

Clear Street Margin API is one of 23 APIs that Clear Street publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Margin. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and a changelog.

This API exposes 2 operations across 2 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against 2 base URLs: https://api.clearstreet.io/studio/v2, https://sandbox-api.clearstreet.io/studio/v2.

2 operations 2 paths 13 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://api.clearstreet.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Clear Street Margin API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth).

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Margin 2
GET
/entities/{entity_id}/regt-margin
Get Reg-T margin
getRegTMargin 1 param → 200default
GET
/entities/{entity_id}/portfolio-margin
Get portfolio margin
getPortfolioMargin 1 param → 200default

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are PortfolioMargin (21 properties), PortfolioMarginGroup (15 properties), RegTMargin (14 properties), RegTGroup (9 properties). Each schema is shown below with its type and property counts.

EntityId
string
Entity ID for the legal entity.
PortfolioMarginGroupMember
object
6 properties
Shocks
object
Maps shock scenarios to their resulting pnl.
RegTMargin
object
14 properties 14 required
PortfolioMarginGroup
object
15 properties 9 required
AssetClass
string
The asset class of the symbol.
ProblemDetails
object
A Problem Details object (RFC 9457)
5 properties
Quantity
string
String representation of quantity.
Timestamp
integer
Milliseconds since epoch.
PortfolioMargin
object
21 properties
Symbol
string
RegTGroup
object
9 properties 9 required
RegTGroupMember
object
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

clear-street-margin-api-openapi.yml Raw ↑

Other APIs Clear Street publishes across the network.

Clear Street MCP Server
Clear Street API (Trades and Uploads)
Clear Street Accounts API
Clear Street API version API
Clear Street Calendar API
Clear Street Entities API
Clear Street Holdings API
Clear Street Instrument Data API
Clear Street Instruments API
Clear Street Inventories API
Clear Street Locates API
Clear Street Margin Simulations API
Where this information came from

This is an independent, third-party profile of Clear Street Margin API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.