> For the complete documentation index, see [llms.txt](https://arbsolana.gitbook.io/arb-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arbsolana.gitbook.io/arb-protocol/arbitrage-bot/optimization/jupiter-api.md).

# Jupiter API

The Jupiter API provides the market data necessary for the bot. Speed is crucial, as the API often becomes the bottleneck in identifying arbitrage opportunities.

### **Optimization Tips:**

* **Avoid Public Instances:** Public instances are suitable for testing but not for production. Set up your own Jupiter API instance for optimal performance.
* **GRPC Usage:** Implement a GRPC to enhance the API’s price update speed significantly.
* **Data Filtering:** Filter out unnecessary tokens to minimize data processing requirements.
* **Local Setup:** Run the Jupiter API on the same machine as your bot to reduce latency. A minimum of 2GB of RAM is recommended for optimal performance, though less may suffice.
