Execute a Tool
Public Tools API
Execute a Tool
Call a Nikiwa tool and get its structured result.
POST
Execute a Tool
Execution runs a single tool and returns its structured data. Pass the tool’s inputs as a JSON body.
Your developer key as a Bearer token.
The tool to run, for example
get_wallet_portfolio_breakdown. It must be a public tool (see the catalog). Unknown or non-public names return 404.The tool’s inputs. Most tools take an entity (a wallet as
wallet_address or address, a token as token_address, a contract as contract_address, a tx_hash, or an ens_name) and often a network. The exact parameter names vary per tool — read each tool’s schema from discovery or its page under Endpoints.Example: wallet portfolio
Providing exact entities
Tools are deterministic and expect precise inputs: an exact wallet, token, or contract address, a transaction hash, and a network. If you only have a symbol or a name, resolve it first. Callresolve_token_symbol to turn a symbol into an address, or resolve_ens to turn an ENS name into an address.
Result
On success you receive the tool’s data object. Invalid arguments return422 Unprocessable Entity, so check the tool’s input schema from discovery if you hit one. When a tool has nothing to return, or hits a problem, you receive a status marker instead. See Errors & status.