Latest spot price for one symbol — flat shape, no envelope (parity convenience)
Changed onPaid plans get live prices. Free and keyless callers get the same prices 15 minutes late. bid/ask are paid-only and omitted when no two-sided quote is available.
Request
- Base URLhttps://api.goldprice.dev
- URLhttps://api.goldprice.dev/v1/spot/{symbol}
- Auth
- none
- or HTTP bearer
- or API key in header X-API-Key
Path parameters
Query parameters
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
Changes
- warning
removed the optional property
from the response with the status
- warning
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response400 - breaking
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response404 - breaking
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
response property
messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response503 - warning
removed the optional property
from the response with the status - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
BearerAuthwas added to the API - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking