get_ohlcv

Pack: solscan · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_ohlcv for the schema, then POST the same URL with its arguments for the data.

OHLCV price candles for a Solana liquidity pool (1-minute to 1-year buckets, cursor-paged). Announced by Solscan 2026-10-07; Pipeworx has not been able to verify the exact response shape because this is a Pro-tier-only endpoint and Pipeworx has no Pro-tier key — pass whatever extra query parameters Solscan’s own docs specify via extra_params if the named fields below are not enough. Pro tier — requires your own Solscan API key (Pipeworx’s platform key is Free tier and cannot call this).

Parameters

NameTypeRequiredDescription
pool_addressstringyesSolana liquidity pool address (base58)
time_bucketstringnoCandle size, e.g. “1m”, “1H”, “1D”, “1W” — Solscan supports 1 minute to 1 year.
time_fromnumbernoUnix timestamp (seconds), start of range
time_tonumbernoUnix timestamp (seconds), end of range
cursorstringnoPagination cursor from a previous response
extra_paramsobjectnoAny additional query parameters Solscan’s docs name that are not covered above — forwarded verbatim.
propertiesunknownno

Example call

Arguments

{
  "pool_address": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
  "time_bucket": "1D"
}

curl

curl -X POST https://gateway.pipeworx.io/solscan/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_ohlcv","arguments":{"pool_address":"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2","time_bucket":"1D"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_ohlcv', {
  "pool_address": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
  "time_bucket": "1D"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the solscan pack
{
  "mcpServers": {
    "solscan": {
      "url": "https://gateway.pipeworx.io/solscan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 8, 2026