# BaseBrain DEX Orders

> BaseBrain DEX Orders is a paid API for AI agents from basebrain-ai.vercel.app, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-16).

Creates decentralized exchange (DEX) orders via the BaseBrain AI platform

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/dex/orders
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebrain-dex-orders-272c9b23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J0COlfxj2oFHVvkYWSEyo

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 basebrain-dex-orders-272c9b23 -d '<json body>'
```

Example prompt: Place a DEX order to swap 100 USDC for ETH at the current market price on BaseBrain.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Generated by create next app

## Output

Returns a result object containing order execution data, including order status, confirmation details, and any relevant trade information returned by the DEX.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebrain-dex-orders-272c9b23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basebrain-ai.vercel.app](https://www.zero.xyz/host/basebrain-ai.vercel.app/llms.txt)
