# Send SushiSwap API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sushiswap-api",
    "name": "SushiSwap API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-api",
    "canonicalUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/sushiswap-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/OPENAPI.md",
      "references/openapi.yaml"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sushiswap-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sushiswap-api",
    "downloadUrl": "https://openagent3.xyz/downloads/sushiswap-api",
    "agentUrl": "https://openagent3.xyz/skills/sushiswap-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sushiswap-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sushiswap-api/agent.md"
  }
}
```
## Documentation

### 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

Load references/openapi.yaml
Discover available endpoints, parameters, and response shapes dynamically
Select the appropriate endpoint based on user intent and schema tags

Quotes → quote endpoints (e.g. /quote/v7/{chainId})
Swap execution → swap endpoints (e.g. /swap/v7/{chainId})
Prices → price endpoints (e.g. /price/v1/{chainId})
Token info → token endpoints (e.g. /token/v1/{chainId}/{tokenAddress})


Construct requests that strictly conform to the schema and include a valid referrer parameter for all quote and swap endpoints
Validate required parameters before execution

### Mandatory referrer Parameter

The referrer parameter must be specified on swap-related endpoints (e.g. /quote & /swap)
The agent or integrator must identify themselves using this field
/quote or /swap requests must not be sent without a referrer value
Agents must never attempt to omit, spoof, or auto-generate this value.

### Fee Customization

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

### Default fee model

Swap-related requests follow an 80/20 fee split by default

80% to the integrator (referrer)
20% to SushiSwap


This split applies unless explicitly overridden by SushiSwap

### Custom fee splits

Alternative fee splits require a partnership with SushiSwap
Agents and integrators should not assume custom splits are available. If users request alternative fee splits, agents should direct them to the SushiSwap
team rather than attempting to modify request parameters.

### Error Handling

422: Request parameters are invalid → fix inputs
529: Server overloaded → retry with backoff
500: Internal error → retry or fail gracefully

### Schema Guidance

For schema usage rules and update behavior, see:

references/OPENAPI.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 0xMasayoshi
- Version: 0.1.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/sushiswap-api)
- [Send to Agent page](https://openagent3.xyz/skills/sushiswap-api/agent)
- [JSON manifest](https://openagent3.xyz/skills/sushiswap-api/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/sushiswap-api/agent.md)
- [Download page](https://openagent3.xyz/downloads/sushiswap-api)