get_token_holdings

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_token_holdings for the schema, then POST the same URL with its arguments for the data.

SPL-token balances held by a Solana account. Returns mint, symbol, amount, decimals, USD value (if known). Pro tier, requires your own Solscan API key (Pipeworx’s platform key is Free tier and cannot call this).

Parameters

NameTypeRequiredDescription
addressstringyesSolana account public key
pagenumberno1-based page (default 1)
page_sizenumberno1-40 (default 20)

Example call

Arguments

{
  "address": "SolendFtLatfDwGrPfLVLocked111111111111111"
}

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_token_holdings","arguments":{"address":"SolendFtLatfDwGrPfLVLocked111111111111111"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_token_holdings', {
  "address": "SolendFtLatfDwGrPfLVLocked111111111111111"
});

More examples

{
  "address": "SolendFtLatfDwGrPfLVLocked111111111111111",
  "page": 2,
  "page_size": 10
}

Response shape

Always returns: path, data

FieldTypeDescription
pathstringAPI endpoint path
dataobjectPaginated SPL token holdings with mint, symbol, amount, decimals, USD value
Full JSON Schema
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "API endpoint path"
    },
    "data": {
      "type": "object",
      "description": "Paginated SPL token holdings with mint, symbol, amount, decimals, USD value"
    }
  },
  "required": [
    "path",
    "data"
  ]
}

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 November 19, 2026