# ApexAPI Crypto Transaction Trace

> ApexAPI Crypto Transaction Trace is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.078241/call, status unknown (last checked 2026-09-14).

Traces a cryptocurrency transaction through the blockchain, returning detailed path and execution data for a given transaction hash or query.

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/crypto/transaction/trace
- Price: $0.078241/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-crypto-transaction-trace-afc6d1d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hv7Emz8JAP-rsft7baVlK

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 apexapi-crypto-transaction-trace-afc6d1d2 -d '<json body>'
```

Example prompt: Can you trace the transaction 0x4e3a3754410177e6937ef1f84bba68ea139e8d1c for me and show me its full execution path, internal calls, and any contract interactions?

## When to prefer this

Use this endpoint when you need to deeply inspect the internal execution trace of a cryptocurrency transaction — especially for debugging smart contract interactions, investigating failed transactions, or understanding sub-calls and internal value transfers. Prefer it over simple transaction lookup endpoints when execution-level detail is required.

## Known failure modes

- Invalid or malformed transaction hash returns an error response
- Transaction not found on the blockchain returns empty or 404-like response
- Network congestion or upstream blockchain node timeout causes slow or failed response
- Unsupported chain or transaction type may return null trace data
- Payment failure (insufficient USDC balance) blocks the request before execution

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns structured trace data for the queried transaction, including the execution path, internal transaction calls, contract invocations, gas consumed at each step, and any sub-calls or value transfers that occurred during execution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-crypto-transaction-trace-afc6d1d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
