> 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/accounts/account-coins.md).

# Account's Coin Holdings

Retrieve the information about coin holdings of a specific address, including amounts, USD values, PnL, and price changes.

***

## **Endpoint**

```
GET /api/v1/partner/portfolio/coins
```

***

## **Request Parameters**

| Name      | Type   | Required | Description                                |
| --------- | ------ | -------- | ------------------------------------------ |
| `address` | string | Yes      | The address to retrieve coin holdings for. |

***

## **Headers**

| Header      | Required | Description                |
| ----------- | -------- | -------------------------- |
| `x-api-key` | No       | API key for authorization. |

***

## **cURL Example**

```bash
curl --location 'https://api.noodles.fi/api/v1/partner/portfolio/coins?address=0xe9008ec0faa85024b357ebb7aa80cfc081ecf5a77bca299e5b365c627f1bb466' \
--header 'x-api-key: YOUR_API_KEY'
```

***

## **Response**

### Fields

| Field     | Type     | Nullable | Description                         |
| --------- | -------- | -------- | ----------------------------------- |
| `code`    | `number` | No       | HTTP status code (200 for success). |
| `message` | `string` | No       | Status message.                     |
| `data`    | `array`  | No       | Array of coin holding objects.      |

#### Coin Holding Object

| Field               | Type    | Nullable | Description                             |
| ------------------- | ------- | -------- | --------------------------------------- |
| `coin_type`         | string  | No       | Coin type identifier.                   |
| `symbol`            | string  | No       | Coin symbol.                            |
| `decimals`          | number  | No       | Number of decimal places for the coin.  |
| `icon_url`          | string  | Yes      | URL to the coin icon.                   |
| `amount`            | float   | No       | Amount of the coin held.                |
| `usd_value`         | float   | No       | USD value of the coin holdings.         |
| `verified`          | boolean | No       | Whether the coin is verified.           |
| `price`             | float   | No       | Current price of the coin.              |
| `pnl_today`         | float   | Yes      | Profit/Loss for today.                  |
| `pnl_percent_today` | float   | Yes      | Profit/Loss percentage for today.       |
| `price_change_1d`   | float   | Yes      | Price change over 1 day (percentage).   |
| `price_change_7d`   | float   | Yes      | Price change over 7 days (percentage).  |
| `price_change_30d`  | float   | Yes      | Price change over 30 days (percentage). |

### Success Response

```json
{
    "code": 200,
    "message": "OK",
    "data": [
        {
            "coin_type": "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI",
            "symbol": "haSUI",
            "decimals": 9,
            "icon_url": "https://imagedelivery.net/cBNDGgkrsEA-b_ixIp9SkQ/hasui.svg/public",
            "amount": 9.353067787,
            "usd_value": 37.67,
            "verified": true,
            "price": 4.027,
            "pnl_today": -2.09,
            "pnl_percent_today": -5.25,
            "price_change_1d": -2.83,
            "price_change_7d": -5.1,
            "price_change_30d": 34.39
        }
    ]
}
```

***

> **See also:** [Environment Setup](/docs.noodles.fi/environment-setup/environment.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/accounts/account-coins.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.
