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.
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.
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
Import the client package and initialize it with
krakenapi.New("KEY", "SECRET"), substituting the appropriate key and secret values.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.Alternatively, call
api.Ticker(krakenapi.XXBTZEUR), check the returned error, and readticker.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.
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.

