> 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/tv-widget/tv-widget.md).

# Tv Widget

Real-time trading view widget from [Noodles.fi](https://noodles.fi).\
Supports chart: **single coin ohlc** / **pair coin ohlc** .\
Themes: light/dark.

***

## Features

* Real-time ohlc chart
* Supports **single coin** and **trading pairs**
* Toggle between **light** and **dark** themes
* Simple integration using `<iframe>`

***

## 1. Coin/USD Widget

Displays a real-time chart for a single coin.

**URL Format:**

```
https://noodles.fi/tv-widget?coin=<COIN_ID>&theme=<light|dark>
```

**Parameters:**

| Name    | Required | Description                             |
| ------- | -------- | --------------------------------------- |
| `coin`  | True     | Full unique identifier of the coin (ID) |
| `theme` | False    | `light` (default) or `dark` UI theme    |

**Example:**

[stSUI/USD](https://noodles.fi/tv-widget?coin=0xd1b72982e40348d069bb1ff701e634c117bb5f741f44dff91e472d3b01461e55::stsui::STSUI\&theme=dark)

```html
<iframe
  src="https://noodles.fi/tv-widget?coin=0xd1b72982e40348d069bb1ff701e634c117bb5f741f44dff91e472d3b01461e55::stsui::STSUI&theme=dark"
  width="100%"
  height="500"
  frameborder="0"
  allowfullscreen>
</iframe>
```

***

## 2. Pair coin Widget

Visualizes a trading pair chart between two coins.

**URL Format:**

```
https://noodles.fi/tv-widget?coinA=<COIN_A_ID>&coinB=<COIN_B_ID>&theme=<light|dark>
```

**Parameters:**

| Name    | Required | Description                       |
| ------- | -------- | --------------------------------- |
| `coinA` | True     | Identifier of the **base** coin   |
| `coinB` | True     | Identifier of the **quote** coin  |
| `theme` | False    | `light` (default) or `dark` theme |

**Example:**

[DEEP/SUI](https://noodles.fi/tv-widget?coinA=0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP\&coinB=0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI\&theme=dark)

```html
<iframe
  src="https://noodles.fi/tv-widget?coinA=0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP&coinB=0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI&theme=dark"
  width="100%"
  height="500"
  frameborder="0"
  allowfullscreen>
</iframe>
```

***


---

# 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/tv-widget/tv-widget.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.
