# Solana RPC & data endpoints and keys

> Connect to Pipe Solana mainnet JSON-RPC, WebSockets, Yellowstone gRPC, DAS/DeFi APIs, x402 pay-per-request, MCP tools, and validator data.

- Canonical HTML: https://pipe.network/dashboard/docs/solana
- Markdown URL: https://pipe.network/dashboard/docs/solana.md
- Dashboard Console: https://pipe.network/dashboard/solana
- Category: Solana Infrastructure
- Authentication: Paid API key (`Authorization: Bearer psol_...`, `X-Pipe-Key`, or `?api-key=`) or HTTP x402 per-request USDC payment with `PAYMENT-SIGNATURE` via Pipe Market.
- Key Endpoints: `https://solana-rpc.pipedev.network/rpc`, `wss://solana-rpc.pipedev.network/ws`, `https://solana-rpc.pipedev.network`, `https://solana-rpc.pipedev.network/openapi.json`, `https://solana-rpc.pipedev.network/mcp`, `https://solana-rpc.pipedev.network/mcp/tools`, `https://pipe.network/api/market/v1/call`, `https://pipe.network/api/market/v1/x402`, `http://186.233.184.235:8080`

## Endpoints & Transport
- HTTPS JSON-RPC & REST: `https://solana-rpc.pipedev.network` (JSON-RPC at `POST /rpc`)
- WebSockets: `wss://solana-rpc.pipedev.network/ws`
- Yellowstone gRPC / Shreds / FastTx (HTTP/2 TLS): `https://solana-rpc.pipedev.network`
- Validator & Data Producer Origin: `http://186.233.184.235:8080` (key verification directory at `/attest/keys.json`)

## Machine-Readable Specs & Agent Discovery
- OpenAPI 3.1 Spec: `https://solana-rpc.pipedev.network/openapi.json`
- Interactive Swagger / API Docs: `https://solana-rpc.pipedev.network/docs`
- MCP JSON-RPC Server: `https://solana-rpc.pipedev.network/mcp`
- MCP Tool Catalog (20 Solana tools): `https://solana-rpc.pipedev.network/mcp/tools`
- MCP Server-Sent Events Stream: `https://solana-rpc.pipedev.network/mcp/sse`
- x402 Facilitated Payment Terms: `https://pipe.network/api/market/v1/x402`
- Pipe Market Agent Skill: `https://pipe.network/market/SKILL.md`

## Authentication & Paid Plans
Every mainnet request requires payment in one of two ways:
1. **Plan API Key (`psol_...`)**: Pass via `Authorization: Bearer psol_...`, `X-Pipe-Key: psol_...`, or `?api-key=psol_...`. Plans: Pay-As-You-Go ($20 / 30 days), Builder ($39 / 30 days), Growth ($119 / 30 days), Scale ($279 / 30 days).
2. **HTTP x402 per-request in USDC**: Call `https://pipe.network/api/market/v1/call/<path>` (for JSON-RPC: `POST https://pipe.network/api/market/v1/call/rpc`), receive `402 Payment Required` with USDC pricing, and retry with a signed `PAYMENT-SIGNATURE` header.

## Quickstart Example
```bash
curl -fsS -H "Authorization: Bearer $PIPE_API_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"getSlot"}' "https://solana-rpc.pipedev.network/rpc"
```
