# Develop

Select the NATS [client](https://nats.io/download/#clients) (or SDKs) of your preference. The NATS modern and powerful streaming protocol automatically handles reconnections, message parsing, and more.&#x20;

<mark style="color:orange;">**Subscriptions**</mark>

You can subscribe to a single ticker on an Exchange. The topic below would stream you BTC/ETH trades from the Binance cryptocurrency Exchange:

* `hose.trade.binance.btceth`

You can also subscribe to a market for all exchanges:

* `hose.trade.*.btcusd`

Given the above topic, you would receive all trades for BTC/USD for all supported Exchanges.

Note: all topic strings must be in lowercase

***

<mark style="color:orange;">**Exchange Subscriptions**</mark>

One of the more powerful features of Cryptoquote Stream is the ability to subscribe to a full exchange. The topic below streams all trades from the Binance cryptocurrency Exchange:

* `hose.trade.binance.*`

<mark style="color:orange;">**All Trades**</mark>

To subscribe to all trade messages for all exchanges, your topic would be:

* `hose.trade.>`

You can read more about NATS subscription wildcards [here](https://docs.nats.io/nats-concepts/subjects#matching-a-single-token).

#### <mark style="color:orange;">**Code Examples**</mark>

Below is some bare-bones example code that will connect and subscribe to Cryptoquote Stream.

You can also find full source code on GitHub: <https://github.com/cryptoquote/firehose-examples>

<figure><img src="/files/qWWozAJek7qiuhjJQdio" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://cryptoquote.gitbook.io/cryptoquote/apis/streaming-apis/develop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
