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.
$0.001 USDCBasex402 v2POST
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.
Agent one-call path
Optional third-party AgentCash can inspect this route and handle the x402 retry. This example does not pass its payment auto-confirm flag and caps the call at exactly $0.001 USDC. Review the local wallet and request before approving payment.
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.001AgentCash CLI documentation · Official SDK and wallet-safety alternatives
Input 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]}'