outsmartchad / solana-trading-cli

High-performance modules for develop Solana Trading Bots: CLI, gRPC bots, and low-latency integrations with Jito, bloXroute, Jupiter, and DEXes
MIT License
248 stars 113 forks source link

Use higher rate limit Jupiter API #30

Open zer0cache opened 1 month ago

zer0cache commented 1 month ago

This PR adjusts the API provided for the Jupiter API. The default API was updated for swap/quote to leverage jupiterapi.com. The API offers higher rate limits (up to 10 rps) along with a faster updated market cache. The jupiterapi.com market cache surfaces newly launched tokens faster since it doesn't require a certain volume/liquidity threshold to be met, along with an improved cadence of it being updated. With that said, the API does take a small platform fee (0.2%) on swaps given the stability/rate limits/new markets it provides.

More details can be found on the site.