Latest Block
The newest confirmed block: number, hash, time and how many transactions it holds.
GET /v1/crypto/block/latest
- Chains
- +54on 60 chains; pick one with
chain. The answer has the same shape on every one. - Price
- Each call costs $0.001. Your first 100 priced calls each day are free, so you can try it before adding credits.
- Freshness
- The answer can be up to 5 s old; cached answers say so with cached: true.
- Answer
- Always
{ data, cost_usd, balance_usd, cached, request_id }.
Parameters
| Name | Type | Required | What it is | Example |
|---|---|---|---|---|
| chainquery | string | no, default solana | Which chain: solana, ethereum, base, bsc, arbitrum, polygon, avalanche, optimism, hyperevm, monad, abstract, sonic, berachain, sei, linea, zksync, mantle, unichain, ronin, cronos, worldchain, scroll, celo, pulsechain, ink, soneium, metis, manta, katana, plasma, flowevm, kava, tron, sui, ton, aptos, near, starknet, xrpl, injective, hyperliquid, robinhood, elysium, arc, megaeth, fantom, opbnb, zora, mode, taiko, lisk, fraxtal, apechain, story, sophon, gnosis, core, xlayer, hedera, polygonzkevm, immutable, kaia, aurora, boba, shibarium, rootstock, bitlayer, merlin, etherlink, xrplevm, vana, bob, shape, beam, memecore, stable, tempo, stacks, cardano, stellar. Default solana. | solana |
Try it
A real call. Your first 100 priced calls a day are free; after that it costs the price above. Edit anything and run it.
Response
Example data (the answer sits inside the envelope)
{
"data": {
"chain": "solana",
"block": 475114747,
"block_height": 453127140,
"hash": "EyJJf6td9CTUQmxcd3oMCmwzGFBTsXqYpKYAxsG8bsm6",
"parent_block": 475114746,
"confirmed_at": "2026-11-28T22:03:55.000Z",
"transactions": 371
},
"cost_usd": 0.001,
"balance_usd": "…",
"cached": false,
"request_id": "req_…"
}What the example answered when this page was built, shortened. Run it for a live answer.
Copy it
Runs as-is with your key in place of c2a_your_key. The MCP block gives an agent every endpoint in one server.
curl "https://api.crypto2api.com/v1/crypto/block/latest?chain=solana" \
-H "Authorization: Bearer c2a_your_key"