OKX API v5 copre spot, swap perpetui/futuri, opzioni e dati di mercato su REST e WebSocket. Una stranezza: i tasti OKX arrivano come tre parti: chiave API, segreto e passphrase. Ecco come ottenerli.
| Utilizzo | Costo |
|---|---|
| Dati di mercato (REST/WS) | Gratuito |
| Commissione di negoziazione spot | ~0,08–0,1% |
| Swap perpetui (acquirente) | ~0,05% |
| Accesso all'API | Gratuito |
1. Iscriviti/accedi su okx.com e verifica completa.
2. Vai a Conto → API e fare clic Crea chiave API V5.
3. Imposta un passphrase (lo scegli tu: ne avrai bisogno per ogni richiesta), scegli autorizzazioni (Leggi/Scambia) e aggiungi un Lista bianca IP.
4. Copia il Chiave API, Segreto e ricorda il tuo passphrase - tutti e tre sono tenuti ad autenticarsi.
OKX ha bisogno three secrets (key, secret, passphrase) — protect all of them. Use Read-only for data bots, IP-whitelist for trade keys, and never enable withdrawals on an API key unless you must. Keep them in environment variables.
Binance per la liquidità, Bybit per commissioni basse. Hai solo bisogno dei prezzi? CoinGecko. Vedere Binance E Bybit.
Sfoglia tutte le guide API → · fare trading in sicurezza: dimensionare le posizioni con RektCalc.
Not affiliated with OKX. Exchange link is a referral link.