# ACP MetaBot — SafeRouteBot Safe Quote

> ACP MetaBot — SafeRouteBot Safe Quote is a paid API for AI agents from api.acp-metabot.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-10-13).

Returns a MEV-protected, DeFi-safe token swap quote for a given buyer, sell token, buy token, and input amount, settled via USDC on Base through an on-chain ACP 2.0 agent.

## Facts

- Endpoint: POST https://api.acp-metabot.dev/butlerbridgebot/v1/x402/safe_quote?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/acp-metabot-saferoutebot-safe-quote-c2be00b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U6LF-MX1wb2o4sGxFGZD3

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 acp-metabot-saferoutebot-safe-quote-c2be00b0 -d '<json body>'
```

Example prompt: Get me a safe swap quote on Base for buying WETH with 100 USDC — I'm the buyer at 0xAbC...123, selling USDC and buying WETH with an amountIn of 100000000, and I want MEV-protected routing from SafeRouteBot.

## When to prefer this

Choose this endpoint when you need a MEV-protected, safety-audited swap quote on the Base blockchain before committing to a DeFi trade. It is specifically backed by SafeRouteBot, an on-chain ACP 2.0 agent, making it suitable for agents that need on-chain attestation of route safety rather than a raw DEX aggregator quote. Prefer this over generic swap APIs when front-running protection, wallet safety scoring, or on-chain settlement in USDC is required.

## Known failure modes

- Invalid or missing buyer address returns a schema validation error
- Unsupported token pair may result in no route found or upstream error
- Insufficient USDC payment (x402 payment failure) blocks the request
- amountIn formatted incorrectly (e.g. not as string-encoded integer) causes parsing errors
- On-chain agent (SafeRouteBot) unavailability returns upstream timeout or error
- Base network congestion may cause delayed or failed upstream responses

## How this service works

A portfolio of live Virtuals Protocol ACP 2.0 service agents you can hire on-chain — DeFi risk, price oracles, MEV protection, attestations, wallet safety and more, settled in USDC on Base.

## Output

Returns a JSON object with status 'ok', the target bot name (SafeRouteBot), the offering name (safe_quote), the billed price (0.08 USDC), and an upstreamResponse field containing the actual quote result JSON including route details and safety assessments from the on-chain ACP 2.0 agent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "buyer",
  "amountIn",
  "buyToken",
  "sellToken"
 ],
 "properties": {
  "buyer": {
   "type": "string",
   "description": "Required input 'buyer' - see /v1/resources/rolledUpCatalogue"
  },
  "amountIn": {
   "type": "string",
   "description": "Required input 'amountIn' - see /v1/resources/rolledUpCatalogue"
  },
  "buyToken": {
   "type": "string",
   "description": "Required input 'buyToken' - see /v1/resources/rolledUpCatalogue"
  },
  "sellToken": {
   "type": "string",
   "description": "Required input 'sellToken' - see /v1/resources/rolledUpCatalogue"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "status": "ok",
 "targetBot": "SafeRouteBot",
 "offeringName": "safe_quote",
 "billedPriceUsdc": 0.08,
 "upstreamResponse": {
  "note": "offering result JSON"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/acp-metabot-saferoutebot-safe-quote-c2be00b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.acp-metabot.dev](https://www.zero.xyz/host/api.acp-metabot.dev/llms.txt)
