> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coingecko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Best Practices

> Wonder how to use different endpoints together? This is the perfect place for you

## User Journey for CoinGecko API Endpoints

<img src="https://mintcdn.com/coingecko/a7cplMjqO5fc2v5e/images/docs/60fecdf-image.png?fit=max&auto=format&n=a7cplMjqO5fc2v5e&q=85&s=509cde2f1085a0102c86f391db0837b1" alt="" width="1328" height="710" data-path="images/docs/60fecdf-image.png" />

### "Discovery/Navigational Endpoints"

**Examples:**

* [/coins/list](/reference/coins-list) — can be used to query all the supported coins on CoinGecko with names, symbols and coin IDs that can be used in other endpoints.
* [/search/trending](/reference/trending-search) — can be used to query trending search coins, categories and NFTs on CoinGecko.

### "Supporting Endpoints"

**Examples:**

* [/simple/supported\_vs\_currencies](/reference/simple-supported-currencies) — can be used to query the list of currencies for other endpoints that include parameters like `vs_currencies`, allowing you to obtain the corresponding data for those currencies.
* [/asset\_platforms](/reference/asset-platforms-list) — can be used to query the list of asset platforms for other endpoints that contain parameters like `id` or `ids` (asset platforms), allowing the retrieval of corresponding data for these asset platforms.

### "Data Endpoints"

**Examples:**

* [/simple/price](/reference/simple-price) — can be used to query the prices of coins using the unique coin IDs that can be obtained from the "Discovery/Navigational Endpoints" mentioned above.
* [/coins/](/reference/coins-id){id} — can be used to query the coin data using the unique coin IDs that can be obtained from the "Discovery/Navigational Endpoints" mentioned above.

## User Journey for Onchain DEX API Endpoints (GeckoTerminal data)

<img src="https://mintcdn.com/coingecko/a7cplMjqO5fc2v5e/images/docs/fc38fa8-image.png?fit=max&auto=format&n=a7cplMjqO5fc2v5e&q=85&s=011c5c6d5cb8ff880eb957e528c57891" alt="" width="1328" height="544" data-path="images/docs/fc38fa8-image.png" />

### "Discovery/Navigational Endpoints"

**Examples:**

* [/onchain/trending\_pools](/reference/trending-pools-list) - can be used to query trending pools across all networks on GeckoTerminal.
* [/onchain/search/pools](/reference/search-pools) - can be used to search for any pools on GeckoTerminal.

### "Supporting Endpoints"

**Examples:**

* [/onchain/networks-list](/reference/networks-list) - can be used to query all the supported networks on GeckoTerminal.
* [/onchain/networks/](/reference/dexes-list){network}[/dexes](/reference/dexes-list) - can be used to query all the supported decentralized exchanges (DEXs/`dexes`) on GeckoTerminal based on network id that can be obtained from the endpoint mentioned above.

### "Data Endpoints"

**Examples:**

* [/onchain/simple/networks/](/reference/onchain-simple-price){network}[/token\_price/](/reference/onchain-simple-price){addresses} - can be used to query any token price using the token address and network id that can be obtained from the "Discovery/Navigational Endpoints" and "Supporting Endpoints" mentioned above.
* [/onchain/networks/](/reference/pool-address){network}[/pools/](/reference/pool-address){address} - can be used to query the data of a specific pool based on the pool address and network id that can be obtained from the "Discovery/Navigational Endpoints" and "Supporting Endpoints" mentioned above.

***

🔥 New: [Flexible Data Delivery Methods](https://docs.coingecko.com/docs/data-delivery-methods)

<a href="/docs/data-delivery-methods">
  <Frame>
    <img src="https://mintcdn.com/coingecko/otGCm12HMglqoJbI/images/Data-Delivery-API-Docs-Banner-V1.png?fit=max&auto=format&n=otGCm12HMglqoJbI&q=85&s=0c33da5092f0d26d8028be8e05f1c8c8" noZoom width="1200" height="319" data-path="images/Data-Delivery-API-Docs-Banner-V1.png" />
  </Frame>
</a>

Optimize your infrastructure by fetching, streaming, or pushing crypto data. You can now pull on-demand market data via REST, stream ultra-low latency live prices and trades via WebSocket, and receive automated metadata updates via Webhook.

Subscribe to our [**paid API plan**](https://www.coingecko.com/en/api/pricing) (Analyst plan & above) to access all three data delivery methods.
