Data API
Indexed blocks, transactions, accounts, transfers and chain events — the explorer's read model over REST.
索引好的区块、交易、账户、转账与链事件——浏览器读模型直接以 REST 提供。
Pimu Developers exposes the same indexer that powers the block explorer: blocks, transactions, accounts, tokens, NFTs, transfers and storage — ready for swaps, NFT marketplaces, wallets and analytics.
与区块浏览器同源索引:区块、交易、账户、代币、NFT、转账与存储数据,直接用于 Swap、NFT 市场、钱包与数据分析应用。
# latest block from the explorer index
curl "https://api.pimu.org/v1/blocks/latest" \
-H "Authorization: Bearer $FALARI_API_KEY"
# 200 OK — same data as the explorer
{
"block": {
"height": 31568,
"hash": "97…",
"tx_count": 0
}
}
// no SDK required — plain fetch
const res = await fetch(
"https://api.pimu.org/v1/blocks/latest",
{ headers: { Authorization: `Bearer ${process.env.FALARI_API_KEY}` } },
);
const { block } = await res.json();
console.log(block.height);
# no SDK required — plain requests
import os, requests
res = requests.get(
"https://api.pimu.org/v1/blocks/latest",
headers={"Authorization": f"Bearer {os.environ['FALARI_API_KEY']}"},
)
print(res.json()["block"]["height"])
One account and one key per environment. Start with indexed reads, add storage and Agent Keys when the product needs them.
一个账户、每个环境一把 Key。先用索引读取,需要时再接存储与 Agent Key。
Indexed blocks, transactions, accounts, transfers and chain events — the explorer's read model over REST.
索引好的区块、交易、账户、转账与链事件——浏览器读模型直接以 REST 提供。
ERC-20 balances, token transfers, NFT ownership and NFT transfer history — beta until token/NFT contracts are redeployed on the current testnet.
ERC-20 余额、代币转账、NFT 持有与转移历史 — 当前测试网重置后为 beta,合约重新部署前返回空数据。
EVM JSON-RPC and Cosmos REST for contract calls, signatures and wallet integration.
EVM JSON-RPC 与 Cosmos REST,用于合约调用、签名与钱包接入。
Upload intents, storage providers and manifests — the chain's storage layer exposed to apps.
上传意图、存储提供者与 manifest,把链上存储层开放给应用。
On-chain delegation for agents: allowances, token policies and encryption keys.
面向 Agent 的链上授权:额度、代币策略与加密密钥。
Address activity, NFT sales and storage events pushed to your endpoint instead of polling.
地址活动、NFT 成交与存储事件主动回调,替代轮询。
Each use case maps to endpoints that already exist today — no custom indexing contract to sign.
每个场景都对应现成接口,不需要另签定制索引合同。
Token lists, transfer flows, swap events and fee-market state for quotes, charts and pool pages.
代币列表、转账流水、swap 事件与 fee-market 状态,用于报价、图表与池子页。
Ownership, NFT transfer history, contract ABIs and source, plus manifests for metadata.
持有关系、NFT 转移历史、合约 ABI 与源码,以及 metadata manifest。
Balances, token holdings, transaction history and incoming/outgoing transfers per address.
余额、代币持仓、交易历史与单地址的转入转出记录。
Blocks, transactions, logs, validators and miners — the same read model that renders the explorer.
区块、交易、日志、验证者与矿工——与浏览器渲染使用的是同一套读模型。
The API is not a separate index. It reads the same indexed state that renders texplorer.pimu.org, so numbers on your app and in the explorer agree.
API 不是另起一套索引:它读取的就是渲染 texplorer.pimu.org 的那份索引状态,应用里和浏览器里的数字一致。
Blocks, transactions, events and storage state are indexed continuously.
持续索引区块、交易、事件与存储状态。
Explorer pages and API endpoints read the same model, with per-key rate limits.
浏览器页面与 API 端点读取同一份模型,API 侧按 Key 限流。
Swap, marketplace, wallet or dashboard — one key, one base URL.
Swap、市场、钱包或看板——一把 Key、一个 Base URL。
Wallet login replaces email and password. A key is created in the console and shown once.
钱包登录替代邮箱和密码。Key 在控制台创建,只显示一次。
Connect an EVM wallet on the console and sign the nonce. No email, no password.
在控制台连接 EVM 钱包并签署 nonce,无需邮箱和密码。
Open console打开控制台Name the key, copy it once, store it like a password. Up to 20 keys per account.
命名、复制并像密码一样保管。每个账户最多 20 个。
FALARI_API_KEY=fk_live_...
Anonymous requests are rate limited per IP; a key gets the higher limit.
匿名请求按 IP 限流;带 Key 使用更高额度。
curl https://api.pimu.org/v1/status
No card, no prepaid credits today. Limits protect the shared testnet gateway; prepaid tiers and x402 are planned.
当前无需付费或预充值。限流用于保护共享测试网网关;预付费套餐与 x402 在规划中。
| Item项目 | Value值 |
|---|---|
GET /health | free, not rate limited免费,不限流 |
Any GET /v1/*任意 GET /v1/* | free in beta测试期免费 |
| Anonymous limit匿名限流 | 30 req/min per IP次/分钟/IP |
| API key limitAPI Key 限流 | 300 req/min per key次/分钟/Key |
| Keys per account每账户 Key 数 | 20 |
The same data layer serves the explorer, the swap, the marketplace and the wallet.
同一数据层同时服务浏览器、Swap、市场与钱包。
Yes. Both surfaces read the same indexed model. The explorer is the UI; the API is the contract for your app.
是。两个出口读取同一份索引模型:浏览器是界面,API 是给应用用的契约。
Anonymous reads work at the IP limit. For the higher per-key limit, sign in with an EVM wallet and create a key — no email or password.
匿名读取可用,但按 IP 限流。需要更高额度时,用 EVM 钱包登录并创建 Key,无需邮箱和密码。
Not yet. Everything currently targets the Pimu testnet (EVM chain id 62026); mainnet parameters are reserved.
暂未上线。当前全部指向 Pimu 测试网(EVM chain id 62026),主网参数为预留。
Free in beta. Prepaid credits and an optional x402 per-request mode for agents are planned; nothing is charged today.
测试期免费。预付费额度与面向 Agent 的 x402 按次付费在规划中,当前不收费。
The chain and indexer are open source. The hosted API is the fastest path; point your own indexer at the same read model if you prefer.
链与索引器开源。托管 API 是最快路径;也可以让自建索引器读同一套模型。