1. Home
  2. Docs
  3. API documentation
  4. GET
  5. Supported cryptocurrencies

Supported cryptocurrencies

Fetch the list of available coins used across CryptoInflation.eu APIs.
This public endpoint returns only the essentials: id, name, symbol.

Endpoint

GET /coins_public.php

Description

Returns the current coin universe as seen by our internal proxy.php (which aggregates CoinGecko PRO data).
Fields are trimmed to keep responses fast and easy to consume.

Query Parameters (optional)

NameTypeDefaultDescription
limitinteger5000Max number of top market-cap coins to consider (1–5000).
categorystringFilter by CoinGecko category slug (e.g., proof-of-stake-pos).
ids_only1If set to 1, return just an array of id strings instead of full objects.

Response

When ids_only is not set:

{
  "Timestamp": "2025-07-17T23:59:59Z",
  "count": 3,
  "data": [
    {"id": "bitcoin", "name": "Bitcoin", "symbol": "btc"},
    {"id": "ethereum", "name": "Ethereum", "symbol": "eth"},
    {"id": "solana", "name": "Solana", "symbol": "sol"}
  ]
}

When ids_only=1:

{
  "Timestamp": "2025-07-17T23:59:59Z",
  "count": 3,
  "data": ["bitcoin", "ethereum", "solana"]
}

Notes

  • The list is cached for ~1 hour to keep things snappy.
  • category matches CoinGecko’s category slugs (e.g., stablecoins, proof-of-work-pow, layer-1).
  • Coin id is what our other endpoints use as the table name / canonical identifier (e.g., bitcoin, ethereum).
  • This endpoint does not expose market data, prices, or images—only id, name, and symbol.

Examples

All coins (minimal objects):

GET /coins_public.php

IDs only (fast for lookups):

GET /coins_public.php?ids_only=1

Category filter + smaller universe:

GET /coins_public.php?category=proof-of-stake-pos&limit=500

How can we help?