Currency Converter API in Go

Call the Currency Converter API from Go with a single request — here's the whole thing, key included.

Fetch currency converter api data.

req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/currencyconverter", nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")

res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))

Swap YOUR_API_KEY for the key on your dashboard. See the reference for the exact parameters this endpoint accepts.

The response.

from"USD"
to"EUR"
value1
convertedValue0.921456
rate0.921456
change24h-0.002134

Run it in Go. One key, the Currency Converter API, live in minutes.

Scaling up?

Volume pricing, custom SLAs, and dedicated support for high-traffic teams.

Contact sales