jup-ag avatar

Jupiter Swap Migration

If you're stuck maintaining Jupiter swap code that hits the old v1 or Ultra endpoints, this walks you through the migration to v2. It covers three paths: Ultra users can switch to the new `/order` endpoint with mostly URL changes, while Metis users can either move to `/build` for composability or `/order` for managed execution. The checklist is practical (watch out for `swapMode` being gone, `userPublicKey` renamed to `taker`, and ALT response format changes). One thing to note: this is explicitly a migration skill, so if you're building fresh Jupiter integration, you want the `integrating-jupiter` skill instead. The concrete examples for each path and the parameter mappings make it more useful than just reading changelog diffs.

skills.sh installs
297
GitHub stars
85
last updated
Aug 21, 2026

Install

$ npx -y skills add jup-ag/agent-skills --skill jupiter-swap-migration --agent claude-code

Installs into .claude/skills of the current project.

Files

Jupiter Swap Migration Guide

Migrate existing Jupiter swap integrations from Metis (v1) or Ultra to the unified Swap API v2.

Target Base URL: https://api.jup.ag/swap/v2 Auth: x-api-key from developers.jup.ag (unchanged)

Use/Do Not Use

Use when:

  • Migrating code that calls api.jup.ag/swap/v1/quote, api.jup.ag/swap/v1/swap-instructions, or ultra-api.jup.ag.
  • Updating Jupiter swap endpoints to v2.
  • Switching from Metis two-step flow to the unified /build or /order endpoint.

Do not use when:

  • Building a new Jupiter integration from scratch (use integrating-jupiter skill instead).
  • Working with non-swap Jupiter APIs (Lend, Trigger, Recurring, etc.).

Sponsors

Details

Repository
github.com/jup-ag/agent-skills
Categories
Backend & APIs, DevOps & CI/CD, Documentation, AI & Agent Building
First seen
Jun 3, 2026

More from jup-ag/agent-skills

All 3
1nodeops-app avatarcreateos-deploynodeops-app/skillsDeploy projects to CreateOS infrastructure via the MPP Gateway. Use when the user wants to deploy code, ship an app, or deploy to CreateOS. No auth session or O297skills.sh installs
210k-digital avatarlovable10k-digital/lovable-claude-codeIntegration skill for Lovable.dev projects. Activates when working with: - Lovable.dev projects with GitHub sync - Supabase Edge Functions that need deployment 296skills.sh installs
3secondsky avatarneon-vercel-postgressecondsky/claude-skillsNeon + Vercel serverless Postgres for edge and serverless environments. Use for Cloudflare Workers, Vercel Edge, Next.js apps with HTTP/WebSocket connections, d294skills.sh installs
4pedronauck avatarapp-renderer-systemspedronauck/skillsGuides creation and modification of domain feature systems organized under a systems/ directory. Covers directory layout, API service layer patterns, TanStack Q293skills.sh installs
5pproenca avatarrails-devpproenca/dot-skillsRuby on Rails performance and maintainability optimization guidelines for building backend APIs and frontend web applications. This skill should be used when wr293skills.sh installs
6pbnicad avatartelegram-bot-grammypbnicad/telegram-bot-grammy-skillTelegram Bot development skill using grammY framework, TypeScript, Drizzle ORM, Vitest testing, Biome linting, deployed to Cloudflare Workers with D1 database. 292skills.sh installs