Using ExchangeRateAPI with exchangerate-api.com

Go integration

Install
go get github.com/jiyamathias/ExchangeRateAPI
Quick start
import "ExchangeRateAPI"

// Initialize client
client := ExchangeRateAPI.NewClient("YOUR_API_KEY")
Returns latest exchange rates in parameter-supplied base currency.
curl \
  https://api.exchangerate-api.com/v4/latest/{base_currency}
SDK on GitHub 📄 API Docs
SDK
ExchangeRateAPI
Go
API
exchangerate-api.com
exchangerate-api.com
At a glance
Language Go
Endpoints1
Base URLhttps://api.exchangerate-api.com/v4