{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "x402-kodaoracle-com-api-v1-swap",
  "title": "Koda Oracle \u00b7 Swap Quote & Safety Audit",
  "url": "https://x402.kodaoracle.com/api/v1/swap",
  "category": "finance",
  "summary": "Request swap quotes with integrated safety checks. Returns unsigned transaction data for non-custodial execution on Base or Solana.",
  "seo": {
    "title": "DEX Swap Quote API | x402 Pay-Per-Call | Non-Custodial Safety Audit",
    "description": "Get swap quotes with safety audits via x402 micropayments. Returns unsigned transactions for Base and Solana DEX trades at $0.10 USDC per call."
  },
  "use_cases": [
    "Get optimal swap routes across DEXs",
    "Audit swap safety before signing",
    "Compare slippage across token pairs",
    "Generate unsigned swap transactions"
  ],
  "ideal_buyer": "DeFi traders, DEX aggregators, and wallet applications seeking non-custodial swap infrastructure.",
  "example_prompt": "Get me a swap quote for 1000 USDC to ETH on Base with 0.5% slippage tolerance and audit the transaction for safety issues.",
  "example_request_body": {
    "tokenIn": "USDC",
    "amountIn": "1000",
    "slippage": "0.5",
    "tokenOut": "ETH",
    "walletAddress": "0x..."
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive",
    "ratio": 3.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x8538d43937e466225ec6e1a0260755fa9741c004",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Swap quote + safety audit (non-custodial \u2014 returns unsigned tx). Use ACP swap offering for custodial execution.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "queryParams": {
            "tokenIn": "Token to sell (symbol or 0x address)",
            "amountIn": "Amount to sell (human-readable)",
            "slippage": "Slippage tolerance in % (optional)",
            "tokenOut": "Token to buy (symbol or 0x address)",
            "walletAddress": "Your wallet address (for balance/approval checks and as tx sender)"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "checks": {
              "approved": true,
              "balanceSufficient": true
            },
            "safety": {
              "score": 85,
              "verdict": "PASS"
            },
            "success": true,
            "amountOut": "5.23",
            "priceImpact": "0.35%",
            "transaction": {
              "to": "0xrouter...",
              "gas": "300000",
              "data": "0xcalldata...",
              "value": "0"
            },
            "instructions": [
              "Submit the transaction to the router address with the provided data and value"
            ]
          }
        }
      }
    },
    {
      "scheme": "exact",
      "network": "solana",
      "pay_to": "FJtKWPAMkzPzk4N3grZVbqnscMnR7TQnBFDgyctDaVyK",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "max_amount_required_atomic": "100000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Swap quote + safety audit (non-custodial \u2014 returns unsigned tx). Use ACP swap offering for custodial execution.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "queryParams": {
            "tokenIn": "Token to sell (symbol or 0x address)",
            "amountIn": "Amount to sell (human-readable)",
            "slippage": "Slippage tolerance in % (optional)",
            "tokenOut": "Token to buy (symbol or 0x address)",
            "walletAddress": "Your wallet address (for balance/approval checks and as tx sender)"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "checks": {
              "approved": true,
              "balanceSufficient": true
            },
            "safety": {
              "score": 85,
              "verdict": "PASS"
            },
            "success": true,
            "amountOut": "5.23",
            "priceImpact": "0.35%",
            "transaction": {
              "to": "0xrouter...",
              "gas": "300000",
              "data": "0xcalldata...",
              "value": "0"
            },
            "instructions": [
              "Submit the transaction to the router address with the provided data and value"
            ]
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "finance-cl-bbc173f90a7d",
  "origin": {
    "slug": "x402-kodaoracle-com",
    "host": "x402.kodaoracle.com",
    "url": "https://x402.kodaoracle.com"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/x402-kodaoracle-com-api-v1-swap",
    "url": "https://x402all.com/resource/x402-kodaoracle-com-api-v1-swap",
    "name": "Koda Oracle \u00b7 Swap Quote & Safety Audit",
    "@type": "WebAPI",
    "offers": [
      {
        "url": "https://x402all.com/resource/x402-kodaoracle-com-api-v1-swap",
        "@type": "Offer",
        "price": "0.1",
        "availability": "https://schema.org/InStock",
        "priceCurrency": "USDC",
        "priceSpecification": {
          "@type": "UnitPriceSpecification",
          "price": "0.100000",
          "unitText": "call",
          "priceCurrency": "USDC"
        },
        "eligibleCustomerType": "Agent",
        "additionalProperty": [
          {
            "@type": "PropertyValue",
            "name": "paymentNetwork",
            "value": "base"
          },
          {
            "@type": "PropertyValue",
            "name": "paymentAsset",
            "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          }
        ]
      },
      {
        "url": "https://x402all.com/resource/x402-kodaoracle-com-api-v1-swap",
        "@type": "Offer",
        "price": "0.1",
        "availability": "https://schema.org/InStock",
        "priceCurrency": "USDC",
        "priceSpecification": {
          "@type": "UnitPriceSpecification",
          "price": "0.100000",
          "unitText": "call",
          "priceCurrency": "USDC"
        },
        "eligibleCustomerType": "Agent",
        "additionalProperty": [
          {
            "@type": "PropertyValue",
            "name": "paymentNetwork",
            "value": "solana"
          },
          {
            "@type": "PropertyValue",
            "name": "paymentAsset",
            "value": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
          }
        ]
      }
    ],
    "sameAs": "https://x402.kodaoracle.com/api/v1/swap",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/x402-kodaoracle-com",
      "url": "https://x402.kodaoracle.com",
      "name": "x402.kodaoracle.com",
      "@type": "Organization"
    },
    "identifier": "x402-kodaoracle-com-api-v1-swap",
    "description": "Get swap quotes with safety audits via x402 micropayments. Returns unsigned transactions for Base and Solana DEX trades at $0.10 USDC per call.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=x402-kodaoracle-com-api-v1-swap",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=x402-kodaoracle-com-api-v1-swap"
}
