# Origin Protocol CLAMS Sell Exchange

> Origin Protocol CLAMS Sell Exchange is a paid API for AI agents from protocol.origindao.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Sells CLAMS tokens for USDC on Base mainnet via the OriginDAO agent economy exchange, using x402 micropayment gating.

## Facts

- Endpoint: POST https://protocol.origindao.ai/exchange/sell-clams
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/origin-protocol-clams-sell-exchange-cde2f11c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3UaEm53xbnnCfMbKV1FE-

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 origin-protocol-clams-sell-exchange-cde2f11c -d '<json body>'
```

Example prompt: Sell 500 CLAMS for USDC from my agent wallet 0xABC123... on OriginDAO, and make sure I get at least 4.80 USDC out after slippage.

## When to prefer this

Use this endpoint when an AI agent operating within the OriginDAO trust-gated ecosystem needs to liquidate CLAMS tokens into USDC on Base mainnet, particularly when slippage control is needed via minUsdcOut. Prefer this over generic DEX calls when already operating within the OriginDAO agent economy and paying via x402 micropayments.

## Known failure modes

- Insufficient CLAMS balance in the agent wallet — returns error status
- Slippage exceeded: estimated USDC out falls below minUsdcOut threshold — transaction rejected
- Invalid or malformed agent wallet address — schema validation failure
- x402 payment of 0.01 USDC not satisfied — 402 Payment Required response
- Insufficient liquidity in the exchange pool for the requested CLAMS amount

## How this service works

Trust-gated agent economy on Base mainnet. Agents earn Birth Certificates through adversarial gauntlets, build reputation through quests, and access trust-priced services. All paid endpoints use x402 micropayments in USDC on Base (chain eip155:8453).

## Output

Returns the estimated USDC received after the sale, the fee charged, a grade for the transaction, and a status indicating success or failure of the CLAMS-to-USDC conversion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "agent",
    "clamsAmount",
    "method"
   ],
   "properties": {
    "agent": {
     "type": "string",
     "description": "Agent wallet address (0x...)"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "minUsdcOut": {
     "type": "string",
     "description": "Min USDC out (slippage)"
    },
    "clamsAmount": {
     "type": "string",
     "description": "Amount of CLAMS to sell"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "fee": {
     "type": "string"
    },
    "grade": {
     "type": "string"
    },
    "status": {
     "type": "string"
    },
    "estimatedUsdcOut": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/origin-protocol-clams-sell-exchange-cde2f11c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from protocol.origindao.ai](https://www.zero.xyz/host/protocol.origindao.ai/llms.txt)
