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

# Get Token Price

> Get current price and market data for a token

### Authorization

<ParamField header="Authorization" type="string" required>
  Bearer token. Format: `Bearer bookie_live_abc123def456`
</ParamField>

### Path Parameters

<ParamField path="tokenMint" type="string" required>
  Token mint address or symbol (SOL, USDC, BONK, etc.)
</ParamField>

### Response

<ResponseField name="mint" type="string">
  Token mint address
</ResponseField>

<ResponseField name="symbol" type="string">
  Token symbol
</ResponseField>

<ResponseField name="price" type="number">
  Current price in USD
</ResponseField>

<ResponseField name="change24h" type="number">
  24-hour price change percentage
</ResponseField>

<ResponseField name="volume24h" type="number">
  24-hour trading volume in USD
</ResponseField>

<ResponseField name="marketCap" type="number">
  Market capitalization in USD
</ResponseField>

<ResponseField name="lastUpdated" type="string">
  ISO 8601 timestamp of last price update
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://api.bookie.app/v1/prices/SOL \
    --header 'Authorization: Bearer bookie_live_abc123def456'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://api.bookie.app/v1/prices/SOL',
    {
      headers: {
        'Authorization': `Bearer ${process.env.BOOKIE_API_KEY}`
      }
    }
  );
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.bookie.app/v1/prices/SOL',
      headers={
          'Authorization': f'Bearer {api_key}'
      }
  )
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - Success theme={null}
  {
    "mint": "So11111111111111111111111111111111111111112",
    "symbol": "SOL",
    "price": 147.23,
    "change24h": 3.2,
    "volume24h": 2847392847,
    "marketCap": 68492837492,
    "lastUpdated": "2024-03-08T14:30:00Z"
  }
  ```

  ```json 404 - Not Found theme={null}
  {
    "error": {
      "code": "token_not_found",
      "message": "Token not found or not supported"
    }
  }
  ```
</ResponseExample>
