{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/sushiswap-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/OPENAPI.md",
      "references/openapi.yaml"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "sushiswap-api",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-09T15:27:41.727Z",
      "expiresAt": "2026-05-16T15:27:41.727Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-api",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-api",
        "contentDisposition": "attachment; filename=\"sushiswap-api-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sushiswap-api"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/sushiswap-api",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "SushiSwap REST API Integration",
        "body": "The SushiSwap API provides HTTP access to the SushiSwap Aggregator for\noptimized token swaps, price discovery, and transaction generation.\nIt aggregates liquidity from multiple DEXs to determine the best execution route."
      },
      {
        "title": "Base URL",
        "body": "https://api.sushi.com"
      },
      {
        "title": "API Schema",
        "body": "The active API schema is defined in:\n\nreferences/openapi.yaml\n\nAgents must always rely on the schema contents rather than hardcoded assumptions."
      },
      {
        "title": "How To Use",
        "body": "Load references/openapi.yaml\nDiscover available endpoints, parameters, and response shapes dynamically\nSelect the appropriate endpoint based on user intent and schema tags\n\nQuotes → quote endpoints (e.g. /quote/v7/{chainId})\nSwap execution → swap endpoints (e.g. /swap/v7/{chainId})\nPrices → price endpoints (e.g. /price/v1/{chainId})\nToken info → token endpoints (e.g. /token/v1/{chainId}/{tokenAddress})\n\n\nConstruct requests that strictly conform to the schema and include a valid referrer parameter for all quote and swap endpoints\nValidate required parameters before execution"
      },
      {
        "title": "Mandatory referrer Parameter",
        "body": "The referrer parameter must be specified on swap-related endpoints (e.g. /quote & /swap)\nThe agent or integrator must identify themselves using this field\n/quote or /swap requests must not be sent without a referrer value\nAgents must never attempt to omit, spoof, or auto-generate this value."
      },
      {
        "title": "Fee Customization",
        "body": "The SushiSwap API supports customized integrator fees on swap-related endpoints (e.g. /quote & /swap)."
      },
      {
        "title": "Default fee model",
        "body": "Swap-related requests follow an 80/20 fee split by default\n\n80% to the integrator (referrer)\n20% to SushiSwap\n\n\nThis split applies unless explicitly overridden by SushiSwap"
      },
      {
        "title": "Custom fee splits",
        "body": "Alternative fee splits require a partnership with SushiSwap\nAgents and integrators should not assume custom splits are available. If users request alternative fee splits, agents should direct them to the SushiSwap\nteam rather than attempting to modify request parameters."
      },
      {
        "title": "Error Handling",
        "body": "422: Request parameters are invalid → fix inputs\n529: Server overloaded → retry with backoff\n500: Internal error → retry or fail gracefully"
      },
      {
        "title": "Schema Guidance",
        "body": "For schema usage rules and update behavior, see:\n\nreferences/OPENAPI.md"
      }
    ],
    "body": "SushiSwap REST API Integration\n\nThe 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.\n\nBase URL\nhttps://api.sushi.com\n\nAPI Schema\n\nThe active API schema is defined in:\n\nreferences/openapi.yaml\n\nAgents must always rely on the schema contents rather than hardcoded assumptions.\n\nHow To Use\nLoad references/openapi.yaml\nDiscover available endpoints, parameters, and response shapes dynamically\nSelect the appropriate endpoint based on user intent and schema tags\nQuotes → quote endpoints (e.g. /quote/v7/{chainId})\nSwap execution → swap endpoints (e.g. /swap/v7/{chainId})\nPrices → price endpoints (e.g. /price/v1/{chainId})\nToken info → token endpoints (e.g. /token/v1/{chainId}/{tokenAddress})\nConstruct requests that strictly conform to the schema and include a valid referrer parameter for all quote and swap endpoints\nValidate required parameters before execution\nMandatory referrer Parameter\nThe referrer parameter must be specified on swap-related endpoints (e.g. /quote & /swap)\nThe agent or integrator must identify themselves using this field\n/quote or /swap requests must not be sent without a referrer value\nAgents must never attempt to omit, spoof, or auto-generate this value.\nFee Customization\n\nThe SushiSwap API supports customized integrator fees on swap-related endpoints (e.g. /quote & /swap).\n\nDefault fee model\nSwap-related requests follow an 80/20 fee split by default\n80% to the integrator (referrer)\n20% to SushiSwap\nThis split applies unless explicitly overridden by SushiSwap\nCustom fee splits\nAlternative fee splits require a partnership with SushiSwap\nAgents 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.\nError Handling\n422: Request parameters are invalid → fix inputs\n529: Server overloaded → retry with backoff\n500: Internal error → retry or fail gracefully\nSchema Guidance\n\nFor schema usage rules and update behavior, see:\n\nreferences/OPENAPI.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-api",
    "publisherUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-api",
    "owner": "0xMasayoshi",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}