prices

Latest spot price for one symbol — flat shape, no envelope (parity convenience)

get/v1/spot/{symbol}

Path parameters

symbolstring required

Query parameters

includestring nullable

Comma-separated field groups to include in the response. Tokens: sources, karat, stats, all. Unknown tokens are ignored. Omit for the lean default. The stats group requires authentication.

Comma-separated field groups to include in the response. Tokens: sources, karat, stats, all. Unknown tokens are ignored. Omit for the lean default. The stats group requires authentication.

Response

Successful Response

symbolstring required
quote_currencystring required
unitstring required
contract_typestring required
pricestring nullable

Price value as Decimal (up to 8 decimal places). JSON-serialized as a string by Pydantic to avoid float drift; callers should parse with Decimal(), not float().

bidstring nullable

Price value as Decimal (up to 8 decimal places). JSON-serialized as a string by Pydantic to avoid float drift; callers should parse with Decimal(), not float().

askstring nullable

Price value as Decimal (up to 8 decimal places). JSON-serialized as a string by Pydantic to avoid float drift; callers should parse with Decimal(), not float().

is_staleboolean required
divergence_flagboolean nullable

Present only when requested via ?include= (stats or all). True when a tokenized-gold source diverges > 0.5% from primary.

computed_atstring nullable
divergence_bpsinteger nullable
value_staleboolean nullable
live_qualitystring nullable

Selected live quote quality when a live source is served.

price_gram_24kstring nullable
price_gram_22kstring nullable
price_gram_21kstring nullable
price_gram_20kstring nullable
price_gram_18kstring nullable
price_gram_16kstring nullable
price_gram_14kstring nullable
price_gram_10kstring nullable
open_pricestring nullable

Price value as Decimal (up to 8 decimal places). JSON-serialized as a string by Pydantic to avoid float drift; callers should parse with Decimal(), not float().

high_pricestring nullable

Price value as Decimal (up to 8 decimal places). JSON-serialized as a string by Pydantic to avoid float drift; callers should parse with Decimal(), not float().

low_pricestring nullable

Price value as Decimal (up to 8 decimal places). JSON-serialized as a string by Pydantic to avoid float drift; callers should parse with Decimal(), not float().

prev_close_pricestring nullable
chstring nullable
chpstring nullable
open_timeinteger nullable

Changes

Changed in 1 of the 8 revisions of this API.1217

  • b7c4b36e1fa11217See the full diff
    • the response property became optional for the status

      response-property-became-optional

    • the response property became optional for the status

      response-property-became-optional

    • the response property became optional for the status

      response-property-became-optional

    • the response property became optional for the status

      response-property-became-optional

    • the response property became optional for the status

      response-property-became-optional

    • the response property became optional for the status

      response-property-became-optional

    • response property message list-of-types was widened by adding types null to media type application/json of response 400

      response-property-list-of-types-widened

    • response property message list-of-types was widened by adding types null to media type application/json of response 401

      response-property-list-of-types-widened

    • response property message list-of-types was widened by adding types null to media type application/json of response 403

      response-property-list-of-types-widened

    • response property message list-of-types was widened by adding types null to media type application/json of response 404

      response-property-list-of-types-widened

    • response property message list-of-types was widened by adding types null to media type application/json of response 429

      response-property-list-of-types-widened

    • response property message list-of-types was widened by adding types null to media type application/json of response 503

      response-property-list-of-types-widened

    • removed the optional property from the response with the status

      response-optional-property-removed

    • the endpoint scheme security ApiKeyAuth was added to the API

      api-security-added

    • the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the required property to the response with the status

      response-required-property-added

    • added the required property to the response with the status

      response-required-property-added

    • added the required property to the response with the status

      response-required-property-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog