Developers
Public API, TypeScript SDK, and MCP server for Solana privacy TVL.
REST API
Base: https://www.shieldedsol.com· CORS open · no key required
GET /api/v1/healthHealth + indexGET /api/v1/protocolsLive TVL all protocolsGET /api/v1/protocols/{id}One protocol (slug or name)GET /api/v1/history/tvl?range=7dAggregate historyGET /api/v1/history/protocol?protocol=Privacy%20Cash&range=30dPer-protocol historyGET /api/v1/openapi.jsonOpenAPI 3.1
curl -s https://www.shieldedsol.com/api/v1/protocols | jq .totalTvlUsd
TypeScript SDK
npm install @shieldedsol/sdk
import { createClient } from '@shieldedsol/sdk';
const client = createClient();
const { totalTvlUsd, protocols } = await client.listProtocols();
const mb = await client.getProtocol('magicblock');
const hist = await client.tvlHistory('30d');MCP server
For Claude, Cursor, Hermes, and other MCP clients:
npx -y @shieldedsol/mcp
{
"mcpServers": {
"shieldedsol": {
"command": "npx",
"args": ["-y", "@shieldedsol/mcp"]
}
}
}Tools: list_protocols · get_protocol · tvl_history · protocol_history · health