GET /api/transactions
Changed onGet transactions. At least end_user_id, heron_id or request_id must be provided.
Request
- Base URLhttps://app.herondata.io
- URLhttps://app.herondata.io/api/transactions
- AuthAPI key in header x-api-key
Query parameters
Deprecated; see created_date_ or timestamp_date_
Deprecated; see created_date_ or timestamp_date_
Filter by earliest transaction upload date - when Heron received the transaction
Filter by latest transaction upload date - when Heron received the transaction
Filter for transactions whose values were last updated in Heron systems after the specified input value
Filter for transactions whose values were last updated in Heron systems before the specified input value
Filter by earliest transaction timestamp
Filter by latest transaction timestamp
Filter by the heron_id of the category that the transaction is annotated with
Request-Id header returned in the response of POST transactions. Sending this parameter will return all transactions sent in a particular POST request, including any duplicates.
Reference Id of transaction
Heron generated Id of transaction
Filter to a specific set of transactions by Heron ID, e.g. the transactions an attribute cites
End user id of transaction
Whether or not to include duplicate transactions in the response. Defaults to false unless request_id is provided, in which case it defaults to true.
Filter by transaction code
Filter by whether the transaction is recurring
Filter by the recorded payment-processing flag. False includes transactions not yet evaluated.
Filter by whether the transaction has a matching transaction
Filter by keyword match on transaction description; case insensitive
Filter by keyword match on transaction counterparty; case insensitive
Filter by regex matching transaction description
Filter by minimum amount of transaction
Filter by maximum amount of transaction
Filter by minimum running balance
Filter by maximum running balance
Filter by minimum confidence of annotation associated with transaction
Filter by maximum confidence of annotation associated with transaction
Filter by merchant group id
Filter by merchant heron id
Filter by data source Heron ID
Filter by keyword match on merchant name; case insensitive
Filter by whether the transaction has a merchant entity associated with it
What to order transactions by
Page of transaction to return
Number of transactions to return per page
Account ids to include. If not provided, all accounts are included
[ "1234" ]
Response
OK
Example response
{
"transactions": [
{
"account_id": "checking_account_202348",
"account_number": "1234567890",
"amount": -42.42,
"balance": 423,
"categories": [
{
"annotator": "predicted",
"confidence": 0.5,
"heron_id": "ctg_fSjC3oqLGbPX7rRLvqRgn9",
"label": "Rent",
"model_version": "6a921325-76fb-4dcf-8a3d-062984b937f9"
}
],
"counterparty": "GOOGLE",
"created": "2026-11-03T15:16:37.457183",
"currency": "USD",
"data_source_account_heron_id": "dsa_nyKpgb6VuMgZoDbqq3iWjo",
"data_source_heron_id": "dso_mjLrdRNvZjLv4pnoTpaS42",
"description": "GOOGLE *ADS12340929 cc@google.com US",
"description_clean": "GOOGLE ADS",
"duplicate_of_id": "txn_nMHguAp6nqtBNUXA2b47tg",
"end_user_id": "my_best_customer_203948",
"file_class": "bank_statement",
"heron_id": "txn_MAQAVNGKMg6bWhDWRdwfFj",
"last_updated": "2026-11-03T15:16:37.457204",
"merchant": {
"categories": [
{
"code": "7311",
"description": "Advertising services",
"slug": "advertising_services"
}
],
"heron_id": "mrc_irammkhfKGGy9WBesbp4sk"
},
"payment_processor": {
"heron_id": "mrc_nRYdGU7nYuevb7qem65cEb",
"icon_url": "https://storage.googleapis.com/heron-merchant-assets/icons/mrc_nRYdGU7nYuevb7qem65cEb.svg",
"logo_url": "https://storage.googleapis.com/heron-merchant-assets/logos/mrc_nRYdGU7nYuevb7qem65cEb.svg",
"name": "Paypal",
"url": "https://www.paypal.com"
},
"reference_id": "my_favourite_transaction_231098",
"request_id": "req_Gncyxk6tRdsWH7vQRiEutj",
"timestamp": "2021-11-12T10:38:05Z",
"transaction_code": "card"
}
]
}Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - warning
added the new
debt.collections.mcaenum value to the///////response property for the response status - info
added the new optional
queryrequest parameterdata_source_heron_id - info
added the new optional
queryrequest parameterheron_ids - info
added the new optional
queryrequest parameteris_payment_processing - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking