> For the complete documentation index, see [llms.txt](https://docs.flash.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flash.im/docs/for-institutions/exchanges-and-aggregators.md). Agents can also search and read this documentation through its [MCP server](https://docs.flash.im/~gitbook/mcp).

# Exchanges and Aggregators

Attach the news that fits each asset, and put the important news on your price charts.

An asset page, a trading panel, a listing row: each already holds an asset name and a ticker. Send them, and the news about that asset comes back. The same news, narrowed to the important stories, goes on your price charts.

## What you build

* **A news rail on asset pages and trading panels**
* **News per row on listings and watchlists**
* **News on price charts:** a timeline below the chart and markers on the candles

## What you need

* An API key ([Quick Start](https://docs.flash.im/docs/quick-start.md))
* Each asset's name and ticker

## Ask for an asset's news

```
GET /v1/news?keyword={asset name},{ticker}&category={crypto|economy}&fields={fields}&limit={count}
```

What your listing already holds is the query:

| You already have    | You send                                                                                                                                              |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Asset name + ticker | `keyword={asset name},{ticker}`                                                                                                                       |
| The asset's market  | `category=crypto` for crypto assets, `category=economy` for listed equities. A crypto stock such as Coinbase can take both: `category=crypto,economy` |
| The panel's width   | `fields=` and `limit=`                                                                                                                                |

Filled in:

```
GET /v1/news?keyword=Bitcoin,BTC&category=crypto&fields=headline,impact,publishedAt&limit=5
GET /v1/news?keyword=Nvidia,NVDA&category=economy&fields=headline,impact,publishedAt&limit=5
GET /v1/news?keyword=Tesla,TSLA&category=economy&fields=headline,impact,publishedAt&limit=5
```

* **Tickers in upper case** (`BTC`, not `btc`). A lower-case ticker reads as an ordinary word
* **Three fields fit a narrow rail:** headline, impact dots, time. For a full news tab, drop `fields` and raise `limit`; add `fields=all` if the tab shows the body
* **Never blank.** With `category`, a fallback fills the list when few stories match. Render `fallback.items` under its own label, such as "Market News" (see [Match API](https://docs.flash.im/docs/api-reference/match-api.md#fallback-no-empty-screens))

## A whole listing

**One row, one request.** Each row sends its own name and ticker whenever the listing renders. Use it where every row shows its own news.

```
GET /v1/news?keyword=Bitcoin,BTC&category=crypto&limit=3
GET /v1/news?keyword=Ethereum,ETH&category=crypto&limit=3
... one request per row
```

Identical URLs are served from cache, so a large listing stays cheap; for very long listings, request only the rows in view as the user scrolls.

**One block, one request.** When one surface covers a set of assets at once (a watchlist, a sector tab, a portfolio summary), send them together: `keyword` takes up to 30 values and matches them as a union.

```
GET /v1/news?keyword=Bitcoin,BTC,Ethereum,ETH,Solana,SOL,XRP,Cardano,ADA&category=crypto&limit=20
```

Thirty values cover about fifteen assets when you send a name and a ticker for each. What comes back is one newest-first list across the whole set.

## Asset pages on data providers

```
GET /v1/news?keyword={asset name},{ticker}&category={crypto|economy}&lang={language}&limit={count}
```

```
GET /v1/news?keyword=Ethereum,ETH&category=crypto&lang=en&limit=10
GET /v1/news?keyword=Microsoft,MSFT&category=economy&lang=en&limit=10
GET /v1/news?keyword=Google,Alphabet,GOOG&category=economy&lang=en&limit=10
```

* **Send every spelling your listing carries.** Spellings of the same entity merge, so Google, Alphabet and GOOG come back as one list without repeats
* **Every locale from one integration.** Swap `lang=en` for any of the 16 languages; nothing else changes

## News on the chart

Recommended practice for price charts. Adapt it to your screen.

### Timeline below the chart

```
GET /v1/news?keyword=Bitcoin,BTC&category=crypto&impact=4,5&after={chart start}&before={chart end}&limit=100
```

* **Important news only.** A chart is not a news feed, so ask for `impact=4,5`. For mid- and low-cap assets with few such stories, `impact=3,4,5` is fine
* **The chart's range.** Set `after` and `before` to the visible range of the chart
* **Grouped by candle.** Group the stories by the candle their `publishedAt` falls in (by day on long ranges) and show the count on each group

### Markers on the candles

From the timeline's stories, put a marker on the candle for those that:

* **name the asset** in `entities` (name, alias or ticker)
* **report an event.** `eventType` is one of `regulation-action`, `policy-decision`, `data-release`, `security-incident`, `corporate-action`, `legal-action`, `geopolitical-event`, `funding-deal`, `election`, `appointment`, `diplomatic-event`, `official-statement`, `ops-notice`, `disaster`. Keep `market-move`, `analysis-commentary`, `digest` and `data-point` on the timeline only
* **are one per event.** Stories with the same `clusterId` report one event: show the first one

How to show them:

* **At the publish time.** On the candle that contains `publishedAt`, with the same rule from 1-minute to daily candles. A marker stays where it is when the candle closes
* **Neutral.** One neutral icon just above the candle's high: no green or red, no placement by direction, and no wording that says a story moved the price. Tell it apart from the timeline icons by shape only
* **The bubble lists them all.** Title it "News at this candle" and list every story on that candle; the number on the icon is the number of stories

## Security

Before you put FLASH news on a trading screen, read the [Security Guide](https://docs.flash.im/docs/rendering-guide/security-guide.md): check every response on your server, render text as text, and handle the links and images in the feed safely.

## FAQ

<details>

<summary>Do I need to register my assets with FLASH?</summary>

No. Send each asset's name and ticker; there is no registration or approval step.

</details>

<details>

<summary>Can I send the asset names in another language?</summary>

Inputs are English only. Output is any of the 16 languages: pass your user's language in `lang`.

</details>
