# ArcGate Swap Transaction Execute

> ArcGate Swap Transaction Execute is a paid API for AI agents from api.arcgate.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Executes a token swap transaction on-chain using a pre-obtained quote ID, with configurable approval method and recipient

## Facts

- Endpoint: POST https://api.arcgate.dev/trade/v1/swap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arcgate-swap-transaction-execute-c8a8bd51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UDYQ3IT_6Ma8S3a-YmAJi

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 arcgate-swap-transaction-execute-c8a8bd51 -d '<json body>'
```

Example prompt: Execute the swap for quote q_a1b2c3d4e5f67890 from my wallet 0xAbCd...1234 using permit2 approval, send the output to 0xDeF0...5678, and complete within 120 seconds.

## When to prefer this

Use this endpoint after obtaining a swap quote (via the sibling Swap Quote endpoint) when you need to actually execute the on-chain token swap. This is the settlement step — not for price discovery or quoting. Prefer this when you have a valid quoteId and need to finalize the trade with either permit2 or standard ERC-20 approve authorization, optionally sending output to a different recipient address.

## Known failure modes

- Invalid or expired quote ID returns error
- Taker address does not match quote taker
- Deadline too short or exceeds 600 seconds returns validation error
- Approval method not recognized (must be permit2 or approve)
- Insufficient token balance or allowance causes transaction failure
- On-chain transaction reverts due to slippage or liquidity issues
- Malformed Ethereum address pattern returns 400 validation error

## How this service works

Swap transactions

## Output

Returns the result of the on-chain swap execution, including transaction hash and settlement details confirming the token conversion has been submitted or completed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "taker": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "quoteId": {
   "type": "string",
   "pattern": "^q_[0-9a-f]{16,}$"
  },
  "approval": {
   "enum": [
    "permit2",
    "approve"
   ],
   "type": "string"
  },
  "recipient": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    {
     "type": "null"
    }
   ]
  },
  "deadlineSec": {
   "type": "integer",
   "maximum": 600,
   "minimum": 10
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arcgate-swap-transaction-execute-c8a8bd51/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.arcgate.dev](https://www.zero.xyz/host/api.arcgate.dev/llms.txt)
