{"uid":"cap_bOfSlcZBjIDbFE8JfKIO3","slug":"kale-x420-dev-4198b8b8","name":"KALE Token Custom Purchase","description":"Buy custom USDC amount worth of KALE tokens 0x933C483A5d0Ac4234F4FA26b9950864Ca57afb07","url":"https://kale.x420.dev/api/puff-custom","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string","description":"Optional amount in USDC (e.g., '10', '10.5', '0.5'). Defaults to 5 if not provided."}}},"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yNlsQFtm8xw0Ajgpk2D_7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a custom USDC amount worth of KALE tokens (0x933C483A5d0Ac4234F4FA26b9950864Ca57afb07) on behalf of the caller","exampleAgentPrompt":"Buy $20 worth of KALE tokens (contract 0x933C483A5d0Ac4234F4FA26b9950864Ca57afb07) using USDC and send them to my wallet.","exampleUseCases":[{"title":"Dollar-cost averaging into KALE","prompt":"Every week I want you to automatically buy $50 worth of KALE tokens using my USDC balance — just keep stacking them into my wallet on a regular schedule."},{"title":"Reinvest DeFi yields into KALE","prompt":"I just earned some USDC yield from my liquidity position. Go ahead and swap $75 of it into KALE tokens and add them to my holdings."},{"title":"Rebalance portfolio with KALE purchase","prompt":"My portfolio is underweight on KALE right now — can you use $200 USDC to buy more KALE tokens and bring my allocation back in line?"}],"resultDescription":"Returns a transaction confirmation indicating the amount of KALE tokens purchased, the USDC spent, and the on-chain transaction details for the swap.","failureModes":["Insufficient USDC balance — payment rejected","Invalid or zero USDC amount specified","Token contract unavailable or liquidity too low — swap fails","x402 payment header missing or malformed — 402 error returned","Network congestion causing transaction timeout","Slippage too high resulting in failed swap"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically purchase a specific custom dollar amount of KALE tokens using USDC, particularly in automated DeFi workflows or token accumulation strategies that require flexible spend amounts rather than fixed quantities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:52.924Z","isFirstParty":false}