jupiter

Integrates Jupiter APIs for swaps, limit orders, DCA, lending, and pricing on Solana.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill jupiter-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupiter
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/jupiter
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill jupiter-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @solana/web3.js, bs58, and includes references (resource) components.

What problem does it solve? Integrating Jupiter's many Solana APIs (Ultra Swap, Trigger, Recurring, Lend, Price, Tokens, Portfolio, and more) requires knowing which endpoint to call, how to authenticate, and how to handle errors, rate limits, and transaction signing correctly. ## Core Features & Use Cases - Intent-based API routing: Maps user intents like swap, limit order, DCA, lend, or price lookup to the correct Jupiter API family and first action. - Production hardening guidance: Covers x-api-key authentication, rate-limit backoff, idempotent execution, slippage guardrails, and typed error handling. - Ready-to-run examples: Includes TypeScript examples for token swaps, gasless Ultra orders, limit orders, and DCA positions using @solana/web3.js. - Use Case: A developer building a Solana trading bot asks how to swap SOL for USDC; the skill routes to the Ultra Swap playbook, provides the order/execute flow, and supplies signing code with error handling. ## Quick Start Ask the agent to swap 0.1 SOL for USDC using the Jupiter API with your API key from portal.jup.ag.

Frequently Asked Questions about jupiter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I swap tokens on Solana using the Jupiter API?

Request a quote from GET /ultra/v1/order or /swap/v1/quote with inputMint, outputMint, and amount, then sign the returned base64 VersionedTransaction and submit it via /ultra/v1/execute or your own RPC connection. Include your x-api-key header on every request.

How to create a limit order with Jupiter Trigger API?

POST to /trigger/v1/createOrder with maker, payer, inputMint, outputMint, makingAmount, and takingAmount, then sign and submit the returned transaction. Jupiter fills the order when the target price is reached; note the program does not validate whether your rate is favorable.

Does Jupiter API require an API key?

Yes, all Jupiter REST endpoints require an x-api-key header obtained from portal.jup.ag. On-chain-only flows like Perps and Lock do not use the REST API and instead interact with programs directly via Anchor IDL.

Why does my Jupiter swap fail with slippage or simulation errors?

Slippage failures occur when price moves beyond your slippageBps tolerance between quote and execution; re-quote and retry or enable dynamic slippage. Simulation failures usually mean stale blockhash, insufficient balance, or changed account state, so execute promptly after quoting.

What are the Jupiter API rate limits and how do I handle 429 errors?

Ultra Swap allows 50 requests per 10 seconds at base tier, scaling with 24-hour execute volume. On HTTP 429, apply exponential backoff with jitter and wait for the 10-second sliding window to refresh rather than bursting requests.

When should I use Ultra Swap versus the standard Swap API?

Use Ultra Swap when you want gasless execution where Jupiter handles transaction submission and gas fees via the order/execute flow. Use the standard Swap API when you need direct control over transaction construction, signing, and submission through your own RPC.