Install
openclaw skills install taapiUse this skill to fetch TAAPI.IO indicator data for crypto or stocks, including fast single-indicator requests and bulk/multi-construct queries for agentic t...
openclaw skills install taapiThis skill gives Codex a reliable workflow for TAAPI.IO integrations and analysis tasks. It includes a CLI helper for low-friction, repeatable API calls from agents and scripts.
Use this skill when:
rsi, macd, adx) from TAAPI.IO./bulk.direct.bulk.multi.bulk --payload-file.https://api.taapi.ioGET /{indicator}POST /bulksecret, symbol, interval, and exchange for crypto (type=crypto, default).type=stocks is supported for stocks/ETFs.backtrack (max 50), results, addResultTimestamp, gaps, chart=heikinashi.20 calculations per request on standard plans.Primary docs:
TAAPI_SECRET only in the current shell session. Prefer export TAAPI_SECRET=... over persistent/global shell files, and prefer the env var over --secret so the secret is less exposed in process listings.curl is required for all live requests.jq is only required for the multi command. direct, bulk, and CI-safe argument tests work without it.https://api.taapi.io. Overriding TAAPI_BASE_URL is an advanced escape hatch and should only be used deliberately. Sending requests to another host can expose your secret and request payloads to that endpoint.tests/smoke-live.sh sends real network requests with your live secret. Use a revocable secret and avoid running it outside an isolated session.Use the local helper:
# 1) Set secret once per session
export TAAPI_SECRET="your_secret"
# 2) Direct RSI query
bash scripts/taapi-agent.sh direct \
--indicator rsi \
--exchange binance \
--symbol BTC/USDT \
--interval 1h
# 3) Bulk query from JSON payload
bash scripts/taapi-agent.sh bulk --payload-file examples/bulk-single-construct.json
# 4) Multi-construct query (requires jq)
bash scripts/taapi-agent.sh multi \
--exchange binance \
--symbols BTC/USDT,ETH/USDT \
--intervals 15m,1h \
--indicators rsi,supertrend
# 5) Live smoke tests (requires real TAAPI_SECRET and network access)
bash tests/smoke-live.sh
directSingle indicator via GET:
bash scripts/taapi-agent.sh direct \
--indicator macd \
--exchange binance \
--symbol BTC/USDT \
--interval 1h \
--opt backtrack=1 \
--opt addResultTimestamp=true
bulkPOST an explicit bulk payload file to /bulk:
bash scripts/taapi-agent.sh bulk --payload-file examples/bulk-single-construct.json
bash scripts/taapi-agent.sh bulk --payload-file examples/bulk-multi-constructs.json
multiBuild multi-construct payload from flags (for /bulk). Requires jq:
bash scripts/taapi-agent.sh multi \
--exchange binance \
--symbols BTC/USDT,ETH/USDT \
--intervals 15m,1h \
--indicators rsi,supertrend
--json in automation loops for stable machine parsing.<=20; split workloads deterministically.429 with bounded retries and backoff.bulk for multi-indicator evaluations on the same construct.multi for cross-symbol/timeframe batching when plan supports constructs.--type stocks and omit --exchange if not required by your setup.TAAPI_BASE_URL overrides as a deliberate deviation from the default OpenClaw-audited path. If you must override it, use a session-scoped TAAPI_ALLOW_UNOFFICIAL_BASE_URL=1 as an explicit acknowledgement.scripts/taapi-agent.shBash CLI with:
jq formatting, with jq required only for multiexamples/Ready-to-run payloads:
examples/bulk-single-construct.jsonexamples/bulk-multi-constructs.jsontests/tests/test-cli.sh: CI-safe argument and error-path checks (no API call required).tests/smoke-live.sh: Live smoke checks using real TAAPI credentials.CI command:
bash tests/test-cli.sh
Live smoke command:
export TAAPI_SECRET="your_secret"
bash tests/smoke-live.sh