Historical transaction lookup
The stable endpoint is /api/v1/profiler/historical-transaction-lookup. Its beta alias is deprecated from October 15, 2026 and is scheduled for removal on January 13, 2027. Migration guide. Request bodies, response fields, and pricing are unchanged.
Returns transaction details with labels resolved at as_of_date and prices for both the transaction date and the reference date. Supply the optional block_timestamp to help return results faster.
Time-travel-aware variant of /transaction-with-token-transfer-lookup.
Returns transaction details (sender/receiver, native value, token transfers) with temporally-correct labels and dual pricing (dated price at the transaction's block_timestamp + as-of-date price). Labels are resolved at as_of_date to avoid forward-looking bias; entity labels are available from 2025-03-11 onward.
Supply the optional block_timestamp to help return results faster.
API key for authentication
Request model for the profiler historical transaction lookup endpoint.
Blockchain chain for the historical transaction lookup
ethereumPossible values: Transaction hash to lookup (0x-prefixed, 66 chars)
0x13c97b56d431cb0de39086ab493530068d01acf227d80c00d447b577ae2e9db4Reference date for temporal label resolution and as-of-date pricing. Must be on/after the transaction's block_timestamp. Entity labels are available from 2025-03-11 onward.
2025-06-15Optional block timestamp in 'YYYY-MM-DD HH:MM:SS' format (UTC). ISO 8601 forms such as '2025-01-15T00:00:11Z' are also accepted; a time with an offset is converted to UTC. When provided, helps return results faster. Strongly recommended.
2025-01-15 00:00:11When True, exclude blacklisted addresses from the results. Defaults to True.
trueExample: trueHistorical transaction lookup data with temporally-correct labels and dual pricing
Bad Request
Unauthorized
Payment Required
Forbidden
Not Found
Unprocessable Content
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
POST /api/v1/profiler/historical-transaction-lookup HTTP/1.1
Host: api.nansen.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"chain": "ethereum",
"transaction_hash": "0x13c97b56d431cb0de39086ab493530068d01acf227d80c00d447b577ae2e9db4",
"as_of_date": "2025-06-15",
"block_timestamp": "2025-01-15 00:00:11",
"apply_blacklist_filter": true
}{
"data": [
{
"chain": "text",
"transaction_hash": "text",
"from_address": "text",
"from_address_label": "text",
"to_address": "text",
"to_address_label": "text",
"native_value": 1,
"dated_native_price": 1,
"dated_native_value_usd": 1,
"as_of_date_native_price": 1,
"as_of_date_native_value_usd": 1,
"receipt_status": 1,
"block_timestamp": "text",
"as_of_date": "text",
"method": "text",
"token_transfer_array": [
{
"from_address": "text",
"from_address_label": "text",
"to_address": "text",
"to_address_label": "text",
"token_address": "text",
"token_symbol": "text",
"token_amount": 1,
"dated_price_usd": 1,
"dated_value_usd": 1,
"as_of_date_price_usd": 1,
"as_of_date_value_usd": 1,
"transfer_id": "text"
}
]
}
]
}Last updated
Was this helpful?