Daily new-listing statistics
get_daily_new_listing_statsHow many NEW listings Cubi added per day, by country and by source, split into sale and rent — aggregate counts only, no listings.
Use it to answer "how much new inventory is arriving" questions: today,
yesterday and the last 7 completed days, per country, plus the 15 sources
contributing the most new listings over those 7 days.
Complements corpus_stats (which has no transaction split). Table-ready:
per-country today / yesterday / trailing-7-completed-day sale+rent, plus the
top-15 providers by 7-day new-listing volume with their sale/rent split.
(The 21-day per-country chart SERIES stays with corpus_stats — scanning
21 days of country/txn heap here is too slow for an interactive tool.)
Served from precomputed MVs refreshed a few times a day (never a live scan),
so it is instant; `refreshed_at` is when the underlying data was last rebuilt.
Returns:
JSON string: {today:"YYYY-MM-DD", days_completed:int, refreshed_at:"… UTC",
all:{today,yest,sale7,rent7,total7},
countries:[{country,today,yest,sale7,rent7,total7}] (desc by total7),
providers:[{src,sale,rent,total}]}. "all" sums every country incl null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |