{"uid":"cap_J0COlfxj2oFHVvkYWSEyo","slug":"basebrain-dex-orders-272c9b23","name":"BaseBrain DEX Orders","description":"Generated by create next app","url":"https://basebrain-ai.vercel.app/api/dex/orders","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","example":{"result":{"data":"example response"}},"properties":{"result":{"type":"object","description":"API response data"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hoWtqMhUUoMwAoRXC6HPk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates decentralized exchange (DEX) orders via the BaseBrain AI platform","exampleAgentPrompt":"Place a DEX order to swap 100 USDC for ETH at the current market price on BaseBrain.","exampleUseCases":[{"title":"Market buy crypto token","prompt":"Submit a market order on BaseBrain DEX to buy 0.05 ETH using USDC right now."},{"title":"Limit sell order placement","prompt":"Create a limit sell order on BaseBrain DEX for 500 USDC worth of a token at a specific target price."},{"title":"Automated DeFi trading bot","prompt":"Place a DEX order on BaseBrain to execute a token swap as part of my automated trading strategy — sell 200 USDC for the best available rate."}],"resultDescription":"Returns a result object containing order execution data, including order status, confirmation details, and any relevant trade information returned by the DEX.","failureModes":["Invalid or missing order parameters returns an error response","Insufficient funds or liquidity causes order rejection","Network or blockchain connectivity issues may delay or fail order submission","Malformed request body returns a 400-level error","Payment of 0.08 USDC not included triggers a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to programmatically submit orders to a DEX through the BaseBrain AI platform and are already operating within its ecosystem. Best suited for agents that need to automate crypto token trading or swaps with a simple REST API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:08.728Z","isFirstParty":false}