Skip to content

m.partners.fable.merchant_aggregates

Daily European consumer spending per merchant, from Fable Data's transaction panel.

Call it from a session m, made with dm.MassiveSession():

m.partners.fable.merchant_aggregates(*, start=None, end=None, sort=None, order=None, limit=None, filters=None, on_error=None)
  • Methods: fetch(), poll(interval)
  • Read from: REST
  • poll() by default: dm.PollMode.REPLACE, which holds only the latest poll's rows, one row per TransactionDate, PublishedDate, Name, Type, UserCountry, Channel, ConsumerType, MccGroup and TransactionCurrency

Dataset index

Arguments

A linked argument follows its rule under shared arguments on the dataset index.

Argument Description
start The first transaction day.
end The last transaction day.
sort Any field of the rows, such as "transaction_date". Fields: any REST field under Massive fields.
order The direction of sort.
limit The most rows to return, in total.
filters Further endpoint parameters, such as {"parent_name": "Amazon Inc"}. Keys: channel, channel_any_of, consumer_type, consumer_type_any_of, name, name_any_of, name_gt, name_gte, name_lt, name_lte, parent_name, parent_name_any_of, parent_name_gt, parent_name_gte, parent_name_lt, parent_name_lte, user_country, user_country_any_of.
on_error What a bad symbol or row does in this call (dm.ErrorPolicy). None, the default, takes each cause from the session's MassiveConfig.on_error.

Plans

How recent the data is on each of Massive's plans, and how far back its history goes, as Massive's pages state them.

Plan Merchant Aggregates (REST)
European Consumer Spending by Merchant 30-day delayed, All history
European Consumer Spending by Merchant Business 7-day delayed, All history

Columns

Column Type Description
Channel String Transaction channel. Possible values: online, offline, bnpl (buy now pay later platforms such as Scala, Klarna, Zilch).
ConsumerType String The panel the account is sourced from. Possible values: consumer_credit, consumer_debit, open_banking.
EightDayRollingCategoryAccounts long The count of unique consumer accounts active for a given country, consumer type, and that transacted in this merchant category (MCC Group) over the prior 8 days. Used for short-term normalization calculations (e.g., spend per 1000 panelists = (total_spend / eight_day_rolling_category_accounts) * 1000).
EightDayRollingTotalAccounts long The count of unique consumer accounts active for a given country and consumer type that had any transaction activity (across all categories) over the prior 8 days. Provides a baseline for total panel size.
MccGroup String Merchant category code group associated with the merchant or payment processor.
MerchantIndustry String Industry name based on GICS/BICS/ICB data classification for the merchant.
MerchantTicker String Stock ticker associated with the merchant (~250 US public companies mapped). Uses Bloomberg tickers and they are point in time.
Name String The merchant or entity name for this aggregate (lowercase). When type is 'merchant', this value can be used as the lookup_name in the merchant-hierarchy endpoint to retrieve full corporate hierarchy details.
ParentName String Merchant's parent business name (Title Case). Useful for aggregating transactions across subsidiary brands. Also available in the merchant-hierarchy endpoint for full corporate structure.
PublishedDate String The date when this data version was published. For original data, this is approximately 7 days after transaction_date.
SpendInDistinctAccountKeyCount long The count of distinct account keys (unique consumer accounts) with inbound transactions.
SpendInSpend double The total inbound transaction amount (refunds, returns, credits) in the specified currency for this aggregation. Values are positive, representing money flowing back into consumer accounts.
SpendInTransactionCount long The count of inbound transactions (refunds, returns).
SpendOutDistinctAccountKeyCount long The count of distinct account keys (unique consumer accounts) with outbound transactions.
SpendOutSpend double The total outbound transaction amount (money spent by consumers) in the specified currency for this aggregation. Values are negative, representing money flowing out of consumer accounts.
SpendOutTransactionCount long The count of outbound transactions (purchases, payments).
TotalAccounts long The total count of distinct consumer accounts with any transaction activity for this aggregation.
TotalSpend double Sum of spend_out_spend and spend_in_spend. Typically negative (net outflow). A positive value indicates refunds exceeded new spending for this aggregation.
TotalTransactions long The total count of all transactions (outbound + inbound).
TransactionCurrency String ISO currency code for the transaction (base card/account currency). Always EUR or GBP in this dataset. All spend amounts are denominated in this currency.
TransactionDate String The calendar date when the consumer transactions occurred.
TwentyEightDayRollingCategoryAccounts long The count of unique consumer accounts active for a given country, consumer type, and that transacted in this merchant category (MCC Group) over the prior 28 days. Used for longer-term normalization calculations.
TwentyEightDayRollingTotalAccounts long The count of unique consumer accounts active for a given country and consumer type that had any transaction activity (across all categories) over the prior 28 days. Provides a longer-term baseline for total panel size.
Type String The type of aggregation. Can be 'merchant' or 'payment_processor'.
UserCountry String Country of consumer's residence (ISO codes). Available countries: UK, DE, FR, ES, IT, AT. Values outside these are mapped to 'unknown'.
TimestampInsert Instant When the library received the row, by the local clock. Rows that arrive together share it. It isn't Massive's time, and later rows can carry earlier times. In a poll() table, it's the time of the poll the row's values came from.

Massive fields

The Massive field behind each column, by source. An empty cell means the source doesn't carry the column, or the library computes it.

Column REST field
Channel channel
ConsumerType consumer_type
EightDayRollingCategoryAccounts eight_day_rolling_category_accounts
EightDayRollingTotalAccounts eight_day_rolling_total_accounts
MccGroup mcc_group
MerchantIndustry merchant_industry
MerchantTicker merchant_ticker
Name name
ParentName parent_name
PublishedDate published_date
SpendInDistinctAccountKeyCount spend_in_distinct_account_key_count
SpendInSpend spend_in_spend
SpendInTransactionCount spend_in_transaction_count
SpendOutDistinctAccountKeyCount spend_out_distinct_account_key_count
SpendOutSpend spend_out_spend
SpendOutTransactionCount spend_out_transaction_count
TotalAccounts total_accounts
TotalSpend total_spend
TotalTransactions total_transactions
TransactionCurrency transaction_currency
TransactionDate transaction_date
TwentyEightDayRollingCategoryAccounts twenty_eight_day_rolling_category_accounts
TwentyEightDayRollingTotalAccounts twenty_eight_day_rolling_total_accounts
Type type
UserCountry user_country
TimestampInsert

Massive's documentation


The plan tables and most column descriptions are Massive's, from its documentation as fetched on 2026-12-01, with a few corrected where Massive's are wrong. The library writes its own descriptions of the columns it names or computes, such as Symbol and TimestampInsert.