Base network and fee status
Read the latest Base mainnet block and a bounded EIP-1559 fee history in one RPC batch, including gas utilization and priority-fee percentile samples.
Endpoint
https://apiacre.com/v1/crypto/base-network-statusSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Pay $0.001 USDC and run in your browserOfficial Coinbase agent path
Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.001 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.
npx --yes awal@latest x402 pay https://apiacre.com/v1/crypto/base-network-status \
-X POST \
-d '{"fee_history_blocks":5,"reward_percentiles":[10,50,90]}' \
--max-amount 1000 \
--jsonCoinbase pay-for-service documentation · Buyer setup and wallet safety
Alternative third-party AgentCash commands
Run check first without payment. Its fetch command may automatically pay up to the exact listed price.
npx --yes agentcash@latest check https://apiacre.com/v1/crypto/base-network-status
npx --yes agentcash@latest fetch https://apiacre.com/v1/crypto/base-network-status \
--method POST \
--header 'content-type: application/json' \
--body '{"fee_history_blocks":5,"reward_percentiles":[10,50,90]}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.001Input example
{
"fee_history_blocks": 5,
"reward_percentiles": [
10,
50,
90
]
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "crypto.base-network-status",
"version": "1",
"data": {
"network": {
"name": "Base Mainnet",
"caip2": "eip155:8453",
"chainId": 8453
},
"observedAt": "2026-08-11T13:00:02+00:00",
"latestBlock": {
"number": 34600000,
"hash": "0x4444444444444444444444444444444444444444444444444444444444444444",
"parentHash": "0x3333333333333333333333333333333333333333333333333333333333333333",
"timestamp": "2026-08-11T13:00:00+00:00",
"ageSeconds": 2,
"transactionCount": 187,
"gasLimit": 120000000,
"gasUsed": 54000000,
"gasUtilization": 0.45,
"baseFeePerGasWei": "500000"
},
"fees": {
"gasPriceWei": "1000000",
"history": {
"blockCount": 5,
"oldestBlock": 34599996,
"newestBlock": 34600000,
"headAligned": true,
"rewardPercentiles": [
10,
50,
90
],
"baseFeePerGasWei": [
"480000",
"490000",
"510000",
"505000",
"500000"
],
"nextBaseFeePerGasWei": "495000",
"gasUsedRatio": [
0.42,
0.51,
0.48,
0.56,
0.45
],
"priorityFeePerGasWei": [
[
"100000",
"500000",
"1000000"
],
[
"100000",
"500000",
"1000000"
],
[
"100000",
"500000",
"1000000"
],
[
"100000",
"500000",
"1000000"
],
[
"100000",
"500000",
"1000000"
]
]
}
},
"networkRequestsMade": 1,
"readOnly": true,
"transactionBroadcast": false,
"warnings": [],
"source": "https://docs.base.org/base-chain/quickstart/connecting-to-base",
"disclaimer": "A point-in-time public Base RPC observation, not a fee guarantee or transaction simulation. Values may change before a transaction is submitted."
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/crypto/base-network-status' \
-H 'content-type: application/json' \
--data '{"fee_history_blocks":5,"reward_percentiles":[10,50,90]}'