Skip to main content

List transactions

Read your account’s transactions. The response is an object with data and cursor, not a bare array. Use a bounded period.

See the Quick Start, authentication and error handling.

GET /api/v1/transactions?env=prod&order_by=started&limit=30
x-api-key: YOUR_API_KEY

Filters​

FilterMeaning
started_from / updated_fromStart of time range (ISO 8601)
started_to / updated_toEnd of time range (ISO 8601)
typeFilter by type
statusFilter by status
txidExact external operation string
order_bystarted or updated
limitPage size: 1–500, default 100
envprod (default). Preserve this value when opening and confirming the request.
cursorTimestamp returned as cursor_value
{
"data": [
{
"id": "c033ceaa-3726-4479-8be3-c9af8a0b2336",
"txid": "example-order-001",
"type": "payment",
"status": "charged",
"amount": "1000000",
"currency": "USDT",
"env": "prod",
"started": "2026-10-01T10:00:00Z"
}
],
"cursor": {
"cursor_field": "started",
"cursor_value": "2026-10-01T10:00:00Z"
}
}

Next page​

Pass the returned cursor.cursor_value as the query string cursor, not the whole cursor object. Keep the same filters and order_by. For order_by=updated, cursor_field can be updated_at. Stop when data is empty or no advancing cursor is returned. Reconcile by transaction id when records change during traversal.

curl --get 'https://app.heth.me/api/v1/transactions' \
--header "x-api-key: $HETH_API_KEY" \
--data-urlencode 'env=prod' \
--data-urlencode 'order_by=started' \
--data-urlencode 'limit=30' \
--data-urlencode 'cursor=2026-10-01T10:00:00Z'