Animica x402 Directory

Directory / api.dexl.io

api.dexl.io/api/build-tx/sell

Builds unsigned transaction(s) to sell any token - DexL bonding curve, graduated DEX pair, or any other token with WETH liquidity on the chain's DEX router (including an approve step if needed)

Call it

# 1. Ask the endpoint what it costs (no payment, no wallet needed):
curl -i -X POST 'https://api.dexl.io/api/build-tx/sell'

# -> HTTP/1.1 402 Payment Required
#    the response carries the price, asset and pay-to address.

# 2. Pay and retry with any x402 client:
npx x402-fetch -X POST 'https://api.dexl.io/api/build-tx/sell'

Endpoint: https://api.dexl.io/api/build-tx/sell. Operated by api.dexl.io, not by Animica. Price and availability were correct at the last probe on 2026-10-01 and are set by the operator, who may change them.

Other endpoints on api.dexl.io

api.dexl.io/api/build-tx/buy

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

POST · $0.005

All 2 endpoints on api.dexl.io →