{"uid":"cap_eKbvNIZBTf-pQW0uCkzFG","slug":"dexl-buy-token-transaction-builder-d899190a","name":"DexL Buy Token Transaction Builder","description":"Builds an unsigned transaction to buy any token - DexL bonding curve, graduated DEX pair, or any other token with WETH liquidity on the chain's DEX router","url":"https://api.dexl.io/api/build-tx/buy","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_TMXgLQDzSIC2NO_CXnMtT","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":"Builds a buy transaction for purchasing memecoins on the DexL multichain SocialFi platform across Arbitrum, Robinhood Chain, and Base.","exampleAgentPrompt":"Build me a buy transaction on DexL for the memecoin on Base chain — I want to purchase some tokens at the current bonding curve price.","exampleUseCases":[{"title":"Memecoin purchase on Base","prompt":"Build me a buy transaction on DexL to purchase a memecoin on the Base chain — I want to buy in at the current bonding curve price."},{"title":"Arbitrum SocialFi token trade","prompt":"I want to buy a SocialFi token on Arbitrum through DexL — can you build me the buy transaction so I can submit it?"},{"title":"Robinhood Chain token acquisition","prompt":"Help me buy a token on Robinhood Chain via DexL by building the transaction for me — I'll sign and send it myself."}],"resultDescription":"Returns a constructed buy transaction object ready for signing and submission to the target blockchain (Arbitrum, Robinhood Chain, or Base), including transaction data, gas estimates, and chain-specific parameters for the bonding curve purchase.","failureModes":["Invalid or missing body parameters causing 400 Bad Request","Token or contract address not found on the specified chain","Bonding curve slippage exceeded resulting in transaction rejection","Payment of 0.005 USDC not processed leading to 402 Payment Required","Unsupported chain or network congestion causing timeout","Malformed JSON body returning schema validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically build a buy transaction for memecoins or SocialFi tokens on DexL's supported chains (Arbitrum, Robinhood Chain, Base) and want to leverage bonding curve pricing. Prefer this over generic DEX aggregators when specifically trading on DexL's SocialFi platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:40:54.867Z","isFirstParty":false}