# Commodities

This endpoint can be called using:

```
https://api.adiinvestments.net/v1/markets/commodities
```

Returns the following information for five major commodities:

* Current Price
* Name
* Percent Change
* Symbol

Commodities provided are crude oil, natural gas, gold, silver, and platinum.

Responses

<details>

<summary><strong>200 Successful</strong></summary>

```json
[
  {
    "currentPrice": 71.87,
    "longName": "Crude Oil",
    "percentChange": 1.24,
    "symbol": "CL=F"
  },
  {
    "currentPrice": 3.63,
    "longName": "Natural Gas",
    "percentChange": -7.62,
    "symbol": "NG=F"
  },
  {
    "currentPrice": 2639.3,
    "longName": "Gold",
    "percentChange": 1.27,
    "symbol": "GC=F"
  },
  {
    "currentPrice": 29.29,
    "longName": "Silver",
    "percentChange": 0.62,
    "symbol": "SI=F"
  },
  {
    "currentPrice": 910.4,
    "longName": "Platinum",
    "percentChange": 0.89,
    "symbol": "PL=F"
  }
]

```

</details>

<details>

<summary>4<strong>01 Unauthorized</strong></summary>

```json
{"error_code":403,
"error_message":"Invalid API key."}
```

</details>

<details>

<summary><strong>429 Too Many Requests</strong></summary>

```json
{"error_code":429,
"error_message":"Rate limit exceeded. Please try again later."}
```

</details>
