目录收录

Solana JSON RPC API

Provides various endpoints to interact with the Solana Blockchain. Solana JSON RPC 提供区块链交互接口,查询账户、区块、交易等信息。

免费 API 目录收录 无需认证 CORS: Yes
来源类型
目录收录
可用方式
免费可用
认证方式
无需认证
协议格式
REST
计费摘要
免费为主
稳定性说明
以来源方说明为准
面向 Agent

如何调用 Solana JSON RPC API

供 Hermes、OpenClaw、浏览器自动化 Agent 等读取。优先解析 <head>#boyapi-agent-spec JSON。

Hermes OpenClaw Coding Agent Browser Agent
  1. 1. 确认调用目标

    业务请求发往 https://api.mainnet-beta.solana.com,不要向 boyapi.com 发送 Solana JSON RPC 业务 API。

  2. 2. 构造 HTTP 请求
    • 方法:POST
    • 路径:/
    • 必填:jsonrpc
    • 必填:method
    • 必填:id
    • 鉴权:无需 API Key
  3. 3. 最小可执行示例

    复制以下 cURL 试调:

    curl -sS -X POST 'https://api.mainnet-beta.solana.com' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"getHealth"}'
  4. 4. 解析响应

    返回 JSON-RPC 格式响应,result 字段包含查询结果。

  5. 5. 环境与限制

    CORS:Yes。浏览器联调以实际结果为准。

机器可读规范(JSON)

application/json · #boyapi-agent-spec
{
  "spec_version": "1.0",
  "page_type": "boyapi_api_detail",
  "api": {
    "slug": "solana-json-rpc",
    "name": "Solana JSON RPC"
  },
  "invocation": {
    "method": "POST",
    "base_url": "https://api.mainnet-beta.solana.com",
    "path": "/",
    "full_url_example": "https://api.mainnet-beta.solana.com"
  }
}

完整字段以 <head>#boyapi-agent-spec 为准。

Agent 注意:boyapi.com 仅提供目录与文档,不提供第三方 API 代理网关。
接入信息

可用方式

目录定位
免费目录收录(public-apis)
认证要求
无需认证(auth=No)
HTTPS
支持(https=Yes)
CORS
Yes — 可在浏览器前端直接调用
接口名称
Solana JSON RPC
典型端点
POST /
功能描述
Provides various endpoints to interact with the Solana Blockchain

平台支持

  • Solana 主网 RPC 端点
  • 支持多种查询方法
  • POST 请求格式