Premium API usage stats

Special endpoint for Premium API users showing some stats on your API key usage.


GetUsage fetches usage stats for API key. Require API key to be set.

package main

import (


var clientID string

func init() {
	clientID = os.Getenv("API_KEY")

func main() {
	c := blockchair.New()
	c.APIKey = clientID
	resp, err := c.GetUsage()
	if err != nil {


Request cost is 0.

Last updated