# Phantom API — Gnosis Chain Transaction History

> Phantom API — Gnosis Chain Transaction History is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Retrieves paginated transaction history for addresses on the Gnosis blockchain network, with filtering by block range, category, and address.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/gnosis/tx/history
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-gnosis-chain-transaction-history-40cbb88f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uJuVqaL5_t0tXeEV8MNgz

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 phantom-api-gnosis-chain-transaction-history-40cbb88f -d '<json body>'
```

Example prompt: Pull the last 25 transactions involving address 0xAbC...123 on Gnosis Chain, sorted newest first, and include metadata — skip any zero-value transfers.

## When to prefer this

Choose this endpoint when you need historical transaction data specifically on the Gnosis Chain (xDai) network, with fine-grained control over address filtering, block ranges, category filtering, and pagination. Prefer it over generic blockchain explorers when you need programmatic, pay-per-call access without API key registration, or when building agents that need structured JSON transaction data for Gnosis addresses.

## Known failure modes

- Invalid address format returns a 400 error
- Invalid block range (fromBlock > toBlock) may return empty results or error
- Unrecognized category values may cause empty result sets
- Payment not included or insufficient USDC triggers 402 Payment Required
- Rate limiting or timeout on very large block ranges
- pageKey expiry or invalidity returns an error requiring restart of pagination

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

A paginated list of on-chain transactions on the Gnosis network matching the specified filters, including transaction hashes, block numbers, from/to addresses, values, categories, and optionally rich metadata. A pageKey is returned for fetching subsequent pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  },
  "toBlock": {
   "type": "string"
  },
  "category": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "maxCount": {
   "type": "number"
  },
  "fromBlock": {
   "type": "string"
  },
  "toAddress": {
   "type": "string"
  },
  "fromAddress": {
   "type": "string"
  },
  "withMetadata": {
   "type": "boolean"
  },
  "excludeZeroValue": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-gnosis-chain-transaction-history-40cbb88f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
