# PrimeAPI Crypto Transaction Trace

> PrimeAPI Crypto Transaction Trace is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.078241/call, status unknown (last checked 2026-10-27).

Traces a cryptocurrency transaction to retrieve its execution path, call stack, and state changes on-chain.

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/crypto/transaction/trace?utm_source=zero.xyz
- Price: $0.078241/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-crypto-transaction-trace-83d5b4c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nhjG0Fe-jrA_ggZwL5x5N

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 primeapi-crypto-transaction-trace-83d5b4c0 -d '<json body>'
```

Example prompt: Can you trace the execution path of this transaction — 0xabc123def456... — and show me all the internal calls and state changes that happened inside it?

## When to prefer this

Use this endpoint when you need to inspect the internal execution details of a specific on-chain transaction — especially for debugging failed transactions, auditing DeFi interactions, or understanding internal token transfers that aren't visible at the surface level. Prefer this over block explorers when programmatic, structured trace data is needed by an agent.

## Known failure modes

- Invalid or malformed transaction hash returns an error
- Transaction not found on the queried chain returns 404-style error
- Network congestion or RPC timeout may cause delayed or empty response
- Transaction still pending (not yet mined) may return no trace data
- Generic input schema means malformed query strings may yield no useful output

## 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 a detailed transaction trace object including the call stack, internal contract calls, token transfers, gas consumed at each step, and state mutations triggered by the transaction.

## 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/primeapi-crypto-transaction-trace-83d5b4c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
