> ## 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>
