Skip to main content

Overview

List all smart contracts deployed on a specific blockchain platform.

Usage

coinpaprika-cli contracts <platform_id> [options]

Arguments

platform_id
string
required
Platform ID (e.g., eth-ethereum, bnb-binance-coin, sol-solana)

Options

--limit
number
default:"50"
Maximum number of results to return (default: 50)
--output
string
default:"table"
Output format: table or json
--raw
boolean
default:"false"
JSON output without _meta wrapper (for scripts/piping)

Examples

List Ethereum contracts

coinpaprika-cli contracts eth-ethereum --limit 20

Get Binance Smart Chain contracts

coinpaprika-cli contracts bnb-binance-coin --limit 10

JSON output for automation

coinpaprika-cli contracts eth-ethereum --output json --raw --limit 100

Response Fields

address
string
Smart contract address on the blockchain
type
string
Contract type (e.g., ERC-20, BEP-20)
id
string
CoinPaprika coin ID associated with the contract
active
boolean
Whether the contract is actively tracked

API Endpoint

GET https://api.coinpaprika.com/v1/contracts/{platform_id}

platforms

List available contract platforms

contract-ticker

Get ticker data by contract address

Notes

  • Use the platforms command first to see available platform IDs
  • Contract addresses are case-sensitive
  • Results are paginated via the --limit option
  • Free tier includes contract data for major platforms

Build docs developers (and LLMs) love