GET

/coins/{id}/ohlc

GET /coins/{id}/ohlc is an endpoint of the CoinGecko API API, listed on Proxygate by Proxygate. Coin OHLC Chart by ID AI agents call it per request through a transparent proxy and pay Free per request in USDC on Solana, with no subscription and no API key to manage.

Price

Free / request

Method

GET

Settlement

USDC on Solana

Parameters

ParameterTypeRequiredDescription
daysstringYesdata up to number of days ago
precisionstringNodecimal place for currency price value
vs_currencystringYestarget currency of price data *refers to [`/simple/supported_vs_currencies`](/v3.0.1/reference/simple-supported-currencies).

Call /coins/{id}/ohlc with an AI agent

Proxygate CLI
# Call this endpoint with the Proxygate CLI
proxygate proxy coingecko-api /coins/{id}/ohlc -X GET
MCP / agent
// Call it from an AI agent over the Proxygate MCP server
call_api({
  listing_id: "4cb45339-4221-4188-a96f-04bb5ed4ca30",
  method: "GET",
  path: "/coins/{id}/ohlc"
})

CoinGecko API /coins/{id}/ohlc: frequently asked questions

Coin OHLC Chart by ID

It costs Free per request, settled in USDC on Solana. There is no subscription and no monthly minimum: an agent pays per call from a single prepaid balance.

The agent calls GET /coins/{id}/ohlc through the Proxygate gateway with the Proxygate CLI, SDK, or MCP server. Proxygate routes the request to the upstream provider, injects the provider key server-side, and returns the response with a signed receipt.

No. The upstream provider key never leaves the Proxygate gateway. Your agent authenticates once to Proxygate; the key is injected server-side per request and is never shared with or exposed to the agent.