Skip to main content

Golang SDK

This page has all the information needed to install and setup the BLOOCK's SDK for Golang. If you are looking for documentation related to an specific functionality, please refer to it's specific section.


To run the SDK for Golang you will need:

  • Go version >= 1.18

Please refer also to OS support for current operating system requirements


The Go SDK is available through the go get command, to install it, you can run the following command:

go get

Set up

To start working with most of the functionalities of our SDKs, you will need an API Key. Please, follow the instructions of Create an API Key to get one.

Here's the code needed to properly configure the SDK Client with the API Key:

package main

import (

bloock ""

func main() {
bloock.ApiKey = os.Getenv("API_KEY")