Generates a transaction graph for any Ethereum address, showing ERC-20 token transfer relationships as nodes and edges. The graph is a tripartite structure: wallets connect to tokens, which connect to other wallets.
Transfers are cached for 10 minutes. First requests typically take 2-5 seconds; cached responses return in under 100ms. The sanctions match is made on every request, so a newly designated wallet is flagged as soon as the hourly OFAC ingestion stores it.
Authentication
This endpoint supports two authentication methods:
Method
Header
Cost
API Token
Authorization: Bearer YOUR_API_KEY
3 Cred Units
x402 Payment
X-PAYMENT: <signed_payment>
$0.03 USDC
x402 payments allow instant, accountless access. Pay per request with USDC on Base - no signup required.
Try it live →
Path Parameters
string
required
Ethereum address or ENS name (e.g., vitalik.eth or 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)
Query Parameters
integer
default:"1"
Chain ID of the blockchain network to analyze. Defaults to Ethereum Mainnet.
Supported Networks
Chain
Chain ID
Ethereum Mainnet
1
Optimism
10
Binance Smart Chain
56
Polygon
137
Base
8453
Arbitrum
42161
Avalanche
43114
Linea
59144
Robinhood Chain
4663
Response
string
The resolved Ethereum address (checksummed)
integer
The chain ID that was queried
string
Human-readable name of the blockchain network
integer
Total number of ERC-20 token transfers found for this address on the specified chain
integer
How many wallet nodes (the queried address included) are on an OFAC sanctions list
array
Array of graph nodes representing wallets and tokens.
Show Node properties
string
Unique identifier — wallet address or token symbol
string
Display label for the node
string
Node type: wallet or token
boolean
true when the wallet is on the OFAC SDN or Consolidated list. Always false for token nodes.
array
The matching list entries, in the same shape as the screening endpoint’smatches (source, entity_name, programs, source_url, …). Empty unless sanctioned is true.
array
Array of graph edges representing token transfer relationships.
Show Edge properties
string
Source node ID
string
Target node ID
string
Transfer direction: SENT or RECEIVED
Graph Structure
The graph uses a tripartite structure to represent token transfers:
Wallet A --SENT--> TOKEN --RECEIVED--> Wallet B
Wallet nodes represent Ethereum addresses involved in transfers
Token nodes represent ERC-20 tokens that were transferred
Edges connect wallets to tokens with a direction (SENT or RECEIVED)
This structure makes it easy to identify which tokens flow between which counterparties.
Sanctioned wallets
Every wallet node is screened against the OFAC SDN and Consolidated lists, the same lists behind the sanctions screening endpoint. A listed wallet carries sanctioned: true and its list entries, so a graph visualisation can highlight it and a compliance check can tell at a glance whether the queried address has transacted with a designated party. For a one-hop risk summary across chains without the graph, use sanctions exposure.
curl -X GET "https://api.credprotocol.com/api/v2/graph/address/vitalik.eth?chain_id=1" \ -H "Authorization: Bearer YOUR_API_KEY"