Live
get_market_cap_candles
gmgn.aiReturns Solana token market-cap OHLCV candles from https://gmgn.ai, including open, high, low, close, volume, token amount, and timestamp.
Parameters3
Runs5
Updated5h ago
Degraded5 runs · 60% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_market_cap_candles?
Returns Solana token market-cap OHLCV candles from https://gmgn.ai, including open, high, low, close, volume, token amount, and timestamp. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass contract_address, resolution, limit and get the result back without maintaining a scraper.
Response
{
"chain": "<string>",
"count": 0,
"limit": 0,
"candles": [
{
"low": "<string>",
"high": "<string>",
"open": "<string>",
"time": 0,
"close": "<string>",
"amount": "<string>",
"volume": "<string>"
}
],
"resolution": "<string>",
"contract_address": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/cc6438ce-d8fe-43d0-8bf0-3fdf12837777/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "cc6438ce-d8fe-43d0-8bf0-3fdf12837777",
"variables": {
"contract_address": "DEFAULT_CONTRACT_ADDRESS",
"resolution": "1m",
"limit": 50
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="cc6438ce-d8fe-43d0-8bf0-3fdf12837777") — the "get_market_cap_candles" function, which returns Solana token market-cap OHLCV candles from https://gmgn.ai, including open, high, low, close, volume, token amount, and timestamp.. It takes contract_address (str), resolution (str), limit (int). Return the result as structured JSON.