← All endpoints
api.dexl.io build-tx buy
https://api.dexl.io/api/build-tx/buy
answers 402
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
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.005
- Network
- base
- Pay to
- 0x820D61a720963fab63aB6e0aeF4D1779Eb42F6BB
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 551 ms
- Payment options
- 3 usable of 3
- Last checked
- 2026-09-06T01:22:48.189Z (2h ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.dexl.io%2Fapi%2Fbuild-tx%2Fbuy"