# Otto AI Safe Transaction History

> Otto AI Safe Transaction History is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Retrieves paginated trade and transaction history (swaps, bridges, deposits, withdrawals) for a user's Otto AI Safe account by EVM wallet address.

## Facts

- Endpoint: GET https://x402.ottoai.services/transaction-history
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ottoai-services-d3dec880
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RwhiDUQ6PA87SL0luW84H

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 x402-ottoai-services-d3dec880
```

Example prompt: Can you pull up the transaction history for my Otto AI Safe account — wallet address 0x742d35Cc6634C0532925a3b844Bc9e7595f42bE4 — and show me all my recent swaps, bridges, deposits, and withdrawals?

## When to prefer this

Use this endpoint when you need transaction history specifically tied to an Otto AI Safe smart account — including swaps, bridges, deposits, and withdrawals executed through Otto AI. Prefer this over generic block explorers when you need structured, pre-categorized DeFi activity data with pagination support. Not suitable for raw on-chain transaction data outside of Otto AI Safe activity.

## Known failure modes

- Missing or invalid userId (EVM address) returns an error or empty result
- Non-EVM address formats are rejected by schema validation
- Wallet with no Otto AI Safe history returns empty transactions array
- Rate limiting or payment failure due to insufficient USDC for x402 micropayment
- Network timeout if blockchain indexer is slow

## How this service works

Trade and transaction history for a user's Otto AI Safe account — swaps, bridges, deposits, withdrawals with timestamps and explorer links.

## Output

Returns a paginated list of transactions associated with the given EVM wallet address, including swaps, bridges, deposits, and withdrawals. Each transaction entry includes timestamps and block explorer links. The response also includes pagination metadata (page, limit, total, totalPages) and a status field. An empty transactions array is returned if no history exists.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "userId": "0x1234567890123456789012345678901234567890"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "userId"
     ],
     "properties": {
      "userId": {
       "type": "string",
       "description": "EVM wallet address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "status": {
       "type": "string"
      },
      "transactions": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

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