> For the complete documentation index, see [llms.txt](https://noodles-finance.gitbook.io/docs.noodles.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noodles-finance.gitbook.io/docs.noodles.fi/coin/coin-price.md).

# Coin Price

Retrieve the latest price and price change (24-hour, 7-day, and 30-day) for a specific coin.

***

## **Endpoint**

```
GET /api/v1/partner/coin-price
```

## **Request Parameters**

| Name      | Type   | Required | Description                                                     |
| --------- | ------ | -------- | --------------------------------------------------------------- |
| `coin_id` | string | Yes      | The unique identifier of the coin (e.g., `0x...::module::COIN`) |

***

## **Headers**

| Header      | Required | Description                          |
| ----------- | -------- | ------------------------------------ |
| `x-api-key` | Yes      | API key for authorization.           |
| `x-chain`   | Yes      | Blockchain identifier (e.g., `sui`). |

***

## **cURL Example**

```bash
curl --location 'https://api.noodles.fi/api/v1/partner/coin-price?coin_id=0x006734e1fe4c43141f47326a88c748c8900ab222e8794d0dfe545a90943ee7ab%3A%3Asuia%3A%3ASUIA' \
--header 'Accept-Encoding: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'x-chain: sui'
```

***

## **Response**

### Field

| Field              | Type     | Nullable | Description                                        |
| ------------------ | -------- | -------- | -------------------------------------------------- |
| `price`            | `number` | No       | Price of the coin.                                 |
| `price_change_24h` | `number` | Yes      | Percentage change in price over the last 24 hours. |
| `price_change_7d`  | `number` | Yes      | Percentage change in price over the last 7 days.   |
| `price_change_30d` | `number` | Yes      | Percentage change in price over the last 30 days.  |

### Success Response

```json
{
    "data": {
        "price": 0.000002105688571,
        "price_change_24h": 12.1,
        "price_change_7d": -7.2,
        "price_change_30d": -83.3
    }
}
```

### Response coin has no data

```json
{
    "data": null
}
```

***

> **See also:** [API Error Responses](https://github.com/NoodlesFi/docs/blob/main/api/api/error-responses.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://noodles-finance.gitbook.io/docs.noodles.fi/coin/coin-price.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
