curl --request GET \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/data_sources \
--header 'x-api-key: <api-key>'[
{
"created": "2025-10-15T20:46:06.392985",
"data_source_accounts": [
{
"account_id": "202348",
"anomaly_score": 200,
"enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"num_transactions": 120,
"transactions_match_balances": true
}
],
"heron_id": "dso_5wyzuujPEjanA3Z7hMR3Yq",
"last_updated": "2025-11-26T20:46:06.393013",
"reference_id": "pdf_9WsxCMqxQUBZ5hamv2Bewh",
"type": "pdf",
"is_enabled": true,
"metadata": {
"filename": "202348_JAN_2022.pdf",
"status": "processed"
},
"status": "new"
}
]Get a list of data sources for a company
curl --request GET \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/data_sources \
--header 'x-api-key: <api-key>'[
{
"created": "2025-10-15T20:46:06.392985",
"data_source_accounts": [
{
"account_id": "202348",
"anomaly_score": 200,
"enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"num_transactions": 120,
"transactions_match_balances": true
}
],
"heron_id": "dso_5wyzuujPEjanA3Z7hMR3Yq",
"last_updated": "2025-11-26T20:46:06.393013",
"reference_id": "pdf_9WsxCMqxQUBZ5hamv2Bewh",
"type": "pdf",
"is_enabled": true,
"metadata": {
"filename": "202348_JAN_2022.pdf",
"status": "processed"
},
"status": "new"
}
]Ok
When the data source was created in Heron system
"2025-10-15T20:46:06.392985"
List of data source accounts associated with the data source
Show child attributes
Whether or not the account is enabled. If disabled, hides related transactions from analytics
true
Unique account id associated with the data source account
"202348"
For pdf bank statement account sources, where the value is between 0 and 1000, with 1000 being the most anomalous
200
List of balances associated with the account
Show child attributes
Currency of the balance
"USD"
Date of the balance
"2022-01-01"
[
{
"closing_amount": 25000.45,
"currency": "USD",
"date": "2022-01-01"
}
]Currency of the account
"USD"
End date of the account
"2022-01-31"
Unique ID for data source generated by Heron
"dso_HHNCcgSJmM82ZDLQweZDsR"
Name of the institution
"Chase"
Latest date of transactions associated with the data source account
"2022-01-31"
Earliest date of transactions associated with the data source account
"2022-01-01"
Name of the account
"Checking Account"
Number of transactions associated with the data source account
120
Number of the account
"123456789"
Name of the account owner
"John Doe"
This is the account ID provided as part of the transaction
"account-202348"
Start date of the account
"2022-01-01"
For pdf bank statements, represents whether all transactions extracted match the balances extracted
true
Type of the account
"Checking"
[
{
"account_id": "202348",
"anomaly_score": 200,
"enabled": true,
"max_date": "2022-01-31",
"min_date": "2022-01-01",
"num_transactions": 120,
"transactions_match_balances": true
}
]Unique ID for data source generated by Heron
"dso_5wyzuujPEjanA3Z7hMR3Yq"
When the data source was last updated in Heron system
"2025-11-26T20:46:06.393013"
Unique ID to identify the data source
"pdf_9WsxCMqxQUBZ5hamv2Bewh"
Data source type
api, csv, pdf, integration_link, legacy, legacy_pdf, legacy_integration_link "pdf"
Whether or not the data source is enabled. If disabled, hides related transactions from analytics
true
Metadata associated with the data source
Show child attributes
Currency associated with the data source entity, where applicable (e.g. pdfs)
"USD"
Name of the file uploaded, where applicable (e.g. pdfs)
"202348_JAN_2022.pdf"
Unique Heron ID associated with an integration
"itg_NvvwdxunyTN5rJCMBauXri"
Unique item id associated with integration link data sources
"Ed6bjNrDLJfGvZWwnkQlfxwoNz54B5C97ejBr"
Last successful sync date associated with integration link data sources
"2025-11-26T20:46:06.392493"
Notes associated with the data source entity, where applicable (e.g. pdfs)
"error with processing, 52 invalid transaction(s) extracted from statement"
Parsing version associated with the data source entity, where applicable (e.g. pdfs)
"1.0.0"
Sub type of the data source entity, where applicable (e.g. integration links)
"transaction"
{
"filename": "202348_JAN_2022.pdf",
"status": "processed"
}Status of the data source entity, where applicable (e.g. pdfs, integration links)
new, parsing, parsed, processed, human_reviewing, approved, rejected, failed, transactions_loaded, transactions_unloaded, pending, active, syncing, erroring, sync_disabled, deleted_in_plaid, unknown "new"
Was this page helpful?