K-Stra developers

API changelog

Every change to the public surface of the actions, with its date, version and kind (doc 17 §6). The version is the one in backend/tests/KStra.Tests/Contracts/v1/_contract.json: the contract test does not accept a new snapshot without its section here.

1.62 — 2/12/2026 — additive: sectors of one country

New Zealand is now served next to Australia.

1.61 — 2/12/2026 — additive: the country of areas and tables

K-Stra is getting ready to serve New Zealand next to Australia, in the same continent (oceania). New Zealand is not open yet; these fields say which country the figures are of, so that a caller can read them the same way in both.

1.60 — 21/11/2026 — additive: opening hours by day; the marketplace route without credits

openingHoursByDay: every shop that carries openingHours now also carries openingHoursByDay, an object with one entry per day as published, for example {"Monday": "8 am–6:30 pm", "Sunday": "Closed"}. openingHours stays as it was, a text. The new field is left out when the hours are not published day by day. It is in the shops of analysis.markets_brands, analysis.markets_sector, analysis.category_mix, enrich.point (with detail=full) and market.competition.

/api/market/v1, the route for the API marketplaces: buyers there pay per call, so its answers and its specification no longer mention credits. quote, charged, creditsCharged and blockedBy are left out of the answers, and the descriptions no longer state the price in credits. The data are the same as on REST v1 and MCP, where these fields stay. The specification now lists the sector codes of market.competition in sector, since markets.sectors is not served on that route. Each analysis also has a specification of its own, with only its route, at /api/market/v1/{catchment|competition|property|traffic}/openapi.json.

MCP: sign in with your K-Stra account (26/11/2026). The MCP server now also accepts OAuth 2.1 with PKCE, so clients that sign in to remote servers (Claude's connectors, ChatGPT apps) need only https://www.k-stra.com/mcp. A 401 from /mcp points to /.well-known/oauth-protected-resource; the client registers itself at /oauth/register and the user allows it in the app, choosing the organization whose credits it uses. The access token is an API key named after the client, revocable in Account → API. API keys work as before. The actions and their schemas do not change.

Population projections (28/11/2026). The trend topic of analysis.people_economy now also returns the table population_outlook, "Population, past and projected", at no extra cost:

Traffic counts on Sydney's toll motorways (28/11/2026). analysis.traffic and market.traffic list among the measured counts eight sections of Sydney's toll motorways (M2, M5 South West, Westlink M7, WestConnex, Lane Cove Tunnel, NorthConnex): the average day of the last twelve months, both directions, from the toll gantries. Their source is Transurban, NSW Toll Road Data, with the CC BY 4.0 attribution. The same counts now also calibrate the estimates of the motorways. The schemas do not change.

Discovery for agents (27/11/2026). The MCP server publishes its card (MCP SEP-2127) at /mcp/server-card (application/mcp-server-card+json, no key needed), and /.well-known/ai-catalog.json points to it. The developer docs have an index for AI agents at /developers/llms.txt, and every page is also served as Markdown (/developers/quickstart.md, /developers/mcp.md…). The actions and their schemas do not change.

1.59 — 21/11/2026 — additive: four one-call analyses for API marketplaces

Four new actions answer the questions that come up most often about an Australian location, each in one call with a compact answer. They are composite, like enrich.point: each one runs analyses that already exist and costs what they cost.

Input: address (an Australian street address, number first) or lat/lng.

Errors: two new codes, both 422:

analysis.traffic, schema fix: with who: "pedestrians" the streets can be footpaths, pedestrian streets and shared paths. streets[].roadClass now lists those classes too: living_street, service, pedestrian, footway, path, cycleway, steps, track. Before, the schema listed only the road classes for vehicles, and a validating client rejected a valid answer.

Shopping centres: the published figures of a centre (centre: sales, size, visits) no longer say where they come from on REST v1 and MCP. centre.source is gone, and so is the mention of the sources in the note under the tables.

Where: they are on REST v1 and MCP like every other action (quote, then execute). They are also served one call at a time at POST /api/market/v1/{catchment|competition|property|traffic}, which quotes and executes in the same request, with its own specification at /api/market/v1/openapi.json. That route is for the API marketplaces we sell through.

1.58 — 21/11/2026 — additive, plus listing source fields removed: traffic and store sales open to REST v1 and MCP

analysis.traffic is now on REST v1 and MCP, like the other analyses: the busiest roads of a territory with their traffic band, road length by band and the official counts measured inside it, always in bands, never as a single figure for a road. Same price as in the web app: 30 credits for a territory, and other periods and pedestrians on a territory already paid are free.

Store sales estimates are now on REST v1 and MCP too:

Removed from REST v1 and MCP: where a listing comes from.

1.57 — 10/11/2026 — additive (internal): the opening simulation uses cards located by postcode only

analysis.loyalty (internal): the opening simulation now estimates the cards located by postcode only too. Until now it moved only the cards whose address is on the map, so a file of postcode-only cards gave zero for every store.

1.56 — 06/11/2026 — additive (internal): low confidence store sales estimates

Store sales estimates (sales on the stores of analysis.markets_sector, analysis.markets_brands, analysis.brand_coverage, analysis.category_mix, analysis.site_comparison, site.rank and enrich.point, with include: ["sales"]; internal, not served by REST v1 or MCP) now come at every confidence.

1.55 — 05/11/2026 — additive (internal): cards the opening simulation can use

analysis.loyalty (internal) says how the cards near the opening candidate are located.

04/11/2026 — stores on a chain's secondary site no longer count as the chain, no version change

1.54 — 04/11/2026 — additive (internal): ranges of dates and hours, 30 credits a territory

analysis.traffic (internal) takes ranges in when and has a price.

1.53 — 03/11/2026 — additive (internal): pedestrian footfall

analysis.traffic (internal) takes who: vehicles (default, as before) or pedestrians.

1.52 — 03/11/2026 — additive (internal): traffic over time

analysis.traffic (internal) takes an optional when: month (1-12), dayType (weekday, saturday, sunday: public holidays count as sundays), hour (0-23) or a date (yyyy-MM-dd, which gives month and type of day). Left out, the average day of the year as before.

1.51 — 03/11/2026 — additive (internal): traffic results as tables

analysis.traffic (internal) gets tables, the same results as the tables of the other analyses, for reports and exports:

Bands only, never a single number of vehicles.

1.50 — 03/11/2026 — additive (internal): estimated road traffic

New internal action analysis.traffic (web and assistant only, not on /api/v1 nor MCP), the Traffic & Footfall module:

1.49 — 03/11/2026 — additive (internal): published figures of shopping centres

Shopping centres (internal field centre, web and assistant only), in analysis.markets_sector:

1.48 — 02/11/2026 — additive (internal): two more sources for the estimated sales of the stores

Estimated annual sales of the stores (internal field sales, web and assistant only):

Team roles (same day, no contract change): a user who is a Viewer in their team gets 403 read_only_role on charged executions and when saving or duplicating an analysis, on every door (web, API, MCP). Free actions and reads are unchanged.

1.47 — 30/10/2026 — additive and deprecating: real estate figures that say what they rest on

analysis.realestate, the area of analysis.realestate_property and the realEstate section of enrich.point. Runs saved before keep the figures they were run with.

29/10/2026 — column order of some tables, residents per family, no version change

Columns are read by their label, never by position: the labels are unchanged except where said, and only their order moves so that related columns sit side by side. Saved analyses keep the order they were run with.

24/10/2026 — own stores limited to 100 as documented, no version change

23/10/2026 — analysis.isochrone: no quote for bands the run refuses, no charge for an empty catchment, no version change

1.46 — 21/10/2026 — additive (internal)

Estimated annual sales of the stores in analysis.markets_sector, analysis.markets_brands and analysis.brand_coverage, for the web and the assistant only.

21/10/2026 — education as one scale, highest year of school, separated residents, no version change

analysis.people_economy, topic education_marital (and the People section of enrich.point), from the 2021 Census:

18/10/2026 — deleting a webhook closes its pending deliveries, no version change

18/10/2026 — Census tables give the Census year, no version change

18/10/2026 — job results in one call, headers in the specification, no version change

18/10/2026 — unknown input fields are refused, no version change

18/10/2026 — labour figures on residents aged 15 and over, brand stores on the operator's site, Coverage catchments cut at the area's edge, no version change

From the customer trials run by our automatic verification.

18/10/2026 — every error is a Problem Details, no version change

18/10/2026 — data years read from the data, no version change

18/10/2026 — get_data_versions names the sector model, no version change

1.45 — 18/10/2026 — additive

Real estate, one property: change the description after the run, at no cost.

1.44 — 18/10/2026 — additive

Real estate, one property: nearby amenities and how fast the market moves. Both are included in the 20 credits.

18/10/2026 — idempotency keys bound to their request, empty enrichments refused, isochrone bands consistent, no version change

Fixes found by our automatic verification of the production API.

1.43 — 18/10/2026 — additive

Real estate, one property: the market evidence for the value of a single property.

17/10/2026 — four new sectors, no version change

1.42 — 16/10/2026 — additive

People & Economy: ten topics instead of fifteen, and housing. Several topics added one or two columns or repeated figures of another, so they are merged; each topic still costs 2 credits and returns more tables than before.

Topic Tables Replaces
residents sociodemo (population, sex, families and residents born overseas by band), by_locality, foreigners_by_postcode main, families, foreigners
postcodes postcodes postcodes
age_classes age_classes, age_indicators, age_classes_5y, age_groups age_classes
education_marital education, marital_status education, marital_status
trend trend trend
employment occupation, employment_rates occupation, employment_rates
income wealth_indices, income_by_band wealth_indices, income_by_band
spending consumption_categories, potential_market_by_band consumption_categories, potential_market_by_band
housing housing_tenure, dwelling_type, cars_per_dwelling (new) —
territorial_comparison territorial_comparison territorial_comparison

16/10/2026 — MCP tools return the real validation message, no version change

1.41 — 16/10/2026 — additive

The category mix opens to the API and MCP.

1.40 — 16/10/2026 — additive (internal)

analysis.markets_sector can count the category mix in the same run, for the web and the assistant only.

15/10/2026 — clearer error for analysis.people_economy without topics, no version change

15/10/2026 — sales.territories accepts SA1 blocks, no version change

sales.territories (internal) divides into SA1 blocks.

1.39 — 15/10/2026 — additive (internal)

sales.territories (internal) joins separate parts of the area.

15/10/2026 — sales.territories crosses areas without measure, no version change

1.38 — 15/10/2026 — additive (internal)

sales.territories (internal) accepts units fixed by hand.

15/10/2026 — descriptions of the territory inputs, no version change

1.37 — 15/10/2026 — additive (internal)

sales.territories (internal) can balance on the sum of a column.

1.36 — 14/10/2026 — additive (internal)

sales.territories (internal) gains the minimum per territory and the proposed sites.

1.35 — 14/10/2026 — additive (internal)

New internal action sales.territories (not exposed in /api/v1 nor in MCP): the Balanced territories view of Sales. It divides the area of a Sales run among its sellers, so that every territory holds a similar share of the chosen measure.

14/10/2026 — search.addresses reads the locality, no version change

search.addresses now uses the locality written after the street, and the results rank by it:

A street whose name exists is no longer searched by similarity when the house number is rare: 120 Moorabool Street, Geelong answers in about 0.3 s instead of 9. Similarity is kept for misspelt streets (Powel Street). The schema changes only in the description of query.

14/10/2026 — People & Economy on any administrative area, no version change

analysis.people_economy on administrative areas no longer has a size limit: a state or the whole country can be analysed, and answers in about a second. The figures of an area come from the area's own statistics, which add up to the same residents as before. For states and the country, the breakdowns by municipality and postcode list the municipalities and postcodes that belong to the area, each counted whole; below the state, a postcode or municipality that crosses the border still counts only for the part inside. Isochrones, drawn polygons and the other actions keep the 1,000,000-pole limit. Schemas do not change.

12/10/2026 — plainer source notes, no version change

Source notes (sourceNote of the tables) say what a figure is and where it comes from in plain words, without formulas or model names: they end up under the tables of the reports people hand to their clients. Table keys, titles, column names and values do not change. The method behind each figure is the same as before.

11/10/2026 — plainer table titles, no version change

Table titles say the same thing in plain words; table keys and column names do not change.

11/10/2026 — money and counts in text, no version change

1.34 — 11/10/2026 — additive

Addresses are written the way the country of the address writes them. In Australia: house number first, then the street in normal case, then suburb, state code and postcode — 64 Shirley Road, Crows Nest NSW 2065. One house number: an address pole groups several entrances, and its first number is the one written.

11/10/2026 — the listings table is always there, no version change

1.33 — 10/10/2026 — additive

analysis.markets_sector: commercial properties on the market near the best locations, included in the price.

10/10/2026 — the local government area is always "… LGA", no version change

1.32 — 9/10/2026 — additive (internal)

New internal action analysis.category_mix (not exposed in /api/v1 nor in MCP): how many stores of several categories stand inside the territory, by band, area or polygon, and how many for every 10,000 residents next to the local government area, the state and Australia.

9/10/2026 — sector stores with minutes, and stores per 10,000 residents, no version change

On analysis.markets_sector, with no new fields:

9/10/2026 — site comparison wider than the sector's catchment, no version change

9/10/2026 — site comparison figures in millions, no version change

1.31 — 9/10/2026 — additive

The site estimate as a range, and where the spend comes from. In analysis.site_comparison (and so in site.rank, which runs it) the spend a candidate would capture is also given as a range.

9/10/2026 — "Born overseas" instead of "Foreigners", no version change

1.30 — 9/10/2026 — additive

Comparison columns. The socio-demographic tables of People & Economy now compare the catchment with the areas around it: catchment, suburb, local government area (LGA), state and Australia, for the same indicators, as shares or indices (never totals).

7 Oct 2026 — descriptions of the charged actions, no version change

7 Oct 2026 — analysis.isochrone pricing, no version change

7/10/2026 — analysis.loyalty price in the description, no version change

7/10/2026 — descriptions in English, no version change

1.29 — 6/10/2026 — additive

Shopping centres, outlets and food halls.

5/10/2026 — families depend on the country, no version change

1.28 — 4/10/2026 — additive

Families are called by their name. The figure is census families: couples, with or without children, and one-parent families. People living alone and group households are not included, so families are fewer than "households" (in Sydney 46,705 against 97,743 occupied dwellings) and must not be read as such.

3/10/2026 — Oceania only, no version change

2/10/2026 — network.coverage pricing, no version change

2/10/2026 — dataset storage fee, no version change

2/10/2026 — Real estate pricing, no version change

2/10/2026 — Markets pricing, no version change

You pay for what you ask, not for how large the territory is:

2/10/2026 — pricing, no version change

1.27 — 2/10/2026 — additive

analysis.brand_coverage (Coverage): closure and opening plans for your own points, the same calculation as network.coverage.

1.26 — 2/10/2026 — additive

network.coverage: closure and opening plans (fix 11 of the case evaluation) and larger networks.

Areas, ages, reasons and search — 2/10/2026 — behaviour, no schema version change

Second round of fixes from the case evaluation (P5-P8). The schemas do not change: the new tables are extra elements of the tables array.

Messages and positions — 1/10/2026 — behaviour, no schema version change

Fixes arising from the second evaluation of the geomarketing cases (docs/VALUTAZIONE_KSTRA_CASI_GEOMARKETING_2026-10.md, P1-P4). The schemas do not change.

1.25 — 1/10/2026 — additive (internal)

analysis.loyalty (internal action, not exposed in /api/v1): network analysis.

1.24 — 1/10/2026 — additive (internal)

analysis.loyalty (internal action, not exposed in /api/v1): the opening simulation becomes a network scenario.

1.23 — 1/10/2026 — internal and behaviour

analysis.brand_coverage: includeSectorStores now defaults to false (it was true since 1.21). Without the field the run covers the listed points, i.e. the stores of the chosen brands and the user's points; with true it adds, as before, the other stores of the sector within the area, not charged.

search.brands with sector: the main brands, not all of them.

1.22 — 1/10/2026 — additive and behaviour

search.brands also searches by sector.

1.21 — 28/9/2026 — additive and behaviour

analysis.brand_coverage reads the territory with all its players.

1.20 — 27/9/2026 — behaviour

No field changes shape; the tables of analysis.brand_coverage change.

1.19 — 26/9/2026 — additive

1.18 — 26/9/2026 — additive

1.17 — 26/9/2026 — additive

In the same version, with no new fields, on analysis.markets_sector:

1.16 — 25/9/2026 — behaviour

No field changes shape: WHAT is inside topLocations changes, and which tables come out of analysis.markets_sector. A caller that reads the fields keeps working; one that expects five addresses for demand or for competition will no longer find them.

1.15 — 25/9/2026 — additive

1.14 — 25/9/2026 — additive

1.13 — 24/9/2026 — additive

1.12 — 24/9/2026 — additive

1.11 — 24/9/2026 — additive

1.10 — 24/9/2026 — additive

Public perimeter — 24/9/2026 — no version change

Webhook — 23/9/2026 — no version change

MCP surface — 23/9/2026 — no version change

Behaviour — 24/9/2026 — no version change

Behaviour — 23/9/2026 — no version change

Behaviour — 23/9/2026 — no version change (brands)

1.9 — 23/9/2026 — additive

1.8 — 23/9/2026 — additive

1.7 — 23/9/2026 — additive

1.6 — 23/9/2026 — additive

No version change — 23/9/2026 — Sales behaviour and pricing

1.5 — 24/9/2026 — additive

1.4 — 24/9/2026 — additive

1.3 — 24/9/2026 — additive

1.2 — 23/9/2026 — additive

1.1 — 23/9/2026 — additive

1.0 — 23/9/2026 — initial

First snapshot of the contracts: the 25 actions of the registry, with the input schema and, for the first time, the output schema.

Public surface /api/v1 — 23/9/2026 — no schema version change

Phase 1 of doc 17. The action schemas do not change; the public door is born: