{"uid":"cap_m7FYZm00PJBl_NgCaCLxM","slug":"button-money-limit-order-0312180f","name":"Button Money Limit Order","description":"Create limit order with automatic execution","url":"https://buttonmoney.vercel.app/api/premium/swap/limit-order","method":"POST","headers":{},"bodySchema":{"type":"object","required":["tokenIn","amountIn","tokenOut","limitPrice"],"properties":{"tokenIn":{"type":"string","description":"Input token address"},"amountIn":{"type":"string","description":"Amount of input token"},"tokenOut":{"type":"string","description":"Output token address"},"limitPrice":{"type":"string","description":"Limit price for execution"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XYuSCBEmXLVemWTFbPQBe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a limit order for a token swap that executes automatically when the specified price is reached","exampleAgentPrompt":"Set a limit order to swap 100 USDC (token address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for ETH (token address 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and only execute it when the price hits 0.00035 ETH per USDC.","exampleUseCases":[{"title":"Buy ETH at dip price","prompt":"Set a limit order to swap 500 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) but only execute it automatically when ETH drops to $1,800 — I don't want to pay more than that."},{"title":"Sell token at profit target","prompt":"Place a limit order to swap all 2,000 of my LINK tokens (0x514910771AF9Ca656af840dff83E8264EcF986CA) into USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) and trigger it automatically once LINK hits $25 — that's my take-profit target."},{"title":"Schedule altcoin buy on dip","prompt":"I want to pick up some ARB tokens (0x912CE59144191C1204E64559FE8253a0e49E6548) with 300 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) but only if the price falls to $0.80 per ARB — can you set that up as an automatic limit order so I don't have to watch the charts?"}],"resultDescription":"Returns a confirmation of the limit order creation, including an order identifier, the specified parameters (tokenIn, amountIn, tokenOut, limitPrice), and status indicating the order is queued for automatic execution when the limit price condition is met.","failureModes":["Invalid token address format — returns 400 with address validation error","Insufficient token balance or allowance — returns error indicating funds unavailable","Limit price outside acceptable range or malformed — returns 400 with price validation error","Unsupported token pair — returns error if the token pair has no available liquidity route","Service unavailable — returns 503 if the order management system is down","Payment failure — returns 402 if the $0.005 USDC payment is not provided"],"whenToPreferThis":"Use this endpoint when you need to automate a token swap that should only execute at a specific price point, rather than executing immediately at market price. Ideal for agents managing DeFi portfolios that need price-conditional trading logic without constant monitoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:32.106Z","isFirstParty":false}