For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

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.

Get Historical (Time-Travel) Transaction Lookup Data

post

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.

Authorizations
apikeystringRequired

API key for authentication

Body

Request model for the profiler historical transaction lookup endpoint.

chainstring · enumRequired

Blockchain chain for the historical transaction lookup

Example: ethereumPossible values:
transaction_hashstringRequired

Transaction hash to lookup (0x-prefixed, 66 chars)

Example: 0x13c97b56d431cb0de39086ab493530068d01acf227d80c00d447b577ae2e9db4
as_of_datestring · dateRequired

Reference 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.

Example: 2025-06-15
block_timestampany ofOptional

Optional 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.

Example: 2025-01-15 00:00:11
stringOptional
apply_blacklist_filterbooleanOptional

When True, exclude blacklisted addresses from the results. Defaults to True.

Default: trueExample: true
Responses
200

Historical transaction lookup data with temporally-correct labels and dual pricing

application/json
post/api/v1/profiler/historical-transaction-lookup
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?