📚 coinpaprika-go - Awesome Go Library for Third-party APIs

Go Gopher mascot for coinpaprika-go

Go client library for interacting with Coinpaprika's API

🏷️ Third-party APIs
📂 Third-party APIs
0 stars
View on GitHub 🔗

Detailed Description of coinpaprika-go

Coinpaprika API Go Client

Build Status Go Reference Go Report Card

Usage

This library provides convenient way to use coinpaprika.com API in Go.

Coinpaprika delivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.

Getting started

package main

import (
	"fmt"

	"github.com/coinpaprika/coinpaprika-api-go-client/coinpaprika"
)

func main() {
	paprikaClient := coinpaprika.NewClient(nil)

	tickers, err := paprikaClient.Tickers.List(nil)
	if err != nil {
		panic(err)
	}

	for _, t := range tickers {
		if t.Name == nil || t.Symbol == nil || t.Rank == nil {
			continue
		}

		fmt.Println("Name:", *t.Name)
		fmt.Println("Symbol:", *t.Symbol)
		fmt.Println("Rank:", *t.Rank)
		fmt.Println("----")
	}
}

Setting custom HTTP client

customClient := &http.Client{Timeout: 10 * time.Second}
paprikaClient := coinpaprika.NewClient(customClient)

Setting API key for and enabling access to Coinpaprika Pro API

Key can be obtained from Coinpaprika API

paprikaClient := coinpaprika.NewClient(nil, coinpaprika.WithAPIKey("your_api_key_goes_here"))

Examples

Check out the ./examples directory.

Implementation status

Global

  • Get market overview data

Coins

  • List coins
  • Get coin by ID
  • Get twitter timeline for coin (deprecated)
  • Get coin events by coin ID
  • Get exchanges by coin ID
  • Get markets by coin ID
  • Get latest OHLCV
  • Get historical OHLCV
  • Get today OHLCV
  • Get ID mappings (Business+)

People

  • Get people by ID

Tags

  • List tags
  • Get tag by ID

Tickers

  • Get tickers for all coins
  • Get ticker information for specific coin
  • Get historical tickers for specific coin

Exchanges

  • List exchanges
  • Get exchange by ID
  • List markets by exchange ID

Contracts

  • List contract platforms
  • Get contracts by platform
  • Get ticker by contract address
  • Get historical ticks by contract address

Search

  • Search tool

Price Converter

  • Price converter

Key

  • Get API key info (Pro+)

Changelog

  • Get ID changelog (Starter+)

Other Coinpaprika Tools

Looking for other ways to integrate crypto data? Check out these tools:

  • Coinpaprika CLI — Free crypto market data from your terminal. 8,000+ coins, real-time prices, OHLCV, and exchange data.
  • Coinpaprika MCP Server — Plug crypto market data directly into AI assistants like Claude. 30+ tools, no API key required.
  • DexPaprika — Free, real-time DEX data across 30+ networks and 200+ DEXes. If you need on-chain trading data, pools, or token prices — start here.

License

CoinpaprikaAPI is available under the MIT license. See the LICENSE file for more info.