# AIMorgan Order Execution

> AIMorgan Order Execution is a paid API for AI agents from aimorgan.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Executes a cross-venue DeFi order across Morpho, Hyperliquid, and/or Polymarket rails from an AI agent's treasury

## Facts

- Endpoint: POST https://aimorgan.vercel.app/api/execute
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aimorgan-vercel-app-fd139377
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XJuPQzvrcihGgmJYRMw-E

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 aimorgan-vercel-app-fd139377 -d '<json body>'
```

Example prompt: Execute a treasury allocation order through AIMorgan: deploy 500 USDC split across Morpho yield and a Hyperliquid long position on ETH, signed non-custodially from my agent wallet.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically execute a real DeFi order — allocating stablecoins to Morpho yield, placing a Hyperliquid perpetual trade, or taking a Polymarket position — in a single non-custodial call. Prefer this over read-only signal or status endpoints when the agent is ready to commit capital, not just analyze.

## Known failure modes

- Insufficient funds in agent wallet — order rejected
- Invalid venue or asset parameter — 400 bad request
- On-chain transaction reverted — execution failure with revert reason
- Slippage or liquidity issue on Hyperliquid — partial fill or rejection
- x402 payment not resolved — 402 payment required error
- Network congestion on Base causing timeout

## How this service works

AIMorgan order execution

## Output

Returns an execution confirmation including transaction hash(es), venue-level allocation results, order status, and any on-chain receipt details for the submitted order across the selected DeFi rails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

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