OpenAny
Get API keyAPI Key
APICrypto & DeFi

coingecko logo
CoinGecko Historical Coin Snapshot API

Get a historical CoinGecko coin snapshot via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as date, and retrieve structured data including coinGecko coin identifier and usd for historical asset views, and currency comparisons, ready for production pipelines and AI agent automation using a single OpenAny API key.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

CoinGecko Historical Coin Snapshot API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
CoinGecko Historical Coin Snapshot API

CoinGecko Historical Coin Snapshot API

Provide a coin ID and the required date in dd-mm-yyyy format. The response is a date-specific snapshot rather than an intraday sequence. localization controls localized names, while market-data maps retain their currency keys.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs path: id; query: date, localization
Selected implementation coingecko · CoinGecko — Coin Historical Data by ID
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Historical asset views: Display a coin snapshot for a selected calendar date.
  • Currency comparisons: Read the appropriate currency entry without mixing units across maps.

Documented Response Fields

Field Meaning
id CoinGecko coin identifier
localization.<locale> Localized coin name when included
market_data.current_price.usd Reported snapshot price in USD
market_data.market_cap.usd Reported snapshot market capitalization in USD
market_data.total_volume.usd Reported snapshot trading volume in USD

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/coingecko/api/v3/coins/bitcoin/history \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data-urlencode date=27-10-2026

Request and Response Examples

The response is an official documentation reference that may contain historical values or optional sections. The calling template is independent; match returned resource identifiers, timestamps and requested options before using the data.

Published CoinGecko Historical Coin Snapshot API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Coin ID. *refers to [`/coins/list`](/reference/coins-list).
The date of data snapshot. Format: `dd-mm-yyyy`
Include all the localized languages in response. Default: true

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
CoinGeckoCurrent
CoinGecko — Coin Historical Data by ID · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · CoinGeckoUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/coingecko/api/v3/coins/{id}/history
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
idURL path parameterspathstringYes

Coin ID. *refers to [`/coins/list`](/reference/coins-list).

dateURL query parametersquerystringYes

The date of data snapshot. Format: `dd-mm-yyyy`

localizationURL query parametersquerybooleanNo

Include all the localized languages in response. Default: true

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • idstring
  • imageobject
    • smallstring
    • thumbstring
  • localizationobject
    • arstring
    • bgstring
    • csstring
    • dastring
    • destring
    • elstring
    • enstring
    • esstring
    • fistring
    • frstring
    • hestring
    • histring
    • hrstring
    • hustring
    • idstring
    • itstring
    • jastring
    • kostring
    • ltstring
    • nlstring
    • nostring
    • plstring
    • ptstring
    • rostring
    • rustring
    • skstring
    • slstring
    • svstring
    • thstring
    • trstring
    • ukstring
    • vistring
    • zhstring
    • zh-twstring
  • market_dataobject
    • current_priceobject
      • aednumber
      • arsnumber
      • audnumber
      • bchnumber
      • bdtnumber
      • bhdnumber
      • bitsnumber
      • bmdnumber
      • bnbnumber
      • brlnumber
      • btcnumber
      • cadnumber
      • chfnumber
      • clpnumber
      • cnynumber
      • czknumber
      • dkknumber
      • dotnumber
      • eosnumber
      • ethnumber
      • eurnumber
      • gbpnumber
      • gelnumber
      • hkdnumber
      • hufnumber
      • idrnumber
      • ilsnumber
      • inrnumber
      • jpynumber
      • krwnumber
      • kwdnumber
      • linknumber
      • lkrnumber
      • ltcnumber
      • mmknumber
      • mxnnumber
      • myrnumber
      • ngnnumber
      • noknumber
      • nzdnumber
      • phpnumber
      • pkrnumber
      • plnnumber
      • rubnumber
      • sarnumber
      • satsnumber
      • seknumber
      • sgdnumber
      • solnumber
      • thbnumber
      • trynumber
      • twdnumber
      • uahnumber
      • usdnumber
      • vefnumber
      • vndnumber
      • xagnumber
      • xaunumber
      • xdrnumber
      • xlmnumber
      • xrpnumber
      • yfinumber
      • zarnumber
    • market_capobject
      • aednumber
      • arsnumber
      • audnumber
      • bchnumber
      • bdtnumber
      • bhdnumber
      • bitsnumber
      • bmdnumber
      • bnbnumber
      • brlnumber
      • btcnumber
      • cadnumber
      • chfnumber
      • clpnumber
      • cnynumber
      • czknumber
      • dkknumber
      • dotnumber
      • eosnumber
      • ethnumber
      • eurnumber
      • gbpnumber
      • gelnumber
      • hkdnumber
      • hufnumber
      • idrinteger
      • ilsnumber
      • inrnumber
      • jpynumber
      • krwnumber
      • kwdnumber
      • linknumber
      • lkrnumber
      • ltcnumber
      • mmknumber
      • mxnnumber
      • myrnumber
      • ngnnumber
      • noknumber
      • nzdnumber
      • phpnumber
      • pkrnumber
      • plnnumber
      • rubnumber
      • sarnumber
      • satsnumber
      • seknumber
      • sgdnumber
      • solnumber
      • thbnumber
      • trynumber
      • twdnumber
      • uahnumber
      • usdnumber
      • vefnumber
      • vndinteger
      • xagnumber
      • xaunumber
      • xdrnumber
      • xlmnumber
      • xrpnumber
      • yfinumber
      • zarnumber
    • total_volumeobject
      • aednumber
      • arsnumber
      • audnumber
      • bchnumber
      • bdtnumber
      • bhdnumber
      • bitsnumber
      • bmdnumber
      • bnbnumber
      • brlnumber
      • btcnumber
      • cadnumber
      • chfnumber
      • clpnumber
      • cnynumber
      • czknumber
      • dkknumber
      • dotnumber
      • eosnumber
      • ethnumber
      • eurnumber
      • gbpnumber
      • gelnumber
      • hkdnumber
      • hufnumber
      • idrnumber
      • ilsnumber
      • inrnumber
      • jpynumber
      • krwnumber
      • kwdnumber
      • linknumber
      • lkrnumber
      • ltcnumber
      • mmknumber
      • mxnnumber
      • myrnumber
      • ngnnumber
      • noknumber
      • nzdnumber
      • phpnumber
      • pkrnumber
      • plnnumber
      • rubnumber
      • sarnumber
      • satsnumber
      • seknumber
      • sgdnumber
      • solnumber
      • thbnumber
      • trynumber
      • twdnumber
      • uahnumber
      • usdnumber
      • vefnumber
      • vndnumber
      • xagnumber
      • xaunumber
      • xdrnumber
      • xlmnumber
      • xrpnumber
      • yfinumber
      • zarnumber
  • namestring
  • public_interest_statsobject
    • alexa_ranknull
    • bing_matchesnull
  • symbolstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official response / contract request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 3

    Review these request fields before running. Keep the published provider and request method unchanged.

    id
    Coin ID. *refers to [`/coins/list`](/reference/coins-list).
    date
    The date of data snapshot. Format: `dd-mm-yyyy`
    localization
    Include all the localized languages in response. Default: true
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/coingecko/api/v3/coins/bitcoin/history?date=27-10-2026' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "id": "bitcoin",
      "image": {
        "small": "https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png?1696501400",
        "thumb": "https://coin-images.coingecko.com/coins/images/1/thumb/bitcoin.png?1696501400"
      },
      "localization": {
        "ar": "بيتكوين",
        "bg": "Bitcoin",
        "cs": "Bitcoin",
        "da": "Bitcoin",
        "de": "Bitcoin",
        "el": "Bitcoin",
        "en": "Bitcoin",
        "es": "Bitcoin",
        "fi": "Bitcoin",
        "fr": "Bitcoin",
        "he": "Bitcoin",
        "hi": "Bitcoin",
        "hr": "Bitcoin",
        "hu": "Bitcoin",
        "id": "Bitcoin",
        "it": "Bitcoin",
        "ja": "ビットコイン",
        "ko": "비트코인",
        "lt": "Bitcoin",
        "nl": "Bitcoin",
        "no": "Bitcoin",
        "pl": "Bitcoin",
        "pt": "Bitcoin",
        "ro": "Bitcoin",
        "ru": "Биткоин",
        "sk": "Bitcoin",
        "sl": "Bitcoin",
        "sv": "Bitcoin",
        "th": "บิตคอยน์",
        "tr": "Bitcoin",
        "uk": "Bitcoin",
        "vi": "Bitcoin",
        "zh": "比特币",
        "zh-tw": "比特幣"
      },
      "market_data": {
        "current_price": {
          "aed": 155021.01870663263,
          "ars": 34223222.03038811,
          "aud": 61961.64079464181,
          "bch": 162.9444394169128,
          "bdt": 4640974.295329716,
          "bhd": 15935.706731619232,
          "bits": 999797.6500840397,
          "bmd": 42208.202176186474,
          "bnb": 135.24654224991627,
          "brl": 204813.86598107114,
          "btc": 1.0,
          "cad": 55925.65684243621,
          "chf": 35496.88698916195,
          "clp": 37196103.56833302,
          "cny": 298785.10989287664,
          "czk": 944615.3438828368,
          "dkk": 285068.92147269147,
          "dot": 5160.299955562896,
          "eos": 50098.037591566885,
          "eth": 18.514283305187227,
          "eur": 38240.20908960317,
          "gbp": 33156.484386694596,
          "gel": 113329.02284306048,
          "hkd": 329606.38328597124,
          "huf": 14657368.01641012,
          "idr": 649885162.0865278,
          "ils": 152105.57155771676,
          "inr": 3513053.119048727,
          "jpy": 5952559.440604322,
          "krw": 54661344.54593342,
          "kwd": 12984.298194449415,
          "link": 2828.6459350540995,
          "lkr": 13696906.151726862,
          "ltc": 579.0962960970021,
          "mmk": 88806742.41781776,
          "mxn": 716452.3647481233,
          "myr": 194052.20950501712,
          "ngn": 37886364.22413555,
          "nok": 429442.7101393702,
          "nzd": 66802.583918633,
          "php": 2338503.1911612307,
          "pkr": 11792242.372501094,
          "pln": 165880.09171330827,
          "rub": 3767047.138041446,
          "sar": 158357.45046405343,
          "sats": 99979765.00840396,
          "sek": 425811.11642413173,
          "sgd": 55694.77797653248,
          "sol": 416.5289478886034,
          "thb": 1453127.860988517,
          "try": 1243001.417432343,
          "twd": 1295461.9075007213,
          "uah": 1607901.3285893872,
          "usd": 42208.202176186474,
          "vef": 4226.30728390156,
          "vnd": 1024346748.4635574,
          "xag": 1773.9385614394023,
          "xau": 20.435523165622502,
          "xdr": 31508.676173736272,
          "xlm": 327801.5907899002,
          "xrp": 68792.39040895543,
          "yfi": 5.23330767599715,
          "zar": 772207.5004537676
        },
        "market_cap": {
          "aed": 3039570628249.035,
          "ars": 671030943774608.1,
          "aud": 1214911274669.9553,
          "bch": 3192400331.4673758,
          "bdt": 90997783863352.8,
          "bhd": 312458958958.8847,
          "bits": 19587615789973.43,
          "bmd": 827596236151.1959,
          "bnb": 2647323702.8955383,
          "brl": 4015882597651.6562,
          "btc": 19586150.0,
          "cad": 1096560874919.1543,
          "chf": 696004296621.9747,
          "clp": 729321641896660.1,
          "cny": 5858421340316.535,
          "czk": 18521521005440.16,
          "dkk": 5589481529435.656,
          "dot": 101067225072.82333,
          "eos": 981764701266.0074,
          "eth": 362734483.2978319,
          "eur": 749793913990.623,
          "gbp": 650114912923.6271,
          "gel": 2222095894065.9663,
          "hkd": 6462748663878.865,
          "huf": 287393965552690.7,
          "idr": 12742606563251504,
          "ils": 2982406073429.352,
          "inr": 68882098474316.74,
          "jpy": 116714655790049.02,
          "krw": 1071770904156178.4,
          "kwd": 254589292146.01266,
          "link": 55342736984.57576,
          "lkr": 268561734299139.16,
          "ltc": 11369266145.87004,
          "mmk": 1741275912749029.8,
          "mxn": 14047821273508.254,
          "myr": 3804873695705.123,
          "ngn": 742855909912170.9,
          "nok": 8420286869134.373,
          "nzd": 1309829942186.6091,
          "php": 45852141040124.65,
          "pkr": 231216088345279.94,
          "pln": 3252489622308.595,
          "rub": 73862279654407.0,
          "sar": 3104989627928.0786,
          "sats": 1958761578997342.8,
          "sek": 8349080488975.917,
          "sgd": 1092033923507.4076,
          "sol": 8167080608.685882,
          "thb": 28493545024184.4,
          "try": 24372118250940.145,
          "twd": 25400735957660.043,
          "uah": 31526883852775.1,
          "usd": 827596236151.1959,
          "vef": 82867211125.81927,
          "vnd": 20084852465487144,
          "xag": 34782454615.8709,
          "xau": 400688993.6949639,
          "xdr": 617805555864.2843,
          "xlm": 6420377180809.443,
          "xrp": 1347730925908.2449,
          "yfi": 102656498.40039586,
          "zar": 15141038659633.365
        },
        "total_volume": {
          "aed": 52093574029.40443,
          "ars": 11500440167656.37,
          "aud": 20821714040.129295,
          "bch": 54756176.21574547,
          "bdt": 1559562309933.2505,
          "bhd": 5355066850.034618,
          "bits": 335974007483.7291,
          "bmd": 14183728910.169804,
          "bnb": 45448519.30208316,
          "brl": 68826062289.8161,
          "btc": 335974.0074837291,
          "cad": 18793369887.330444,
          "chf": 11928445094.808254,
          "clp": 12499453241945.738,
          "cny": 100404347558.46667,
          "czk": 317430434636.70953,
          "dkk": 95795132093.1731,
          "dot": 1734077546.3343449,
          "eos": 16835045026.655567,
          "eth": 6221576.893294353,
          "eur": 12850316555.324738,
          "gbp": 11141971510.468252,
          "gel": 38083312123.805855,
          "hkd": 110761590083.25078,
          "huf": 4925491344396.748,
          "idr": 218388713248196.1,
          "ils": 51113861322.39222,
          "inr": 1180533415747.48,
          "jpy": 2000310012607.8845,
          "krw": 18368507847565.402,
          "kwd": 4363269605.991003,
          "link": 950543853.0214615,
          "lkr": 4602735813129.19,
          "ltc": 194600680.75008962,
          "mmk": 29842795828917.508,
          "mxn": 240758089534.80554,
          "myr": 65209693664.5056,
          "ngn": 12731409817077.545,
          "nok": 144310789586.34262,
          "nzd": 22448474276.294495,
          "php": 785835302355.318,
          "pkr": 3962688776849.6025,
          "pln": 55742678701.03927,
          "rub": 1265886075288.8472,
          "sar": 53214755248.56654,
          "sats": 33597400748372.91,
          "sek": 143090421550.91183,
          "sgd": 18715784890.19182,
          "sol": 139971223.0203305,
          "thb": 488312000734.88245,
          "try": 417700689222.06055,
          "twd": 435329617517.0529,
          "uah": 540322387194.22906,
          "usd": 14183728910.169804,
          "vef": 1420216775.7753053,
          "vnd": 344223535737756.94,
          "xag": 596117871.9180025,
          "xau": 6867194.189147832,
          "xdr": 10588238733.815224,
          "xlm": 110155103993.25989,
          "xrp": 23117132839.969418,
          "yfi": 1758611.2071300931,
          "zar": 259494157157.33887
        }
      },
      "name": "Bitcoin",
      "public_interest_stats": {
        "alexa_rank": null,
        "bing_matches": null
      },
      "symbol": "btc"
    }

Common questions

Which date format is required?

Use dd-mm-yyyy, for example 27-10-2026. It is a calendar date, not a Unix timestamp.

Can I get an intraday series from this endpoint?

No. It returns a date-specific snapshot. Use a historical chart endpoint for timestamped series.

Can I choose only USD with vs_currency?

This selected contract does not expose vs_currency. Read the relevant currency key from the returned market-data maps.

What does localization=false change?

It disables the optional localized-name content. It does not change the requested historical date or the currency keys.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use CoinGecko Historical Coin Snapshot API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.