# Transaction Details Lookup

> Transaction Details Lookup is a paid API for AI agents from api.api-agent-ia.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Fetches raw transaction details for a given blockchain transaction hash

## Facts

- Endpoint: GET https://api.api-agent-ia.ch/tx?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transaction-details-lookup-84d120ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xhpToHEd1YxOG3CT9G4yi

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 transaction-details-lookup-84d120ff
```

Example prompt: Can you pull up the raw details for the blockchain transaction with hash 0x4f3c8b2a... and show me what it contains?

## When to prefer this

Use this endpoint when you need raw, structured transaction data for a known blockchain transaction hash and want quick lookup without needing a full block explorer. Especially useful within an agentic workflow on api.api-agent-ia.ch where other AI/blockchain endpoints are also in use.

## Known failure modes

- Missing or invalid hash query parameter returns an error
- Non-existent transaction hash returns empty or error response
- Malformed hash format (not a valid 0x-prefixed hex string) may cause a 400 error
- Network or provider unavailability may cause timeouts

## How this service works

What exactly is in this Base transaction? Returns sender, recipient, ETH value, gas limit, block, nonce and whether it created a contract; unknown hashes return 404 and are not charged ($0.005 per call).

## Output

Returns a JSON object containing the transaction hash, decoded data (de), and version (vers) fields representing the raw on-chain transaction record.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "de": "0x1d7f97D26ae2C01F9b01Fc252B73Cf0Db3397E95",
  "gas": 51684,
  "bloc": 52985547,
  "hash": "0x8a841e4f28fbef9ea69921e055a80f3ddf097d7969b87ecc3e9940e54b8a5a20",
  "vers": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "nonce": 2870680,
  "reseau": "base",
  "valeur_eth": "0",
  "creation_contrat": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transaction-details-lookup-84d120ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.api-agent-ia.ch](https://www.zero.xyz/host/api.api-agent-ia.ch/llms.txt)
