accessScan
Developer API
Home API Documentation API Key Management
Sign In to AccessScan
Access the network explorer with your Google account
accessScan
Developer API

Access Network Developer API

Complete REST API documentation for Access Network blockchain. Compatible with Ethereum JSON-RPC standard.

access_blockNumber

Returns the number of most recent block.

https:///api/explorer/stats?module=proxy&action=access_blockNumber&apikey=YourApiKeyToken
cURL Example:
curl -X GET "https:///api/explorer/stats?module=proxy&action=access_blockNumber&apikey=YourApiKeyToken"
{ "jsonrpc": "2.0", "id": 1, "result": "0x10d4f" }
// Using fetch API const apiUrl = 'https:///api/explorer/stats'; const params = new URLSearchParams({ module: 'proxy', action: 'access_blockNumber', apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`) .then(response => response.json()) .then(data => { console.log('Latest Block:', parseInt(data.result, 16)); }) .catch(error => console.error('Error:', error));
import requests url = "https:///api/explorer/stats" params = { "module": "proxy", "action": "access_blockNumber", "apikey": "YourApiKeyToken" } response = requests.get(url, params=params) data = response.json() block_number = int(data['result'], 16) print(f"Latest Block: {block_number}")

Try it Now

Test this API endpoint with your API key

access_getBlockByNumber

Returns information about a block by block number.

https:///api/explorer/block/{blockNumber}?module=proxy&action=access_getBlockByNumber&tag=1269&boolean=true&apikey=YourApiKeyToken
Parameter Description
tag the block number, in hex eg. 0x36B3C
boolean the boolean value to show full transaction objects. when true, returns full transaction objects.
const blockNumber = '0x10d4f'; const apiUrl = `https:///api/explorer/block/${blockNumber}`; const params = new URLSearchParams({ module: 'proxy', action: 'access_getBlockByNumber', tag: blockNumber, boolean: 'true', apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`) .then(response => response.json()) .then(data => { console.log('Block Data:', data.result); console.log('Transactions:', data.result.transactions); });
import requests block_number = "0x10d4f" url = f"https:///api/explorer/block/{block_number}" params = { "module": "proxy", "action": "access_getBlockByNumber", "tag": block_number, "boolean": "true", "apikey": "YourApiKeyToken" } response = requests.get(url, params=params) block_data = response.json()['result'] print(f"Block Hash: {block_data['hash']}") print(f"Transactions: {len(block_data['transactions'])}")

Try it Now

Test this API endpoint with your API key

access_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https:///api/explorer/transaction/{txHash}?module=proxy&action=access_getTransactionByHash&txhash=0xbc78ab8a9e9a0bca7d0321a27b2d&apikey=YourApiKeyToken
Parameter Description
txhash the string representing the hash of the transaction
const txHash = '0xbc78ab8a9e9a0bca7d0321a27b2d'; const apiUrl = `https:///api/explorer/transaction/${txHash}`; const params = new URLSearchParams({ module: 'proxy', action: 'access_getTransactionByHash', txhash: txHash, apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`) .then(response => response.json()) .then(data => { const tx = data.result; console.log('From:', tx.from); console.log('To:', tx.to); console.log('Value:', tx.value); });
import requests tx_hash = "0xbc78ab8a9e9a0bca7d0321a27b2d" url = f"https:///api/explorer/transaction/{tx_hash}" params = { "module": "proxy", "action": "access_getTransactionByHash", "txhash": tx_hash, "apikey": "YourApiKeyToken" } response = requests.get(url, params=params) tx_data = response.json()['result'] print(f"From: {tx_data['from']}") print(f"To: {tx_data['to']}") print(f"Value: {tx_data['value']}")

Try it Now

Test this API endpoint with your API key

access_getTransactionCount

Returns the number of transactions performed by an address.

https:///api/explorer/address/{address}?module=proxy&action=access_getTransactionCount&address=0x4bd5900cb274ef15b153066b7de&tag=latest&apikey=YourApiKeyToken
Parameter Description
address the string representing the address to get transaction count
tag the string pre-defined block parameter, either earliest, pending or latest
const address = '0x4bd5900cb274ef15b153066b7de'; const apiUrl = `https:///api/explorer/address/${address}`; const params = new URLSearchParams({ module: 'proxy', action: 'access_getTransactionCount', address: address, tag: 'latest', apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`) .then(response => response.json()) .then(data => { const txCount = parseInt(data.result, 16); console.log('Transaction Count:', txCount); });
import requests address = "0x4bd5900cb274ef15b153066b7de" url = f"https:///api/explorer/address/{address}" params = { "module": "proxy", "action": "access_getTransactionCount", "address": address, "tag": "latest", "apikey": "YourApiKeyToken" } response = requests.get(url, params=params) tx_count = int(response.json()['result'], 16) print(f"Transaction Count: {tx_count}")

Try it Now

Test this API endpoint with your API key

access_sendRawTransaction

Submits a pre-signed transaction for broadcast to the Access network.

https:///api/blockchain/send?module=proxy&action=access_sendRawTransaction&hex=0xf904808000831cfde080&apikey=YourApiKeyToken
Tip: Send a POST request if your hex string is particularly long.
const signedTx = '0xf904808000831cfde080'; const apiUrl = 'https:///api/blockchain/send'; const params = new URLSearchParams({ module: 'proxy', action: 'access_sendRawTransaction', hex: signedTx, apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`, { method: 'POST' }) .then(response => response.json()) .then(data => { console.log('Transaction Hash:', data.result); });
import requests signed_tx = "0xf904808000831cfde080" url = "https:///api/blockchain/send" data = { "module": "proxy", "action": "access_sendRawTransaction", "hex": signed_tx, "apikey": "YourApiKeyToken" } response = requests.post(url, data=data) result = response.json() print(f"Transaction Hash: {result['result']}")
How to create a signed transaction:
const { ethers } = require('ethers'); // 1. Connect wallet const wallet = new ethers.Wallet('your_private_key'); // 2. Sign the transaction const signedTx = await wallet.signTransaction({ to: '0xRecipientAddress', value: ethers.parseEther('1.0'), chainId: 22888, gasLimit: 21000, gasPrice: ethers.parseUnits('0.00002', 'ether') }); // 3. Send via API const res = await fetch('https:///api/blockchain/send?module=proxy&action=access_sendRawTransaction&hex=' + signedTx + '&apikey=YourApiKeyToken', { method: 'POST' }); console.log(await res.json());
This endpoint requires a pre-signed transaction hex. Use ethers.js or web3.js to sign, then send the hex using the code examples above.

access_gasPrice

Returns the current price per gas in wei.

https:///api/explorer/stats?module=proxy&action=access_gasPrice&apikey=YourApiKeyToken
Tip: The result is returned in wei. For Access Network, gas price is fixed at 0.00002 ACCESS.
const apiUrl = 'https:///api/explorer/stats'; const params = new URLSearchParams({ module: 'proxy', action: 'access_gasPrice', apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`) .then(response => response.json()) .then(data => { const gasPrice = parseInt(data.result, 16); console.log('Gas Price (wei):', gasPrice); console.log('Gas Price (ACCESS):', gasPrice / 1e18); });
import requests url = "https:///api/explorer/stats" params = { "module": "proxy", "action": "access_gasPrice", "apikey": "YourApiKeyToken" } response = requests.get(url, params=params) gas_price_wei = int(response.json()['result'], 16) gas_price_access = gas_price_wei / 1e18 print(f"Gas Price: {gas_price_access} ACCESS")
{ "jsonrpc": "2.0", "id": 73, "result": "0x430e23400" }

Try it Now

Test this API endpoint with your API key

access_getTopAccounts

Returns a list of top accounts by balance with pagination support.

https:///api/explorer/top-accounts?limit=100&page=1&apikey=YourApiKeyToken
Parameter Description
limit Number of accounts to return per page (default: 100, max: 10000)
page Page number for pagination (default: 1)
{ "success": true, "data": { "accounts": [ { "rank": 1, "address": "0x0000000000000000000000000000000000000003", "balance": "100.04000000", "balanceRaw": 100.04, "percentage": "22.14903830", "txCount": 0 } ], "total": 50, "totalSupply": "451.66746576", "page": 1, "limit": 100, "totalPages": 1 } }
const apiUrl = 'https:///api/explorer/top-accounts'; const params = new URLSearchParams({ limit: 100, page: 1, apikey: 'YourApiKeyToken' }); fetch(`${apiUrl}?${params}`) .then(response => response.json()) .then(data => { console.log('Total Accounts:', data.data.total); console.log('Total Supply:', data.data.totalSupply); console.log('Top Accounts:', data.data.accounts); // Display top 10 accounts data.data.accounts.slice(0, 10).forEach(account => { console.log(`Rank ${account.rank}: ${account.address}`); console.log(`Balance: ${account.balance} ACCESS (${account.percentage}%)`); console.log(`Transactions: ${account.txCount}`); console.log('---'); }); }) .catch(error => console.error('Error:', error));
import requests url = "https:///api/explorer/top-accounts" params = { "limit": 100, "page": 1, "apikey": "YourApiKeyToken" } response = requests.get(url, params=params) data = response.json() if data['success']: accounts_data = data['data'] print(f"Total Accounts: {accounts_data['total']}") print(f"Total Supply: {accounts_data['totalSupply']} ACCESS") print(f"\nTop 10 Accounts:") for account in accounts_data['accounts'][:10]: print(f"Rank {account['rank']}: {account['address']}") print(f"Balance: {account['balance']} ACCESS ({account['percentage']}%)") print(f"Transactions: {account['txCount']}") print("---")

Try it Now

Test this API endpoint with your API key

Privacy Protection: This endpoint returns ONLY network account data (addresses and balances) to protect user privacy. No personal information (names, emails) is ever exposed through this API.
Data Sources: Account data is aggregated from multiple sources: registered users, external wallets, and Access blockchain network accounts.
Delete API Key
Are you sure you want to delete this API key? This action cannot be undone.

API Key Management

Generate and manage your API keys for accessing the Access Network API

Free Tier Limits: 50 requests/hour — To protect our resources from abuse.
Premium tiers coming soon: Basic (500/h), Standard (2000/h), Premium (10000+/h)
Abuse Protection: Maximum 5 creations and 3 deletions per 24 hours. Deleted keys are preserved for audit purposes.

API Token Management

Generate and manage your API tokens for enhanced security