{"uid":"cap_6AStm-7lgW0qsd3RrhGl5","slug":"zerion-api-tx-subscription-wallet-count-6480c18a","name":"Zerion API - TX Subscription Wallet Count","description":"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.","url":"https://api.zerion.io/v1/tx-subscriptions/%7Bsubscription_id%7D/wallets/count?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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."}}}}}}},"responseSchema":{"type":"json","example":{"data":{"id":"<resource id>","type":"<resource type>","attributes":{}},"links":{"self":"https://api.zerion.io/v1/..."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5O2O89ukUqTY7koahPQLe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the count of wallets associated with a specific transaction subscription on Zerion.","exampleAgentPrompt":"How many wallets are currently associated with my Zerion transaction subscription ID 'sub_abc123'?","exampleUseCases":[{"title":"Monitor subscription wallet membership","prompt":"Can you check how many wallets are enrolled in my Zerion tx subscription with ID 'sub_xyz789'? I want to make sure all expected addresses are still being tracked."},{"title":"Verify subscription scale before billing","prompt":"Before I renew my subscription plan, can you tell me the current wallet count for Zerion subscription 'sub_prod_001' so I know how many wallets I'm paying to monitor?"},{"title":"Audit multi-wallet DeFi tracking setup","prompt":"I set up a transaction subscription to track several wallets across chains — can you pull the wallet count for Zerion subscription 'sub_defi_42' so I can confirm all of them got added correctly?"}],"resultDescription":"Returns a JSON object with a `data` field containing the subscription resource, including its `id`, `type`, and `attributes` representing the wallet count. Also includes a `links` object with a self-referencing URL for the resource.","failureModes":["Invalid or non-existent subscription_id returns a 404 Not Found error","Missing subscription_id parameter returns a 400 Bad Request","Expired or unauthorized API credentials return a 401 Unauthorized","Subscription belonging to a different account returns a 403 Forbidden","Payment not fulfilled via x402 returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify or audit the number of wallet addresses enrolled under a specific Zerion transaction subscription. Prefer this over manually iterating wallet lists when you only need the count metric, or when automating subscription health checks and billing audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:45:45.778Z","isFirstParty":false,"canonicalSlug":"zerion-api-tx-subscription-wallet-count-6480c18a"}