{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-sunlana-live-v1-front-x402",
  "title": "Sunlana \u00b7 Token swap with payment amount selection on Solana",
  "url": "https://api.sunlana.live/v1/front/x402",
  "category": "finance",
  "summary": "Execute token swaps on Solana by paying a selectable USDC amount via x402. Returns the payment sent and tokens received.",
  "seo": {
    "title": "Sunlana Token Swap API | Solana x402 Payment",
    "description": "Execute token swaps on Solana with x402 payment. Select payment amount: 1, 5, 10, 50, 100, or 500 USDC. Returns payment and receive amounts."
  },
  "use_cases": [
    "Swap USDC for Sunlana tokens at fixed rate tiers",
    "Execute programmatic token purchases on Solana",
    "Integrate token acquisition into agent workflows"
  ],
  "ideal_buyer": "Agents and users on Solana seeking programmatic token swaps with tiered payment options.",
  "example_prompt": "Swap 10 USDC for Sunlana tokens and return the exact amount of tokens I will receive.",
  "example_request_body": {
    "amount": 10
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive_outlier",
    "ratio": 50,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana",
      "pay_to": "8WCcfRdNcNcd7QLcRHhKZxU8pP3NYhBgnJozwzZPD9ZH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "max_amount_required_atomic": "1000000",
      "max_timeout_seconds": 60,
      "description": "Payment required for /v1/front/x402",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "queryParams": {
            "amount": {
              "enum": [
                "1",
                "5",
                "10",
                "50",
                "100",
                "500"
              ],
              "type": "integer",
              "description": "The amount of payment in the asset"
            }
          }
        },
        "output": {
          "payment": {
            "type": "int",
            "description": "The amount of payment in the asset"
          },
          "receive": {
            "type": "int",
            "description": "The amount of receive in the asset"
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "api-sunlana-live",
    "host": "api.sunlana.live",
    "title": "Sunlana Resource API",
    "description": "Provides access to Sunlana resources on Solana. Requires x402 payment for endpoint access.",
    "url": "https://api.sunlana.live",
    "og_image": "https://sunlana.mypinata.cloud/ipfs/bafybeiasgwm4gdcpw4i25obli6ykf2m6h7dl32dwh3t7rdgeubulpykn3m",
    "favicon": "https://api.sunlana.live/static/favicon.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-sunlana-live-v1-front-x402",
    "url": "https://x402all.com/resource/api-sunlana-live-v1-front-x402",
    "name": "Sunlana \u00b7 Token swap with payment amount selection on Solana",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-sunlana-live-v1-front-x402",
      "@type": "Offer",
      "price": "1",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "1.000000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "solana"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
        }
      ]
    },
    "sameAs": "https://api.sunlana.live/v1/front/x402",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-sunlana-live",
      "url": "https://api.sunlana.live",
      "name": "Sunlana Resource API",
      "@type": "Organization"
    },
    "identifier": "api-sunlana-live-v1-front-x402",
    "description": "Execute token swaps on Solana with x402 payment. Select payment amount: 1, 5, 10, 50, 100, or 500 USDC. Returns payment and receive amounts.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-sunlana-live-v1-front-x402",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-sunlana-live-v1-front-x402"
}
