> ## Documentation Index
> Fetch the complete documentation index at: https://readme.amana-dev.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get daily price change

> Get today's price change for an instrument.

## Path parameters

<ParamField path="ticker" type="string" required>
  ticker  friendly name (e.g., XAUUSD, AAPL)
</ParamField>

## Response

`200` Success.

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

<ResponseField name="1D" type="number" />

<ResponseField name="5D" type="number" />

<ResponseField name="1M" type="number" />

<ResponseField name="3M" type="number" />

<ResponseField name="6M" type="number" />

<ResponseField name="ytd" type="number" />

<ResponseField name="1Y" type="number" />

<ResponseField name="3Y" type="number" />

<ResponseField name="5Y" type="number" />

<ResponseField name="10Y" type="number" />

<ResponseField name="max" type="number" />

## Possible Errors

| Error | Possible cause | What to do |
| - | - | - |
| 400 | Invalid or missing field | Check the request against the schema. |
| 403 | IP not whitelisted, or account restricted | Confirm your IP is whitelisted; otherwise contact Amana. |
| 429 / 5xx | Rate limit, or temporary issue on our side | Retry with backoff; contact support if it persists. |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://gateway.amana.io/price-change/{ticker}'
  ```

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

  url = "https://gateway.amana.io/price-change/{ticker}"
  headers = {}

  response = requests.request("GET", url, headers=headers)
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://gateway.amana.io/price-change/{ticker}', {
    method: 'GET',
    headers: {},
  });
  console.log(await response.json());
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "symbol": "<string>",
    "1D": 123.45,
    "5D": 123.45,
    "1M": 123.45,
    "3M": 123.45,
    "6M": 123.45,
    "ytd": 123.45,
    "1Y": 123.45,
    "3Y": 123.45,
    "5Y": 123.45,
    "10Y": 123.45,
    "max": 123.45
  }
  ```

  ```json 400 theme={null}
  {
    "error": "<string>",
    "message": "<string>"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "<string>",
    "message": "<string>"
  }
  ```

  ```json 429 theme={null}
  {
    "error": "<string>",
    "message": "<string>"
  }
  ```

  ```json 500 theme={null}
  {
    "error": "<string>",
    "message": "<string>"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.