> ## Documentation Index
> Fetch the complete documentation index at: https://www.diadata.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Guest Quotation

> Get the latest quotation for a token from a guest source.

<Card title="Example" href="https://api.diadata.org/v1/foreignQuotation/CoinMarketCap/BTC" icon="angle-right" horizontal>
  [https://api.diadata.org/v1/foreignQuotation/CoinMarketCap/BTC](https://api.diadata.org/v1/foreignQuotation/CoinMarketCap/BTC)
</Card>

Use the query parameter time in order to get the latest quotation before the specified timestamp

<Card title="Example" href="https://api.diadata.org/v1/foreignQuotation/Coingecko/BTC?time=1647349656" icon="angle-right" horizontal>
  [https://api.diadata.org/v1/foreignQuotation/Coingecko/BTC?time=1647349656](https://api.diadata.org/v1/foreignQuotation/Coingecko/BTC?time=1647349656)
</Card>

## Path Parameters

<ParamField path="source" type="string" required>
  Source of the quotation
</ParamField>

<ParamField path="symbol" type="string" required>
  Which symbol to get a quotation for, e.g. BTC
</ParamField>

## Query Parameters

<ParamField query="time" type="number">
  Unix timestamp.
</ParamField>

<ResponseExample>`json 200 `</ResponseExample>

<Warning>
  As part of our migration to DIA's next-generation oracle infrastructure, Lumina, the hosted DIA REST API is being deprecated and will be discontinued on **20 December 2026**. This affects the REST endpoints under `https://api.diadata.org/v1`.

  If your protocol relies on these, please email [support@diadata.org](mailto:support@diadata.org) and confirm that you are using them. We will provide you with a migration path so you can continue accessing the same data through Lumina without interruption. Integrations that don't reach out may lose access after the deprecation date.
</Warning>
