GET
/
api
/
transactions
cURL
curl --request GET \
  --url https://app.herondata.io/api/transactions \
  --header 'x-api-key: <api-key>'
{
  "_meta": {
    "next_url": "<string>",
    "page": 123,
    "pages": 123,
    "per_page": 123,
    "prev_url": "<string>"
  },
  "_summary": {
    "returned_transactions": 123,
    "transactions": 123
  },
  "transactions": [
    {
      "account_id": "checking_account_202348",
      "account_number": "1234567890",
      "amount": -42.42,
      "balance": 423,
      "categories": [
        {
          "annotator": "predicted",
          "confidence": 0.5,
          "heron_id": "ctg_mEPUQx6PxGiJZr6jciMgeR",
          "label": "Rent",
          "model_version": "9b0e3191-4718-4c3e-b3a5-3f1496d88c0b"
        }
      ],
      "created": "2025-08-01T13:14:51.529392",
      "currency": "USD",
      "data_source_account_heron_id": "dsa_TfXn74iLLdLWQ5zEJxYujZ",
      "data_source_heron_id": "dso_AetzfDLHYk6LLhm6dodXDm",
      "description": "GOOGLE *ADS12340929 [email protected] US",
      "description_clean": "GOOGLE ADS",
      "duplicate_of_id": "<any>",
      "end_user_id": "my_best_customer_203948",
      "has_matching_transaction": true,
      "heron_id": "txn_DqLYoKiJZ4WmHEkcQdvYon",
      "is_potential_duplicate": true,
      "is_recurring": true,
      "last_updated": "2025-08-01T13:14:51.529409",
      "merchant": {
        "categories": [
          {
            "code": "7311",
            "description": "Advertising services",
            "slug": "advertising_services"
          }
        ],
        "group_id": "Uber",
        "heron_id": "mrc_Vage6LSQjZZBh8fjUkXPWk",
        "icon_url": "<string>",
        "is_priority": true,
        "logo_url": "<string>",
        "name": "<string>",
        "url": "<string>"
      },
      "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_a4A4SuD8Q34wY78yHa7Q8W",
      "timestamp": "2021-11-12T10:38:05Z",
      "transaction_code": "card"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Query Parameters

min_amount
number

Filter by minimum amount of transaction

limit
integer
default:1000

Number of transactions to return per page

Required range: 1 <= x <= 10000
timestamp_date_min
string<date>

Filter by earliest transaction timestamp

Example:

"2020-04-27"

last_updated_max
string<date-time>

Filter for transactions whose values were last updated in Heron systems before the specified input value

Example:

"2025-08-01T13:14:51.529742"

max_amount
number

Filter by maximum amount of transaction

confidence_min
number

Filter by minimum confidence of annotation associated with transaction

Required range: 0 <= x <= 1
end_user_id
string

End user id of transaction

timestamp_date_max
string<date>

Filter by latest transaction timestamp

Example:

"2020-04-27"

include_duplicates
boolean

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.

heron_id
string

Heron generated Id of transaction

Example:

"txn_bFLzkScXWLvcNfqWsJQsv6"

order_by
enum<string>
default:id_asc

What to order transactions by

Available options:
amount_asc,
amount_desc,
abs_amount_asc,
abs_amount_desc,
description_asc,
description_desc,
timestamp_asc,
timestamp_desc,
id_asc,
id_desc,
confidence_asc,
confidence_desc,
created_asc,
created_desc
merchant_group_id
string

Filter by merchant group id

reference_id
string

Reference Id of transaction

has_matching_transaction
boolean

Filter by whether the transaction has a matching transaction

transaction_code
string

Filter by transaction code

description_keyword
string

Filter by keyword match on transaction description; case insensitive

account_ids
string[] | null

Account ids to include. If not provided, all accounts are included

created_date_max
string<date>

Filter by latest transaction upload date - when Heron received the transaction

Example:

"2020-04-27"

created_date_min
string<date>

Filter by earliest transaction upload date - when Heron received the transaction

Example:

"2020-04-27"

last_updated_min
string<date-time>

Filter for transactions whose values were last updated in Heron systems after the specified input value

Example:

"2025-08-01T13:14:51.529728"

confidence_max
number

Filter by maximum confidence of annotation associated with transaction

Required range: 0 <= x <= 1
page
integer
default:1

Page of transaction to return

Required range: x >= 1
is_recurring
boolean

Filter by whether the transaction is recurring

category_heron_id
string[] | null

Filter by the heron_id of the category that the transaction is annotated with

Example:

"ctg_Nn2YB7hoppemqfJcb87xk6"

merchant_heron_id
string

Filter by merchant heron id

from_date
string<date>

Deprecated; see created_date_ or timestamp_date_

request_id
string

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.

to_date
string<date>

Deprecated; see created_date_ or timestamp_date_

description_regex
string

Filter by regex matching transaction description

has_merchant
boolean | null

Filter by whether the transaction has a merchant entity associated with it

Response

200
application/json

OK

The response is of type object.