The data provided by our API is organized in tables.
Each table can be queried using our Filter API or SQL API. To query a specific table you need to know it's reference. The sections below provide a list of all table references.
Filter API Reference
Name | Reference |
---|---|
Transactions | transactions |
Blocks | blocks |
Logs | logs |
ERC20 Transfers | erc20 |
ERC721 Transfers | erc721 |
DEX Trades | dex-trades |
Token Balances | token-balances |
Example
Request: https://api.syve.ai/v1/filter-api/blocks?gte:block_number=14000000&size=10&sort=desc
Here blocks
is the reference to our block data used by the Filter API.
SQL API Reference
Name | Reference |
---|---|
Transactions | eth_transactions |
Blocks | eth_blocks |
Logs | eth_logs |
ERC20 Transfers | eth_erc20 |
ERC721 Transfers | eth_erc721 |
DEX Trades | eth_dex_trades |
Token Balances | eth_token_balances |
Example
curl -X POST \
https://api.syve.ai/v1/sql \
-H 'Content-Type: application/json' \
-d '{
"query": "SELECT * from eth_transactions LIMIT 1"
}'
Here eth_transactions
is the reference to our transactions data used by the SQL API.