curl -X POST "https://api.blockdb.io/v1/evm/arb/opportunities" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 21000000,
"to_block": 21001000,
"limit": 25
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 21000000,
"to_block": 21001000,
"from_timestamp": null,
"to_timestamp": null
},
"resolved_window": {
"from_block": 21000000,
"to_block": 21001000,
"from_timestamp": null,
"to_timestamp": null
},
"filters": {
"path_ids": [],
"limit": 25,
"cursor": null
}
},
"data": [
{
"block_number": 21000500,
"block_time": "2025-11-11T12:00:00Z",
"tx_index": 8,
"log_index": 4,
"path_id": "a1b2c3d4e5f6789012345678901234567890abcd1234567890abcdef12345678",
"is_reversed": false,
"pool_uids": [
"88e6a0c2ddd26feeb64f039a2c41296fcb3f5640000000000000000000000000",
"11b815acc87f6f89741a636d1ebfcea40876f8f0000000000000000000000000"
],
"token_path": [
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
],
"amounts": [
"1000000000000000000",
"3500000000",
"1000500000000000000"
],
"profit_in_tokens": "50000000000000000",
"token_vwap_usd": "3200.50",
"profit_in_usd": "160.025",
"_tracing_id": "0901c0ffee000000000000000000000000000000000000000000000000000001",
"_parent_tracing_ids": [
"0801c0ffee000000000000000000000000000000000000000000000000000001"
],
"_created_at": "2025-11-11T12:00:05Z",
"_updated_at": "2025-11-11T12:00:05Z"
}
],
"cursor": null,
"page_count": 1
}
Arbitrage
Arbitrage Opportunities
Query arbitrage opportunity snapshots (dataset 0901): per-hop amounts, token profit, and USD profit.
POST
/
v1
/
evm
/
arb
/
opportunities
curl -X POST "https://api.blockdb.io/v1/evm/arb/opportunities" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 21000000,
"to_block": 21001000,
"limit": 25
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 21000000,
"to_block": 21001000,
"from_timestamp": null,
"to_timestamp": null
},
"resolved_window": {
"from_block": 21000000,
"to_block": 21001000,
"from_timestamp": null,
"to_timestamp": null
},
"filters": {
"path_ids": [],
"limit": 25,
"cursor": null
}
},
"data": [
{
"block_number": 21000500,
"block_time": "2025-11-11T12:00:00Z",
"tx_index": 8,
"log_index": 4,
"path_id": "a1b2c3d4e5f6789012345678901234567890abcd1234567890abcdef12345678",
"is_reversed": false,
"pool_uids": [
"88e6a0c2ddd26feeb64f039a2c41296fcb3f5640000000000000000000000000",
"11b815acc87f6f89741a636d1ebfcea40876f8f0000000000000000000000000"
],
"token_path": [
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
],
"amounts": [
"1000000000000000000",
"3500000000",
"1000500000000000000"
],
"profit_in_tokens": "50000000000000000",
"token_vwap_usd": "3200.50",
"profit_in_usd": "160.025",
"_tracing_id": "0901c0ffee000000000000000000000000000000000000000000000000000001",
"_parent_tracing_ids": [
"0801c0ffee000000000000000000000000000000000000000000000000000001"
],
"_created_at": "2025-11-11T12:00:05Z",
"_updated_at": "2025-11-11T12:00:05Z"
}
],
"cursor": null,
"page_count": 1
}
Not available on the public API yet: This endpoint is scheduled to become available by the end of May 2026. Until then, calls may fail (for example with
404, 403, or 501). For early access or contract timelines, contact support@blockdb.io.Overview
- Dataset ID:
0901 - Arbitrage Opportunities - Description: Opportunities computed for active paths at a specific
(block_number, tx_index, log_index); ties topath_idandis_reversed. - CSV Sample: Download
- JSON Sample: Download
Parameters
Range filters (mutually exclusive)
Starting block number (inclusive). Use with
to_block.Ending block number (inclusive). Use with
from_block.Starting timestamp (ISO-8601). Use with
to_timestamp.Ending timestamp (ISO-8601). Use with
from_timestamp.Validation rule:
Provide either a block range or a time range or filter by
Do not mix block and timestamp ranges in one request.
Provide either a block range or a time range or filter by
path_ids.Do not mix block and timestamp ranges in one request.
Direct selectors
Filter by 32-byte
path_id values (hex, no 0x prefix).Pagination
Recommended default
250; maximum 1000 to stay under ~10 MB responses.Opaque pagination cursor from a previous response.
Response fields
Meta
Echo of request metadata applied to the response.
EVM chain ID echoed from the request.
Pure echo of the window you sent (
from_block/to_block/from_timestamp/to_timestamp); unset bounds are null.The concrete window the query actually executed against, after resolving the request. For a block range on a time-bucketed endpoint (OHLC/VWAP/VWAP-aggregate/fiat VWAP),
from_timestamp/to_timestamp hold the resolved timestamp window (and from_block/to_block echo your request). For a time range on a block-keyed endpoint, from_block/to_block hold the resolved block range (and the timestamps echo your request). null for selector-only requests (no window). No extra database work is done — these are the values the query already computed.Resolved/echoed start block of the executed window.
Resolved/echoed end block of the executed window.
Resolved/echoed start timestamp (ISO-8601) of the executed window.
Resolved/echoed end timestamp (ISO-8601) of the executed window.
Echo of
path_ids, pagination, etc.Data
Opportunity records matching the request.
Observation block.
UTC timestamp of the observation.
Transaction index within the block.
Log index within the transaction.
32-byte path id (hex, no
0x).true if the path was evaluated in the reversed direction.Pool UIDs in evaluated (directional) order (hex).
Token addresses in evaluated order (hex).
Per-hop amounts as decimal strings, aligned with
token_path.Estimated profit in
token_path[0] units.USD price of
token_path[0].Estimated profit in USD.
Row tracing id (hex, no
0x).Parent tracing ids.
Record creation timestamp (ISO-8601).
Last update timestamp (ISO-8601).
Envelope
Pagination cursor.
Number of rows in
data.curl -X POST "https://api.blockdb.io/v1/evm/arb/opportunities" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 21000000,
"to_block": 21001000,
"limit": 25
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 21000000,
"to_block": 21001000,
"from_timestamp": null,
"to_timestamp": null
},
"resolved_window": {
"from_block": 21000000,
"to_block": 21001000,
"from_timestamp": null,
"to_timestamp": null
},
"filters": {
"path_ids": [],
"limit": 25,
"cursor": null
}
},
"data": [
{
"block_number": 21000500,
"block_time": "2025-11-11T12:00:00Z",
"tx_index": 8,
"log_index": 4,
"path_id": "a1b2c3d4e5f6789012345678901234567890abcd1234567890abcdef12345678",
"is_reversed": false,
"pool_uids": [
"88e6a0c2ddd26feeb64f039a2c41296fcb3f5640000000000000000000000000",
"11b815acc87f6f89741a636d1ebfcea40876f8f0000000000000000000000000"
],
"token_path": [
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
],
"amounts": [
"1000000000000000000",
"3500000000",
"1000500000000000000"
],
"profit_in_tokens": "50000000000000000",
"token_vwap_usd": "3200.50",
"profit_in_usd": "160.025",
"_tracing_id": "0901c0ffee000000000000000000000000000000000000000000000000000001",
"_parent_tracing_ids": [
"0801c0ffee000000000000000000000000000000000000000000000000000001"
],
"_created_at": "2025-11-11T12:00:05Z",
"_updated_at": "2025-11-11T12:00:05Z"
}
],
"cursor": null,
"page_count": 1
}
Last modified on May 29, 2026
Was this page helpful?
⌘I