nodit-openapi-skill
Original:🇺🇸 English
Translated
1 scripts
Operate Nodit Web3 Data API reads through UXC with a curated OpenAPI schema, API-key auth, and overlap-aware guardrails.
4installs
Sourceholon-run/uxc
Added on
NPX Install
npx skill4agent add holon-run/uxc nodit-openapi-skillTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Nodit Web3 Data API Skill
Use this skill to run Nodit Web3 Data API operations through + OpenAPI.
uxcReuse the skill for shared execution, auth, and error-handling guidance.
uxcPrerequisites
- is installed and available in
uxc.PATH - Network access to .
https://web3.nodit.io - Network access to when using the hosted schema URL directly.
https://raw.githubusercontent.com - Access to the curated OpenAPI schema URL:
https://raw.githubusercontent.com/holon-run/uxc/main/skills/nodit-openapi-skill/references/nodit-web3.openapi.json
- A Nodit API key.
Scope
This skill covers a read-first Nodit Web3 Data API surface:
- multichain entity lookup
- native balance lookup
- account transaction history
- token contract metadata lookup
- token price lookup by contracts
This skill does not cover:
- transaction submission
- full JSON-RPC node compatibility
- every Nodit product surface
- broad coverage of chain-specific APIs beyond the selected v1 reads
Authentication
Nodit uses header auth.
X-API-KEYConfigure one API-key credential and bind it to :
web3.nodit.iobash
uxc auth credential set nodit \
--auth-type api_key \
--api-key-header X-API-KEY \
--secret-env NODIT_API_KEY
uxc auth binding add \
--id nodit \
--host web3.nodit.io \
--scheme https \
--credential nodit \
--priority 100Validate the active mapping when auth looks wrong:
bash
uxc auth binding match https://web3.nodit.ioCore Workflow
-
Use the fixed link command by default:
command -v nodit-openapi-cli- If missing, create it:
uxc link nodit-openapi-cli https://web3.nodit.io --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/nodit-openapi-skill/references/nodit-web3.openapi.json nodit-openapi-cli -h
-
Inspect operation schema first:
nodit-openapi-cli post:/v1/multichain/lookupEntities -hnodit-openapi-cli post:/v1/{chain}/{network}/native/getNativeBalanceByAccount -hnodit-openapi-cli post:/v1/{chain}/{network}/token/getTokenPricesByContracts -h
-
Prefer narrow reads before broader crawls:
nodit-openapi-cli post:/v1/multichain/lookupEntities input=nearnodit-openapi-cli post:/v1/{chain}/{network}/native/getNativeBalanceByAccount chain=ethereum network=mainnet accountAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045nodit-openapi-cli post:/v1/{chain}/{network}/token/getTokenContractMetadataByContracts chain=ethereum network=mainnet contractAddresses:='[\"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\"]'
If returns , treat it as a plan/tier rate-limit signal rather than an auth failure. Back off and continue with chain-specific reads when you already know the target network.
lookupEntitiesHTTP 429 TOO_MANY_REQUESTS- Execute with key/value parameters:
nodit-openapi-cli post:/v1/{chain}/{network}/token/getTokenPricesByContracts chain=ethereum network=mainnet contractAddresses:='[\"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\"]'nodit-openapi-cli post:/v1/{chain}/{network}/blockchain/getTransactionsByAccount chain=ethereum network=mainnet accountAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 limit=20
Operation Groups
Discovery
post:/v1/multichain/lookupEntities
Account And Token Reads
post:/v1/{chain}/{network}/native/getNativeBalanceByAccountpost:/v1/{chain}/{network}/blockchain/getTransactionsByAccountpost:/v1/{chain}/{network}/token/getTokenContractMetadataByContractspost:/v1/{chain}/{network}/token/getTokenPricesByContracts
Guardrails
- Keep automation on the JSON output envelope; do not use .
--text - Parse stable fields first: ,
ok,kind,protocol,data.error - Treat this v1 skill as read-only.
- Nodit overlaps with ,
Chainbase, andAlchemyin some account and token workflows. Prefer Nodit when its multi-chain ergonomics or endpoint shape is a better fit for the task, not by default for every wallet query.Moralis - A concrete good fit is , where Nodit can quickly normalize an input string before you decide which chain-specific follow-up read to call.
lookupEntities - may hit tight plan limits before other reads do. If you get
lookupEntities, back off, avoid hot-loop retries, and skip straight to chain-specific reads when the chain is already known.HTTP 429 TOO_MANY_REQUESTS - Keep lists short in v1 and stay well under the documented per-call maximums.
contractAddresses - For long transaction histories, start with small values and paginate deliberately.
limit - is equivalent to
nodit-openapi-cli <operation> ....uxc https://web3.nodit.io --schema-url <nodit_openapi_schema> <operation> ...
References
- Usage patterns:
references/usage-patterns.md - Curated OpenAPI schema:
references/nodit-web3.openapi.json - Nodit introduction: https://developer.nodit.io/en/guides/overview/introduction
- Nodit entity lookup docs: https://developer.nodit.io/reference/multichain_lookupentities
- Nodit Web3 Data docs: https://developer.nodit.io/reference/gettransactionsbyaccount