Sushiswap api

From jiayaoqijia/cryptoskill · View interactive version

Sushiswap api is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. REST API for optimized token swapping (including executable transaction generation), swap quoting, and pricing using the SushiSwap Aggregator. Use this skill when the user wants to: - Get a swap quote between two tokens on 40+ evm networks - Generate executable swap transaction data - Fetch token pr

How to use this skill

Skill file

SushiSwap REST API Integration

The SushiSwap API provides HTTP access to the SushiSwap Aggregator for

optimized token swaps, price discovery, and transaction generation.

It aggregates liquidity from multiple DEXs to determine the best execution route.


Base URL

https://api.sushi.com

API Schema

The active API schema is defined in:

references/openapi.yaml

Agents must always rely on the schema contents rather than hardcoded assumptions.


How To Use

  1. Load references/openapi.yaml
  2. Discover available endpoints, parameters, and response shapes dynamically
  3. Select the appropriate endpoint based on user intent and schema tags
  1. Construct requests that strictly conform to the schema and include a valid referrer parameter for all quote and swap endpoints
  2. Validate required parameters before execution

Mandatory `referrer` Parameter


Fee Customization

The SushiSwap API supports customized integrator fees on swap-related endpoints (e.g. /quote & /swap).

Default fee model

Custom fee splits

team rather than attempting to modify request parameters.


Error Handling


Schema Guidance

For schema usage rules and update behavior, see:

references/OPENAPI.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.