{"info":{"contact":{"email":"api@zerion.io"},"description":"Interpreted onchain wallet data for apps and agents: portfolios, token and DeFi positions, PnL, labeled transaction history, NFTs, token prices and swap quotes across 40+ chains and Solana. Enriched and human-readable, not raw RPC logs. Pay per call in USDC via x402 or MPP — no API key, no signup. Full documentation: https://developers.zerion.io","title":"Zerion API","version":"v1","x-guidance":"# Zerion API\n\nInterpreted crypto wallet data: portfolios, positions, PnL, transactions, NFTs, tokens and swaps across 40+ EVM chains and Solana.\n\n## Payment\n\nNo API key required for the endpoints listed here. Each returns HTTP 402 with the accepted payment options in the PAYMENT-REQUIRED header (x402) and WWW-Authenticate header (MPP); pay and retry the same request. The 402 challenge also carries the endpoint's exact input schema in its `extensions.bazaar` field, so networks, assets and prices are always read live rather than from this document.\n\nAPI keys remain available for higher-volume access: https://developers.zerion.io\n"},"openapi":"3.1.0","paths":{"/v1/chains/":{"get":{"operationId":"get_chains","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Supported chains","tags":["Chains"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/chains/{chain_id}":{"get":{"operationId":"get_chains_chain_id","parameters":[{"in":"path","name":"chain_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Chain by ID","tags":["Chains"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/dapps/":{"get":{"operationId":"get_dapps","parameters":[{"in":"query","name":"page[after]","required":false,"schema":{"description":"Numeric offset to start after; take it from the previous page's links.next","type":"string"}},{"in":"query","name":"page[size]","required":false,"schema":{"description":"Page size","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Listed dapps","tags":["DApps"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/dapps/{dapp_id}":{"get":{"operationId":"get_dapps_dapp_id","parameters":[{"in":"path","name":"dapp_id","required":true,"schema":{"description":"DApp identifier","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Dapp by ID","tags":["DApps"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/fungibles/":{"get":{"operationId":"get_fungibles","parameters":[{"in":"query","name":"filter[search_query]","required":false,"schema":{"description":"Search by name or symbol","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Search fungible tokens","tags":["Tokens"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/fungibles/by-implementation":{"get":{"operationId":"get_fungibles_by_implementation","parameters":[{"in":"query","name":"currency","required":false,"schema":{"description":"Fiat currency for prices and values (defaults to usd)","type":"string"}},{"in":"query","name":"implementation","required":true,"schema":{"description":"`\u003cchain_id\u003e` or `\u003cchain_id\u003e:\u003cimplementation_address\u003e`","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Token by chain implementation address","tags":["Tokens"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/fungibles/by-implementation/charts/{chart_period}":{"get":{"operationId":"get_fungibles_by_implementation_charts_chart_period","parameters":[{"in":"path","name":"chart_period","required":true,"schema":{"enum":["1h","1d","1w","1m","3m","1y","max"],"type":"string"}},{"in":"query","name":"currency","required":false,"schema":{"description":"Fiat currency for prices and values (defaults to usd)","type":"string"}},{"in":"query","name":"implementation","required":true,"schema":{"description":"`\u003cchain_id\u003e` or `\u003cchain_id\u003e:\u003cimplementation_address\u003e`","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Token price chart by implementation address","tags":["Tokens"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/fungibles/{fungible_id}":{"get":{"operationId":"get_fungibles_fungible_id","parameters":[{"in":"path","name":"fungible_id","required":true,"schema":{"description":"Fungible asset ID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Fungible token by ID","tags":["Tokens"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/fungibles/{fungible_id}/charts/{chart_period}":{"get":{"operationId":"get_fungibles_fungible_id_charts_chart_period","parameters":[{"in":"path","name":"fungible_id","required":true,"schema":{"type":"string"}},{"in":"path","name":"chart_period","required":true,"schema":{"enum":["1h","1d","1w","1m","3m","1y","max"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Token price chart","tags":["Tokens"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/gas-prices/":{"get":{"operationId":"get_gas_prices","parameters":[{"in":"query","name":"filter[chain_ids]","required":false,"schema":{"description":"Comma-separated chain IDs; omit for all chains","type":"string"}},{"in":"query","name":"filter[gas_types]","required":false,"schema":{"description":"Comma-separated gas types: classic, eip1559, optimistic","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Gas prices across chains","tags":["Gas"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/nfts/":{"get":{"operationId":"get_nfts","parameters":[{"in":"query","name":"currency","required":false,"schema":{"description":"Fiat currency for prices and values (defaults to usd)","type":"string"}},{"in":"query","name":"filter[references]","required":false,"schema":{"description":"Comma-separated NFT references, each `\u003cchain_id\u003e:\u003ccontract_address\u003e:\u003ctoken_id\u003e`","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"NFTs by IDs","tags":["NFTs"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/nfts/{nft_id}":{"get":{"operationId":"get_nfts_nft_id","parameters":[{"in":"path","name":"nft_id","required":true,"schema":{"description":"NFT ID in format chain:contract:token_id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"NFT metadata by ID","tags":["NFTs"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/swap/fungibles/":{"get":{"operationId":"get_swap_fungibles","parameters":[{"in":"query","name":"direction","required":false,"schema":{"description":"Which side to list swappable tokens for (defaults to both)","enum":["input","output","both"],"type":"string"}},{"in":"query","name":"input[chain_id]","required":false,"schema":{"description":"Input chain ID (defaults to ethereum)","type":"string"}},{"in":"query","name":"output[chain_id]","required":false,"schema":{"description":"Output chain ID (defaults to ethereum)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Swappable tokens","tags":["Swap"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/swap/offers/":{"get":{"operationId":"get_swap_offers","parameters":[{"in":"query","name":"input[amount]","required":false,"schema":{"description":"Input amount in the token's smallest unit; provide either input[amount] or output[amount]","type":"string"}},{"in":"query","name":"input[asset_address]","required":false,"schema":{"description":"Input token contract address — use exactly one of input[fungible_id] or input[asset_address]","type":"string"}},{"in":"query","name":"input[chain_id]","required":false,"schema":{"description":"Input chain ID","type":"string"}},{"in":"query","name":"input[from]","required":false,"schema":{"description":"Sender wallet address","type":"string"}},{"in":"query","name":"input[fungible_id]","required":false,"schema":{"description":"Input token ID — use exactly one of input[fungible_id] or input[asset_address]","type":"string"}},{"in":"query","name":"input[token_id]","required":false,"schema":{"description":"Input NFT token ID, when swapping an NFT","type":"string"}},{"in":"query","name":"integrator[beneficiary]","required":false,"schema":{"description":"Fee beneficiary address; same-chain trades only, and must be sent together with integrator[fee_percent]","type":"string"}},{"in":"query","name":"integrator[fee_percent]","required":false,"schema":{"description":"Integrator fee percent (0–10); same-chain trades only, and must be sent together with integrator[beneficiary]","maximum":10,"minimum":0,"type":"number"}},{"in":"query","name":"liquidity_source_id","required":false,"schema":{"description":"Restrict offers to a single liquidity source","type":"string"}},{"in":"query","name":"output[amount]","required":false,"schema":{"description":"Output amount in the token's smallest unit; provide either input[amount] or output[amount]","type":"string"}},{"in":"query","name":"output[asset_address]","required":false,"schema":{"description":"Output token contract address — use exactly one of output[fungible_id] or output[asset_address]","type":"string"}},{"in":"query","name":"output[chain_id]","required":false,"schema":{"description":"Output chain ID","type":"string"}},{"in":"query","name":"output[fungible_id]","required":false,"schema":{"description":"Output token ID — use exactly one of output[fungible_id] or output[asset_address]","type":"string"}},{"in":"query","name":"output[to]","required":false,"schema":{"description":"Recipient wallet address (defaults to the sender)","type":"string"}},{"in":"query","name":"output[token_id]","required":false,"schema":{"description":"Output NFT token ID, when swapping into an NFT","type":"string"}},{"in":"query","name":"slippage_percent","required":false,"schema":{"description":"Allowed slippage percent (0–3)","maximum":3,"minimum":0,"type":"number"}},{"in":"query","name":"sort","required":false,"schema":{"description":"Sort order for the returned offers","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Swap and bridge offers","tags":["Swap"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/swap/quotes/":{"get":{"operationId":"get_swap_quotes","parameters":[{"in":"query","name":"currency","required":false,"schema":{"description":"Fiat currency for prices and values (defaults to usd)","type":"string"}},{"in":"query","name":"from","required":true,"schema":{"description":"Sender wallet address","type":"string"}},{"in":"query","name":"input[amount]","required":true,"schema":{"description":"Input amount in whole token units, as a decimal string (e.g. \"1.5\")","type":"string"}},{"in":"query","name":"input[chain_id]","required":true,"schema":{"description":"Input chain ID","type":"string"}},{"in":"query","name":"input[fungible_id]","required":true,"schema":{"description":"Input token ID","type":"string"}},{"in":"query","name":"output[chain_id]","required":false,"schema":{"description":"Output chain ID (defaults to the input chain, i.e. a same-chain swap)","type":"string"}},{"in":"query","name":"output[fungible_id]","required":true,"schema":{"description":"Output token ID","type":"string"}},{"in":"query","name":"slippage_percent","required":false,"schema":{"description":"Allowed slippage percent","type":"number"}},{"in":"query","name":"to","required":true,"schema":{"description":"Recipient wallet address","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Swap and bridge quotes","tags":["Swap"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/":{"get":{"operationId":"get_tx_subscriptions","parameters":[{"in":"query","name":"filter[chain_ids]","required":false,"schema":{"description":"Comma-separated chain IDs to filter by","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"List transaction subscriptions","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}},"post":{"operationId":"post_tx_subscriptions","requestBody":{"content":{"application/json":{"schema":{"properties":{"addresses":{"description":"Wallet addresses to watch","items":{"type":"string"},"type":"array"},"callback_url":{"description":"Webhook URL that receives transaction events","type":"string"},"chain_ids":{"description":"Chain IDs to subscribe to (optional; defaults to all)","items":{"type":"string"},"type":"array"}},"required":["addresses","callback_url"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Create a transaction subscription (webhook)","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}":{"delete":{"operationId":"delete_tx_subscriptions_subscription_id","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Delete a subscription","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}},"get":{"operationId":"get_tx_subscriptions_subscription_id","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Subscription by ID","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}/callback_url":{"patch":{"operationId":"patch_tx_subscriptions_subscription_id_callback_url","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"callback_url":{"description":"New webhook URL","type":"string"}},"required":["callback_url"],"type":"object"}}},"required":true},"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Update subscription webhook URL","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}/chain_ids":{"patch":{"operationId":"patch_tx_subscriptions_subscription_id_chain_ids","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"chain_ids":{"description":"Full replacement set of chain IDs","items":{"type":"string"},"type":"array"}},"required":["chain_ids"],"type":"object"}}},"required":true},"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Update subscription chains","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}/disable":{"patch":{"operationId":"patch_tx_subscriptions_subscription_id_disable","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Disable a subscription","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}/enable":{"patch":{"operationId":"patch_tx_subscriptions_subscription_id_enable","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Enable a subscription","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}/wallets":{"get":{"operationId":"get_tx_subscriptions_subscription_id_wallets","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallets in a subscription","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}},"patch":{"operationId":"patch_tx_subscriptions_subscription_id_wallets","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"add":{"description":"Wallet addresses to add","items":{"type":"string"},"maxItems":100,"type":"array"},"remove":{"description":"Wallet addresses to remove","items":{"type":"string"},"maxItems":100,"type":"array"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Add or remove subscription wallets","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}},"put":{"operationId":"put_tx_subscriptions_subscription_id_wallets","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"wallets":{"description":"Full replacement set of wallet addresses","items":{"type":"string"},"type":"array"}},"required":["wallets"],"type":"object"}}},"required":true},"responses":{"204":{"description":"No Content"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Replace subscription wallets","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/tx-subscriptions/{subscription_id}/wallets/count":{"get":{"operationId":"get_tx_subscriptions_subscription_id_wallets_count","parameters":[{"in":"path","name":"subscription_id","required":true,"schema":{"description":"Subscription ID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Count subscription wallets","tags":["Transaction subscriptions"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/simulation/signature/":{"post":{"operationId":"post_wallets_simulation_signature","requestBody":{"content":{"application/json":{"schema":{"properties":{"address":{"description":"Wallet address","type":"string"},"domain":{"description":"EIP-712 domain","type":"object"},"message":{"description":"EIP-712 message","type":"object"}},"required":["address","domain","message"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Simulate an EIP-712 signature","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/simulation/transaction/":{"post":{"operationId":"post_wallets_simulation_transaction","requestBody":{"content":{"application/json":{"schema":{"properties":{"address":{"description":"Wallet address","type":"string"},"chain_id":{"description":"Chain ID","type":"string"},"transaction":{"description":"Transaction to simulate","type":"object"}},"required":["address","transaction"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Simulate a transaction","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/simulation/transactions/":{"post":{"operationId":"post_wallets_simulation_transactions","requestBody":{"content":{"application/json":{"schema":{"properties":{"address":{"description":"Wallet address","type":"string"},"chain_id":{"description":"Chain ID","type":"string"},"transactions":{"description":"Transactions to simulate","items":{"type":"object"},"type":"array"}},"required":["address","transactions"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Simulate a transaction bundle","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/charts/{chart_period}":{"get":{"operationId":"get_wallets_address_charts_chart_period","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address","type":"string"}},{"in":"path","name":"chart_period","required":true,"schema":{"enum":["1h","1d","1w","1m","3m","1y","max"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet balance chart","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/nft-collections/":{"get":{"operationId":"get_wallets_address_nft_collections","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet NFT collections","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/nft-portfolio":{"get":{"operationId":"get_wallets_address_nft_portfolio","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet NFT portfolio value","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/nft-positions/":{"get":{"operationId":"get_wallets_address_nft_positions","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet NFT positions","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/pnl":{"get":{"operationId":"get_wallets_address_pnl","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet profit and loss","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/portfolio":{"get":{"operationId":"get_wallets_address_portfolio","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet portfolio value and distribution","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/positions/":{"get":{"operationId":"get_wallets_address_positions","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet token and DeFi positions","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}},"/v1/wallets/{address}/transactions/":{"get":{"operationId":"get_wallets_address_transactions","parameters":[{"in":"path","name":"address","required":true,"schema":{"description":"Wallet address (EVM 0x or Solana base58)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"Array of JSON:API resource objects.","items":{"properties":{"attributes":{"description":"Resource attributes; see https://developers.zerion.io","type":"object"},"id":{"description":"Resource ID.","type":"string"},"type":{"description":"Resource type.","type":"string"}},"type":"object"},"type":"array"},"links":{"description":"Self and pagination links.","type":"object"}},"required":["data"],"type":"object"}}},"description":"Success"},"402":{"description":"Payment Required — accepted x402/MPP payment options and the input schema are embedded in the PAYMENT-REQUIRED response header"}},"summary":"Wallet transaction history, human-readable","tags":["Wallets"],"x-payment-info":{"price":{"amount":"0.01","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}},{"mpp":{}}]}}}},"servers":[{"url":"https://api.zerion.io"}],"tags":[{"name":"Chains"},{"name":"DApps"},{"name":"Gas"},{"name":"NFTs"},{"name":"Swap"},{"name":"Tokens"},{"name":"Transaction subscriptions"},{"name":"Wallets"}]}