DevelopersOsai website ↗
API v1
Market data / API reference

Discover scoped candle series and read semantics, not executable instruments

Request and response reference for GET /v1/exchange/candle-series.

GET/v1/exchange/candle-series
Authentication: Feed bearer
Use the base URL and access configuration provided to your institution. Examples are request templates, not transaction results. Field tables focus on client fields; preserve additional metadata returned by the configured service.

Request

Use your feed-scoped bearer token against the market-data service. Feed access does not authorize exchange execution.

Request templatecURL
curl -X GET "$OSAI_MARKET_DATA_BASE_URL/v1/exchange/candle-series" \
  -H "Authorization: Bearer $OSAI_FEED_TOKEN"

Parameters

No endpoint-specific path or query parameters are defined. Authentication and access policy still apply.

Request body

This operation does not define a JSON request body.

Responses

Inspect HTTP status before parsing a body. These tables describe client response fields rather than invented successful transaction payloads.

200 · HTTP 200 response
FieldTypeDescription & constraints
contract_versionRequired in parent objectstringDefined by the resource contract.Values: osai-candles/v1
seriesRequired in parent objectarrayDefined by the resource contract.
series[].feed_idRequired in parent objectstringDefined by the resource contract.
series[].feed_versionRequired in parent objectstringDefined by the resource contract.Pattern: ^[1-9][0-9]*$
series[].pairRequired in parent objectstringDefined by the resource contract.Pattern: ^[A-Z]{3}_[A-Z]{3}$
series[].pair_versionRequired in parent objectstringDefined by the resource contract.Pattern: ^[1-9][0-9]*$
series[].base_currencyRequired in parent objectstringDefined by the resource contract.
series[].quote_currencyRequired in parent objectstringDefined by the resource contract.
series[].price_directionRequired in parent objectstringDefined by the resource contract.Values: QUOTE_PER_BASE
series[].price_scaleRequired in parent objectstringDefined by the resource contract.Pattern: ^[1-9][0-9]*$
series[].source_typeRequired in parent objectstringDefined by the resource contract.Values: INDICATIVE
series[].source_idRequired in parent objectstringDefined by the resource contract.
series[].intervalsRequired in parent objectarrayDefined by the resource contract.
series[].intervals[].idRequired in parent objectstringDefined by the resource contract.Values: 1m, 5m, 15m, 1h, 4h, 1d
series[].intervals[].duration_msRequired in parent objectintegerDefined by the resource contract.Minimum: 1
series[].maximum_query_bucketsRequired in parent objectintegerDefined by the resource contract.Minimum: 1Maximum: 10000
series[].maximum_query_eventsRequired in parent objectintegerDefined by the resource contract.Minimum: 1Maximum: 100000
series[].retention_msRequired in parent objectintegerDefined by the resource contract.Minimum: 1
series[].correction_window_msRequired in parent objectintegerDefined by the resource contract.Minimum: 1
series[].executableRequired in parent objectbooleanDefined by the resource contract.Values: false
price_encodingRequired in parent objectstringDefined by the resource contract.Values: SCALED_INTEGER_STRING
timestamp_precisionRequired in parent objectstringDefined by the resource contract.Values: MILLISECOND
bucket_alignmentRequired in parent objectstringDefined by the resource contract.Values: UTC_BUCKET_OPEN
range_semanticsRequired in parent objectstringDefined by the resource contract.Values: FROM_INCLUSIVE_TO_EXCLUSIVE
limit_semanticsRequired in parent objectstringDefined by the resource contract.Values: BUCKETS_INCLUDING_GAPS
paginationRequired in parent objectstringDefined by the resource contract.Values: NEXT_FROM_WITH_ORIGINAL_TO_AND_AS_OF
gap_policyRequired in parent objectstringDefined by the resource contract.Values: EXPLICIT_GAPS_NO_CARRY_FORWARD
volume_definitionRequired in parent objectstringDefined by the resource contract.Values: UNDEFINED_NULL_NO_TRADE_COUNT
freshnessRequired in parent objectstringDefined by the resource contract.Values: NOT_EVALUATED
externally_releasedRequired in parent objectbooleanDefined by the resource contract.Values: false
400 · HTTP 400 response
FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.
401 · HTTP 401 response
FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.
403 · HTTP 403 response
FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.
404 · HTTP 404 response
FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.
405 · HTTP 405 response
FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.
429 · HTTP 429 response

Response headers: Retry-After.

FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.
503 · HTTP 503 response
FieldTypeDescription & constraints
errorRequired in parent objectstringDefined by the resource contract.

Retries & recovery

Keep the original request identifiers and any required idempotency key. A timeout does not establish failure. Read the original resource or command before another financial write; use expected versions for concurrent changes.

16 suggested pages

Get startedIntroductionIntegrate institutional FX and stablecoin trading with quotes, orders, market data, account records and settlement reporting.Get startedQuickstartMake an authenticated read, request a quote and follow an instruction without losing its original references.Get startedAuthenticationUse the correct authentication scheme for API credentials, Console sessions and market-data feeds.Get startedErrorsDistinguish invalid inputs, denied access, conflicts, rate limits and uncertain outcomes.Get startedRate limitsUse response headers, bounded concurrency and backoff rather than repeated bursts.Get startedAmounts & precisionKeep minor-unit money, fixed-point FX rates and instrument-scaled quantities exact.Get startedPagination & recoveryUse each resource’s pagination model and preserve stable recovery checkpoints.Financial workflowsQuotes & acceptanceRequest explicit FX economics, review conditions and retain accepted terms.Financial workflowsTrade lifecycleTrack funding, execution and settlement as distinct business transitions.Financial workflowsBalances & transactionsRead institutional financial positions and reconcile movements by currency.Financial workflowsBeneficiariesRegister beneficiaries and coordinate their institutional approval lifecycle.Financial workflowsCredential managementCreate, inspect, rotate and revoke application credentials without exposing secrets.Events & reliabilityIdempotencyPrevent duplicate financial effects across retries and uncertain outcomes.Events & reliabilityWebhooks & verificationVerify deliveries, persist original events and make downstream processing idempotent.Events & reliabilityEvent payloadsUnderstand the customer event envelope and business transitions behind subscriptions.Events & reliabilityDelivery retries & replayRepair webhook delivery without creating a second business event.