# Zerion API - Get TX Subscription by ID

> Zerion API - Get TX Subscription by ID is a paid API for AI agents from api.zerion.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Retrieves the details of a specific transaction subscription by its subscription ID on Zerion's multi-chain wallet data platform.

## Facts

- Endpoint: GET https://api.zerion.io/v1/tx-subscriptions/%7Bsubscription_id%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zerion-api-get-tx-subscription-by-id-13f46b23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q61H-gehB5Ry1ON9wt4wZ

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 zerion-api-get-tx-subscription-by-id-13f46b23
```

Example prompt: Can you look up the details of my Zerion transaction subscription with ID sub_abc123 and tell me what it's currently tracking?

## When to prefer this

Use this endpoint when you already have a subscription_id and need to retrieve its current configuration or status. Prefer this over listing endpoints when you know the exact subscription you want to inspect. Ideal for debugging workflows, verifying subscription setup, or polling subscription state in an agent loop.

## Known failure modes

- Invalid or non-existent subscription_id returns a 404 not found error
- Missing subscription_id parameter causes a 400 bad request
- Expired or revoked authentication returns a 401 unauthorized error
- Payment not provided or insufficient USDC balance causes a 402 payment required response
- Rate limiting may return a 429 too many requests error

## How this service works

Interpreted wallet data for more than 40 chains and Solana: portfolios, DeFi positions, PnL, transactions and NFTs. REST for apps, x402 pay-per-call for agents.

## Output

Returns a JSON object containing the subscription resource with its unique ID, resource type, and attributes describing what the subscription is configured to monitor, plus a self-link for the resource. Attributes are defined by Zerion's data model at developers.zerion.io.

## 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": [
      "subscription_id"
     ],
     "properties": {
      "subscription_id": {
       "type": "string",
       "description": "Subscription ID"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string",
         "description": "Resource ID."
        },
        "type": {
         "type": "string",
         "description": "Resource type."
        },
        "attributes": {
         "type": "object",
         "description": "Resource attributes; see https://developers.zerion.io"
        }
       }
      },
      "links": {
       "type": "object",
       "description": "Self and pagination links."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "<resource id>",
   "type": "<resource type>",
   "attributes": {}
  },
  "links": {
   "self": "https://api.zerion.io/v1/..."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zerion-api-get-tx-subscription-by-id-13f46b23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zerion.io](https://www.zero.xyz/host/api.zerion.io/llms.txt)
