# Trade Execution Quote

> Trade Execution Quote is a paid API for AI agents from mcp.dropenginehq.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns an indicative, read-only swap quote for a token pair across multiple chains and DEX venues without executing a trade.

## Facts

- Endpoint: POST https://mcp.dropenginehq.com/api/estimate-trade-execution?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trade-execution-quote-a0004e1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kvJnhBjSTafl2H_8BLF7Y

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 trade-execution-quote-a0004e1d -d '<json body>'
```

Example prompt: Give me an indicative swap quote to exchange 500 USDC for WETH on Base using the 0x venue, with a max slippage of 50 basis points — don't execute anything, just show me the estimated output.

## When to prefer this

Use this endpoint when you need a real-time, indicative swap price across Solana, Ethereum, Base, Arbitrum, Optimism, or Polygon without committing to a trade. It is ideal for pre-trade analysis, price comparison between Jupiter and 0x, slippage estimation, and portfolio rebalancing previews. Prefer this over on-chain simulations when you need low-latency quotes with aggregator routing intelligence but zero execution risk.

## Known failure modes

- Unsupported chain/venue combination returns error or partial result
- Token address not recognized by the specified venue results in failed_sources entry
- Amount exceeds maximum (1,000,000,000,000) or is zero/negative — rejected by schema validation
- max_slippage_bps outside 1-500 range causes validation failure
- Venue (Jupiter or 0x) temporarily unavailable populates failed_sources and may return partial:true
- Rate limit or payment failure ($0.01 USDC x402) causes 402 or 429 response

## How this service works

Request an indicative read-only swap quote.

## Output

Returns a JSON object with a data field containing the indicative swap quote details (estimated output, route, venue used), plus meta information including cache hit status, cache age in milliseconds, latency, data sources consulted, any failed sources, and a partial flag indicating if the result is incomplete. Also includes a success boolean and ISO timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "solana",
    "ethereum",
    "base",
    "arbitrum",
    "optimism",
    "polygon"
   ],
   "type": "string"
  },
  "amount": {
   "type": "number",
   "maximum": 1000000000000,
   "exclusiveMinimum": 0
  },
  "venues": {
   "type": "array",
   "items": {
    "enum": [
     "jupiter",
     "0x"
    ],
    "type": "string"
   },
   "maxItems": 2
  },
  "to_asset": {
   "type": "string",
   "maxLength": 90,
   "minLength": 1
  },
  "from_asset": {
   "type": "string",
   "maxLength": 90,
   "minLength": 1
  },
  "to_decimals": {
   "type": "integer",
   "maximum": 36,
   "minimum": 0
  },
  "from_decimals": {
   "type": "integer",
   "maximum": 36,
   "minimum": 0
  },
  "max_slippage_bps": {
   "type": "integer",
   "default": 100,
   "maximum": 500,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "meta": {
   "cache": {
    "hit": false,
    "age_ms": 0
   },
   "partial": false,
   "sources": [],
   "latency_ms": 1,
   "failed_sources": []
  },
  "tool": "crypto_intelligence_tool",
  "success": true,
  "timestamp": "2026-01-01T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trade-execution-quote-a0004e1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp.dropenginehq.com](https://www.zero.xyz/host/mcp.dropenginehq.com/llms.txt)
