Latest bar for a symbol+interval — the most-recent settled or forming bar
Return the single most-recent bar for a symbol+interval.
Ordered by bar_start DESC, returns the first row. Provisional (forming) bars are returned with is_closed=False. Empty → 200 with bar: null, never 404. No tier gate on this endpoint (latest bar is the lightest read; depth-gating only applies to ranges).
Query parameters
Symbol in slash or dash form. E.g. "XAU/USD", "GLD".
Symbol in slash or dash form. E.g. "XAU/USD", "GLD".
Bar interval. One of: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 1d.
Bar interval. One of: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 1d.
Response
Successful Response
Changes
Changed in 1 of the 7 revisions of this API.1017
- ▲
the response property
messagebecame optional for the status401response-property-became-optional
- ▲
the response property
messagebecame optional for the status403response-property-became-optional
- ▲
the response property
messagebecame optional for the status404response-property-became-optional
- ▲
the response property
messagebecame optional for the status429response-property-became-optional
- ▲
the response property
messagebecame optional for the status503response-property-became-optional
- ▲
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response401response-property-list-of-types-widened
- ▲
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response403response-property-list-of-types-widened
- ▲
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response404response-property-list-of-types-widened
- ▲
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response429response-property-list-of-types-widened
- ▲
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response503response-property-list-of-types-widened
- ●
removed the optional property
detailfrom the response with the422statusresponse-optional-property-removed
- ○
the endpoint scheme security
ApiKeyAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
added the required property
detailsto the response with the422statusresponse-required-property-added
- ○
added the required property
errorto the response with the422statusresponse-required-property-added
- ○
added the required property
messageto the response with the422statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲