coinank-openapi
Overview
CoinAnk OpenAPI gives agents access to cryptocurrency derivatives market data across K-lines, ETFs, open interest, long/short ratios, funding rates, liquidations, order flow, whale activity, and related analytics.
The plugin supports direct CoinAnk API-key access and pay-per-call access through Agent Payments Protocol / x402 via the latest OKX payment skill, including the newer charge payment method when required by the OKX payment flow.
Prerequisites
- Optional: a CoinAnk API key with the required API level for the requested endpoint.
- For pay-per-call access: install or update
okx/onchainos-skillssookx-agent-payments-protocolandokx-agentic-walletare available. - Network access to
open-api.coinank.com.
Quick Start
- Ask the agent to run the
coinank-openapi quickstartflow to review access options and choose API-key mode or Agent Payments Protocol / x402 pay-per-call mode. - If you have a CoinAnk API key, set
COINANK_API_KEYand call the desired endpoint with theapikeyheader. - If you do not have an API key, send the original request first and let CoinAnk return an HTTP
402 Payment Requiredchallenge when pay-per-call access is available. - Use the latest
okx-agent-payments-protocolskill to complete the required proof, authorization, orchargeflow, then replay the same request with the generated payment data.