Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/b3-blockscout-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
description: Cached proxy layer for multiple blockchain APIs with 24-hour caching and automatic fallback across chains. Supports both Blockscout and ThirdWeb Insights APIs. Add ?mintlify parameter for Mintlify-compatible version.
version: 1.0.0
title: B3 Data API - Multi-Chain Data Blockscout API
contact:
name: B3 Team
url: https://b3.fun
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://data-api.b3.fun/
description: B3 Data API - Multi-Chain Proxy
tags:
- name: blockscout
description: General Blockscout endpoints
paths:
/blockscout/transactions:
get:
parameters:
- in: query
name: filter
schema:
type: string
example: pending | validated
- in: query
name: type
schema:
type: string
example: token_transfer,contract_creation,contract_call,coin_transfer,token_creation
- in: query
name: method
schema:
type: string
example: approve,transfer,multicall,mint,commit
summary: Get Transactions
operationId: get_txs
responses:
'200':
description: Block
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/Transaction'
next_page_params:
type: object
example:
block_number: 27170298
index: 0
items_count: 50
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/stats:
get:
summary: Get Stats Counters
operationId: get_stats
responses:
'200':
description: Stats
content:
application/json:
schema:
$ref: '#/components/schemas/StatsResponse'
tags:
- blockscout
/blockscout/addresses:
get:
summary: Get Native Coin Holders List
operationId: get_addresses
responses:
'200':
description: Token
content:
application/json:
schema:
type: object
required:
- exchange_rate
- total_supply
- items
- next_page_params
properties:
exchange_rate:
type: string
example: '0.01'
total_supply:
type: string
example: '100000000'
items:
type: array
items:
$ref: '#/components/schemas/AddressWithTxCount'
next_page_params:
type: object
example:
fetched_coin_balance: '269536604956070000000'
hash: '0xf74769d9ffe1cd17f20b283995cf9e7fa2a262ed'
items_count: 50
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}:
get:
summary: Get Address Info
operationId: get_address
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: Address
content:
application/json:
schema:
$ref: '#/components/schemas/Address'
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/counters:
get:
summary: Get Address Counters
operationId: get_address_counters
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: Address
content:
application/json:
schema:
$ref: '#/components/schemas/AddressCounters'
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/transactions:
get:
summary: Get Address Transactions
operationId: get_address_txs
parameters:
- $ref: '#/components/parameters/addressHash'
- in: query
name: filter
schema:
type: string
example: to | from
responses:
'200':
description: Address
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/Transaction'
next_page_params:
type: object
example:
block_number: 27736955
index: 4
items_count: 50
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/logs:
get:
summary: Get Address Logs
operationId: get_address_logs
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: Address
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/Log'
next_page_params:
type: object
example:
block_number: 27736955
index: 68
items_count: 50
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/coin-balance-history:
get:
summary: Get Address Coin Balance History
operationId: get_address_coin_balance_history
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: Address
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/CoinBalanceHistoryEntry'
next_page_params:
type: object
example:
block_number: 27736955
items_count: 50
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/coin-balance-history-by-day:
get:
summary: Get Address Coin Balance History by Day
operationId: get_address_coin_balance_history_by_day
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: Address
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CoinBalanceHistoryByDaysEntry'
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/withdrawals:
get:
summary: Get Address Withdrawals
operationId: get_address_withdrawals
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: pay attention that receiver field is not included to response in this endpoint
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/Withdrawal'
next_page_params:
type: object
example:
index: 1
items_count: 50
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/nft:
get:
summary: Get List of NFT Owned by Address
operationId: get_address_nft
parameters:
- $ref: '#/components/parameters/addressHash'
- in: query
name: type
schema:
type: string
example: ERC-721,ERC-404,ERC-1155
responses:
'200':
description: Address
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/AddressNFTInstance'
next_page_params:
type: object
example:
token_contract_address_hash: '0xb81afe27c103bcd42f4026cf719af6d802928765'
token_id: '1011'
token_type: ERC-721
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/addresses/{address_hash}/nft/collections:
get:
summary: Get List of NFT Owned by Address, Grouped by Collection
operationId: get_address_nft_collections
parameters:
- $ref: '#/components/parameters/addressHash'
- in: query
name: type
schema:
type: string
example: ERC-721,ERC-404,ERC-1155
responses:
'200':
description: Address
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/AddressNFTCollection'
next_page_params:
type: object
example:
token_contract_address_hash: '0xb81afe27c103bcd42f4026cf719af6d802928765'
token_type: ERC-721
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/smart-contracts:
get:
summary: Get Verified Smart Contracts
operationId: get_smart_contracts
parameters:
- in: query
name: q
schema:
type: string
example: proxy
- in: query
name: filter
schema:
type: string
example: vyper | solidity | yul
responses:
'200':
description: Smart Contract
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/SmartContractForList'
next_page_params:
type: object
example:
items_count: 50
smart_contract_id: 46
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/smart-contracts/counters:
get:
summary: Get Verified Smart Contracts Counters
operationId: get_smart_contracts_counters
responses:
'200':
description: Smart Contracts Counters
content:
application/json:
schema:
type: object
required:
- new_smart_contracts_24h
- new_verified_smart_contracts_24h
- smart_contracts
- verified_smart_contracts
properties:
new_smart_contracts_24h:
type: string
example: '12'
new_verified_smart_contracts_24h:
type: string
example: '11'
smart_contracts:
type: string
example: '20'
verified_smart_contracts:
type: string
example: '15'
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/smart-contracts/{address_hash}:
get:
summary: Get Smart Contract
operationId: get_smart_contract
parameters:
- $ref: '#/components/parameters/addressHash'
responses:
'200':
description: Smart Contract
content:
application/json:
schema:
$ref: '#/components/schemas/SmartContract'
'400':
description: Bad Input Parameter
tags:
- blockscout
/blockscout/config/json-rpc-url:
get:
summary: Get JSON RPC URL
operationId: get_json_rpc_url
responses:
'200':
description: JSON RPC URL
content:
application/json:
schema:
type: object
required:
- json_rpc_url
properties:
json_rpc_url:
type: string
example: https://core.poa.network
tags:
- blockscout
/blockscout/withdrawals:
get:
summary: Get Withdrawals
operationId: get_withdrawals
responses:
'200':
description: Withdrawals
content:
application/json:
schema:
type: object
required:
- items
- next_page_params
properties:
items:
type: array
items:
$ref: '#/components/schemas/Withdrawal'
next_page_params:
type: object
example:
index: 1
items_count: 50
tags:
- blockscout
/blockscout/proxy/account-abstraction/status:
get:
summary: Get Account Abstraction Indexing Status
operationId: get_account_abstraction_status
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1IndexerStatus'
'500':
description: Unexpected Error
tags:
- blockscout
/blockscout/api/v1/celestia/blob:
get:
operationId: CelestiaService_GetBlob
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1CelestiaBlob'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/rpcStatus'
parameters:
- name: height
in: query
required: false
schema:
type: string
format: uint64
- name: commitment
in: query
required: false
schema:
type: string
- name: skipData
in: query
required: false
schema:
type: boolean
tags:
- blockscout
summary: Celestia service get blob
x-summary-source: derived
/blockscout/api/v1/celestia/l2BatchMetadata:
get:
operationId: CelestiaService_GetL2BatchMetadata
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1CelestiaL2BatchMetadata'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/rpcStatus'
parameters:
- name: height
in: query
required: false
schema:
type: string
format: uint64
- name: namespace
in: query
required: false
schema:
type: string
- name: commitment
in: query
required: false
schema:
type: string
tags:
- blockscout
summary: Celestia service get L2 batch metadata
x-summary-source: derived
/blockscout/health:
get:
summary: If the requested service is unknown, the call will fail with status NOT_FOUND
operationId: Health_Check
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1HealthCheckResponse'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/rpcStatus'
parameters:
- name: service
in: query
required: false
schema:
type: string
tags:
- blockscout
components:
schemas:
SmartContractForList:
required:
- address
- coin_balance
- compiler_version
- has_constructor_args
- language
- optimization_enabled
- verified_at
properties:
address:
$ref: '#/components/schemas/AddressParam'
coin_balance:
type: string
example: '10000'
compiler_version:
type: string
example: v0.5.10+commit.5a6ea5b1
language:
type: string
example: vyper | yul | solidity
has_constructor_args:
type: boolean
optimization_enabled:
type: boolean
transaction_count:
type: integer
verified_at:
type: string
example: '2022-03-05T11:40:29.087000Z'
market_cap:
type: number
example: 1000000000.0001
DecodedInputLog:
type: object
required:
- method_call
- method_id
- parameters
properties:
method_call:
type: string
example: transferFrom(address _from, address _to, uint256 _value)
method_id:
type: string
example: 23b872dd
parameters:
type: array
items:
$ref: '#/components/schemas/DecodedInputLogParameter'
TransactionAction:
oneOf:
- $ref: '#/components/schemas/TransactionActionAaveV3LiquidationCall'
- $ref: '#/components/schemas/TransactionActionAaveV3BSWRF'
- $ref: '#/components/schemas/TransactionActionAaveV3EnableDisableCollateral'
- $ref: '#/components/schemas/TransactionActionUniswapV3MintNFT'
- $ref: '#/components/schemas/TransactionActionUniswapV3BCS'
ExternalLibrary:
required:
- name
- address_hash
properties:
name:
type: string
example: MathLib
address_hash:
type: string
example: '0xF61f5c4a3664501F499A9289AaEe76a709CE536e'
ConstructorArguments:
type: object
example:
- '0x2a3885b3f0c98f3e36334d4fa7beda53cb0ae095'
- internalType: address
name: _logic
type: address
TransactionActionAaveV3BSWRF:
required:
- data
- protocol
- type
properties:
data:
type: object
example:
amount: '1.289548595490270429'
symbol: AAVE
address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9'
block_number: 1
protocol:
type: string
example: aave_v3
type:
type: string
example: borrow | supply | withdraw | repay | flash_loan
TokenTransfer:
type: object
required:
- block_hash
- from
- log_index
- to
- token
- total
- transaction_hash
- type
properties:
block_hash:
type: string
example: '0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a'
from:
$ref: '#/components/schemas/AddressParam'
log_index:
type: integer
example: 16
method:
type: string
example: transfer
timestamp:
type: string
example: '2023-07-03T20:09:59.000000Z'
to:
$ref: '#/components/schemas/AddressParam'
token:
$ref: '#/components/schemas/TokenInfo'
total:
oneOf:
- $ref: '#/components/schemas/TotalERC20'
- $ref: '#/components/schemas/TotalERC721'
- $ref: '#/components/schemas/TotalERC1155'
transaction_hash:
type: string
example: '0x6662ad1ad2ea899e9e27832dc202fd2ef915a5d2816c1142e6933cff93f7c592'
type:
type: string
example: token_transfer
v1CelestiaBlob:
type: object
properties:
height:
type: string
format: uint64
namespace:
type: string
commitment:
type: string
timestamp:
type: string
format: uint64
size:
type: string
format: uint64
data:
type: string
v1CelestiaL2BatchMetadata:
type: object
properties:
l2ChainId:
type: integer
format: int64
l2BatchId:
type: string
l2StartBlock:
type: string
format: uint64
l2EndBlock:
type: string
format: uint64
l2BatchTxCount:
type: integer
format: int64
l2BlockscoutUrl:
type: string
l1TxHash:
type: string
l1TxTimestamp:
type: string
format: uint64
l1ChainId:
type: integer
format: int64
relatedBlobs:
type: array
items:
type: object
$ref: '#/components/schemas/v1CelestiaBlobId'
Fee:
type: object
required:
- type
- value
properties:
type:
type: string
example: maximum | actual
value:
type: string
example: '9853224000000000'
NFTInstance:
required:
- is_unique
- id
- token
- owner
properties:
is_unique:
type: boolean
id:
type: string
example: '431'
holder_address_hash:
type: string
example: '0x394c399dbA25B99Ab7708EdB505d755B3aa29997'
image_url:
type: string
example: example.com/picture.png
animation_url:
type: string
example: example.com/video.mp4
external_app_url:
type: string
example: d-app.com
metadata:
type: object
example:
year: 2023
tags:
- poap
- event
name: 'Social Listening Committee #2 Attendees'
image_url: https://assets.poap.xyz/chanel-poap-4c-2023-logo-1675083420470.png
home_url: https://app.poap.xyz/token/6292128
external_url: https://api.poap.tech/metadata/99010/6292128
description: This is the POAP for attendees of the second Social Listening Committee.
attributes:
- value: 01-Feb-2023
trait_type: startDate
- value: 01-Feb-2023
trait_type: endDate
- value: 'false'
trait_type: virtualEvent
- value: Paris
trait_type: city
- value: France
trait_type: country
- value: https://www.chanel.com
trait_type: eventURL
owner:
$ref: '#/components/schemas/AddressParam'
token:
$ref: '#/components/schemas/TokenInfo'
WatchlistName:
type: object
required:
- display_name
- label
properties:
display_name:
type: string
example: name to show
label:
type: string
example: label
AddressTag:
type: object
required:
- address_hash
- display_name
- label
properties:
address_hash:
type: string
example: '0xEb533ee5687044E622C69c58B1B12329F56eD9ad'
display_name:
type: string
example: name to show
label:
type: string
example: label
TotalERC1155:
required:
- token_id
- decimals
- value
properties:
token_id:
type: string
example: '1'
decimals:
type: string
example: null
value:
type: string
example: '1000'
token_instance:
$ref: '#/components/schemas/NFTInstance'
Address:
type: object
required:
- hash
properties:
creator_address_hash:
type: string
example: '0xEb533ee5687044E622C69c58B1B12329F56eD9ad'
creation_transaction_hash:
type: string
example: '0x1f610ff9c1efad6b5a8bb6afcc0786cd7343f03f9a61e2544fcff908cedee924'
token:
$ref: '#/components/schemas/TokenInfo'
coin_balance:
type: string
example: '10000000'
exchange_rate:
type: string
example: '1.01'
implementation_address:
type: string
example: '0xEb533ee5687044E622C69c58B1B12329F56eD9ad'
block_number_balance_updated_at:
type: integer
example: 27656552
hash:
type: string
example: '0xEb533ee5687044E622C69c58B1B12329F56eD9ad'
implementation_name:
type: string
example: implementationName
name:
type: string
example: contractName
is_contract:
type: boolean
private_tags:
type: array
items:
$ref: '#/components/schemas/AddressTag'
watchlist_names:
type: array
items:
$ref: '#/components/schemas/WatchlistName'
public_tags:
type: array
items:
$ref: '#/components/schemas/AddressTag'
is_verified:
type: boolean
has_beacon_chain_withdrawals:
type: boolean
has_logs:
type: boolean
has_token_transfers:
type: boolean
has_tokens:
type: boolean
has_validated_blocks:
type: boolean
CoinBalanceHistoryByDaysEntry:
type: object
required:
- date
- value
properties:
date:
type: string
example: '2022-08-02'
value:
type: number
example: '100232323'
Transaction:
type: object
required:
- timestamp
- fee
- gas_limit
- block_number
- status
- method
- confirmations
- type
- exchange_rate
- to
- transaction_burnt_fee
- max_fee_per_gas
- result
- hash
- gas_price
- priority_fee
- base_fee_per_gas
- from
- token_transfers
- transaction_types
- gas_used
- created_contract
- position
- nonce
- has_error_in_internal_transactions
- actions
- decoded_input
- token_transfers_overflow
- raw_input
- value
- max_priority_fee_per_gas
- revert_reason
- confirmation_duration
- transaction_tag
properties:
timestamp:
type: string
example: '2022-08-02T07:18:05.000000Z'
fee:
$ref: '#/components/schemas/Fee'
gas_limit:
type: integer
block_number:
type: integer
format: int32
example: 23484035
status:
type: string
example: ok | error
method:
type: string
example: transferFrom
confirmations:
type: integer
example: 1035
type:
type: integer
example: 2
exchange_rate:
type: string
example: '1866.51'
to:
nullable: true,
$ref: '#/components/schemas/AddressParam'
transaction_burnt_fee:
type: string
example: '1099596081903840'
max_fee_per_gas:
type: string
example: '55357460102'
result:
type: string
example: 'Error: (Awaiting internal transactions for reason)'
hash:
type: string
example: '0x5d90a9da2b8da402b11bc92c8011ec8a62a2d59da5c7ac4ae0f73ec51bb73368'
gas_price:
type: string
example: '26668595172'
priority_fee:
type: string
example: '2056916056308'
base_fee_per_gas:
type: string
example: '26618801760'
from:
$ref: '#/components/schemas/AddressParam'
token_transfers:
type: array
items:
$ref: '#/components/schemas/TokenTransfer'
transaction_types:
type: array
items:
type: string
example:
- token_transfer
- contract_creation
- contract_call
- token_creation
- coin_transfer
gas_used:
type: string
example: '41309'
created_contract:
nullable: true,
$ref: '#/components/schemas/AddressParam'
position:
type: integer
example: 117
nonce:
type: integer
example: 115
has_error_in_internal_transactions:
type: boolean
example: false
actions:
type: array
items:
$ref: '#/components/schemas/TransactionAction'
decoded_input:
$ref: '#/components/schemas/DecodedInput'
token_transfers_overflow:
type: boolean
example: false
raw_input:
type: string
example: '0xa9059cbb000000000000000000000000ef8801eaf234ff82801821ffe2d78d60a0237f97000000000000000000000000000000000000000000000000000000003178cb80'
value:
type: string
example: '0'
max_priority_fee_per_gas:
type: string
example: '49793412'
revert_reason:
type: string
example: 'Error: (Awaiting internal transactions for reason)'
confirmation_duration:
type: object
example:
- 0
- 17479
transaction_tag:
type: string
example: private_transaction_tag
StatsResponse:
required:
- total_blocks
- total_addresses
- total_transactions
- average_block_time
- coin_price
- total_gas_used
- transactions_today
- gas_used_today
- gas_prices
- static_gas_price
- market_cap
- network_utilization_percentage
properties:
total_blocks:
type: string
example: '508700'
total_addresses:
type: string
example: '982340'
total_transactions:
type: string
example: '1699427'
average_block_time:
type: number
example: 25000
coin_price:
type: string
example: '0.00254957'
total_gas_used:
type: string
example: '0'
transactions_today:
type: string
example: '622'
gas_used_today:
type: string
example: '49063630'
gas_prices:
type: object
example:
# --- truncated at 32 KB (52 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/b3/refs/heads/main/openapi/b3-blockscout-api-openapi.yml