OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Kraken Go API Client

Kraken Go API Client is an MIT-licensed Go library for querying Kraken’s trading API, with README examples for generic queries and a strongly typed ticker method.

Independent OpenViST project profile, based on linked sources.

Kraken Go API Client — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when reviewing or adapting the documented Go examples for Kraken ticker queries, while accounting for the README’s recommendation to use Kraken’s newer official Go client.

Who it is for

  • Go developers adding Kraken ticker queries to an application.
  • Developers evaluating an existing Go integration or market-data collection example.

Documented uses

  • Request ticker data for a specified trading pair using a generic query.
  • Retrieve ticker data through a typed method and read a field such as the opening price.
Before you choose

Requirements & limits

  • The documented example initializes the client with a key and secret.
  • The README demonstrates the XXBTZEUR pair and an opening-price field.
  • The repository lists an MIT license.
  • The README recommends Kraken’s newer official Go client; moving the documented queries would require modification, and migration steps are not provided.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Request Kraken ticker data with the Go client

Use the documented generic or typed method to request ticker data for XXBTZEUR.

Before you start

  • A Go application using the beldur/kraken-go-api-client package.
  • Kraken API key and secret values for initializing the client.

Steps

  1. Import the client package and initialize it with krakenapi.New("KEY", "SECRET"), substituting the appropriate key and secret values.

  2. Request ticker data with api.Query("Ticker", map[string]string{"pair": "XXBTZEUR"}); check the returned error and print the result if there is no error.

  3. Alternatively, call api.Ticker(krakenapi.XXBTZEUR), check the returned error, and read ticker.XXBTZEUR.OpeningPrice.

Expected outcome

The example requests ticker data for XXBTZEUR using either a generic query or a strongly typed method, and prints the result or opening price.

Guide limitations

  • The README recommends Kraken's newer official Go client; it does not document compatibility or migration steps.
  • The example does not document dependency installation, key acquisition, or handling errors beyond logging a fatal error.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
beldur/kraken-go-api-client · Official homepage title · retained in its source language

Related options

Kraken official Go API client — The README recommends Kraken’s newer official Go client. It does not document compatibility or migration steps.