PublicAML
POST

/v1/transactions

Transactions between two addresses. Direct edges on EVM chains, shared-transaction traversal on BTC.

Answers the direct question "did A ever pay B". On EVM chains this reads the direct edges between the two addresses, native and token. On Bitcoin the model is different: the graph is bipartite through transactions rather than address to address, so the traversal goes through shared transactions and an economic hop there is two hops in the graph.

Request

curl -X POST https://intelapi.publicaml.org/v1/transactions \
  -H 'Content-Type: application/json' \
  -d '{
  "from": "0x…",
  "to": "0x…",
  "chain": "BSC",
  "limit": 50
}'

Response

{
  "from": "0x08723392ed15743cc38513c4925f5e6be5c17243",
  "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "chain": "ETH",
  "count": 0,
  "limit": 5,
  "offset": 0,
  "transactions": []
}

Response fields

FieldTypeMeaning
countnumberRows returned in this page.
transactions[]arrayTransaction hash, block number, timestamp, token, amount and direction.
offsetnumberPaging offset echoed back.

Things that catch people out

Try it

The interactive console runs this endpoint against live data from the browser, with no key and no signup.

Open the sandbox at intelapi.publicaml.org

Other endpoints