# DexL Buy Token Transaction Builder

> DexL Buy Token Transaction Builder is a paid API for AI agents from api.dexl.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Builds a buy transaction for purchasing memecoins on the DexL multichain SocialFi platform across Arbitrum, Robinhood Chain, and Base.

## Facts

- Endpoint: POST https://api.dexl.io/api/build-tx/buy
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-buy-token-transaction-builder-d899190a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eKbvNIZBTf-pQW0uCkzFG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dexl-buy-token-transaction-builder-d899190a -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-buy-token-transaction-builder-d899190a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.dexl.io](https://www.zero.xyz/host/api.dexl.io/llms.txt)
