flossypurse.studio

Data · Docs

The API and
the MCP server.

FlossyPurse Studios Data is an AI-native data substrate: the data behind every chart, read by your own code or your AI assistant. There is a read-only HTTP API that returns JSON, and an MCP server your agent can call directly. One key works for both.

Getting a key

  • Free key. Sign in with a free FlossyPurse Studios account and make a key on your account page. It covers the free datasets, 1,000 requests a month over the API and MCP together.
  • Data subscription ($9 CAD a month, by card). Everything the licences let us sell, 50,000 requests a month included. Subscribe
  • Send the key as Authorization: Bearer tk_…. Keep it out of code you share and out of the browser.
Sign in and make a key

Limits and errors

  • Base URL https://flossypurse.studio/data. Every endpoint is a GET that returns JSON.
  • Each key gets 1,000 requests a day, counted over the last 24 hours. Past that you get a 429 with X-RateLimit-Remaining: 0.
  • Cache what you fetch. Most of this data changes daily or less often; each endpoint says how long to keep it.
  • Most endpoints take a type. Call one without it to get the list of types it serves.
  • Errors: 401 the key is wrong or revoked; 402 the data comes with a Data subscription and this is a free key; 403 the data is charts only (its licence keeps it out of the API) or the key lacks the endpoint's scope; 429 the monthly allowance or the daily limit is used up. Each has a JSON error saying which.
  • Every answer carries its licence notice in the X-Data-Licence-Notice header. Keep it with the data when you republish.

A 402, as a free key gets it

{
  "error": "This data comes with a Data subscription. Your free key covers the free datasets only.",
  "reason": "plan-locked",
  "datasets": [
    {
      "id": "cer",
      "title": "Canada Energy Regulator: pipeline throughput, incidents, tolls, apportionment, crude production",
      "licence": "Open Government Licence – Canada",
      "why": "Published under the Open Government Licence - Canada. Part of the paid plan."
    }
  ],
  "see": "https://flossypurse.studio/data/plans",
  "upgrade": "https://flossypurse.studio/data/subscribe"
}

Endpoints

36 endpoints. Each is marked Free API, Paid API or Charts only, per type where that differs.

GET /api/healthService health

No key needed

{ status: "ok", timestamp, git_sha }. With deep=1 it probes each upstream source and returns { status: "healthy" or "degraded", sources, summary }. No key needed.

deepSet to "1" to probe the upstream sources. Slow; use it rarely.

Cache: Don't cache. Use it to check the service is up before a batch job.

curl "https://flossypurse.studio/data/api/health"

Sample response

{
  "status": "ok",
  "timestamp": "2026-10-27T22:12:46.167Z",
  "git_sha": "d6353e6…"
}

GET /api/macroMacro indicators· by indicator, marked below

Scope tamrack:macro:read

One indicator's time series: { indicator, label, source, periods, data: [{ date, value }] }. From the Bank of Canada Valet API and Statistics Canada. Leave out indicator to get the list of indicator keys.

indicatorIndicator key, e.g. policy_rate, prime_rate, cad_usd, mortgage_5y_fixed, unemployment, employment, cpi, cpi_food_stores, cpi_shelter, cpi_rent, cpi_gasoline, population, gdp, housing_starts, weekly_earnings, retail_sales, interprovincial_in_migrants, interprovincial_out_migrants, weekly_earnings_by_industry.
industryNeeded for weekly_earnings_by_industry: mining-oil-gas, construction, manufacturing, retail, professional-technical, educational-services, health-care or accommodation-food (Alberta, from our stored Statistics Canada series).
periodsHow many recent periods to return. Default 24.

Cache: Bank of Canada series change daily, StatsCan series monthly or quarterly. Cache for a few hours.

curl "https://flossypurse.studio/data/api/macro?indicator=policy_rate&periods=24" \
  -H "Authorization: Bearer tk_your_key"

Sample response

{
  "indicator": "policy_rate",
  "label": "BoC Policy Rate",
  "source": "Bank of Canada Valet API",
  "periods": 3,
  "data": [
    {
      "date": "2026-10-22",
      "value": 2.25
    },
    {
      "date": "2026-10-23",
      "value": 2.25
    },
    {
      "date": "2026-10-26",
      "value": 2.25
    }
  ]
}

GET /api/riskMacro risk indicators· Free API

Scope tamrack:macro:read

{ risk } with five series: Alberta unemployment, Edmonton rental vacancy, Edmonton housing starts, the Bank of Canada policy rate and the BoC energy price index. From StatsCan and the Bank of Canada.

Cache: Monthly series, cached an hour on our side. Cache for an hour or more.

curl "https://flossypurse.studio/data/api/risk" \
  -H "Authorization: Bearer tk_your_key"

GET /api/cycleEconomic cycle position· Free API

Scope tamrack:macro:read

Alberta's current 10-indicator fingerprint compared with five past periods: { current, matches, bestMatch, whatHappenedNext, indicators }. Built from StatsCan and Bank of Canada series.

Cache: Recomputed at most hourly. Cache for an hour.

curl "https://flossypurse.studio/data/api/cycle" \
  -H "Authorization: Bearer tk_your_key"

GET /api/benchmarksMunicipality benchmarks· Free API

Scope tamrack:macro:read

{ benchmarks }: one entry per municipality with slug, name, region, population, what data we hold for it, and the open-data URLs behind it. From our municipality registry.

municipalitiesComma-separated municipality slugs. Default: every municipality we cover.

Cache: Changes only when we add a municipality. Cache for a day.

curl "https://flossypurse.studio/data/api/benchmarks?municipalities=edmonton,calgary" \
  -H "Authorization: Bearer tk_your_key"

GET /api/corridorsGrowth corridors· Free API

Scope tamrack:macro:read

{ corridors }: the municipalities we cover grouped by region (Edmonton metro, Calgary metro, central, south, north, northwest, northeast), each sorted by population.

Cache: Changes only when we add a municipality. Cache for a day.

curl "https://flossypurse.studio/data/api/corridors" \
  -H "Authorization: Bearer tk_your_key"

GET /api/regionalRegional indicators· depends on the indicator; see plans

Scope tamrack:regional:read

Values for one Alberta Regional Dashboard indicator (population, unemployment rate, building permits, median household income, land titles and 50 more) across every municipality, or one municipality's time series. Leave out indicator to list them. With place, Incorporations, Motorized Vehicle Registrations and Land Titles (transfers and their dollar value) come from our own stored series by place: { indicator, place, note, caveat, attribution, records, data: [{ place, place_name, measure, unit, period, value }] }.

indicatorIndicator name as the dashboard spells it, e.g. "Population".
municipalityOne municipality's time series. Needs indicator.
placeFor Incorporations, Motorized Vehicle Registrations and Land Titles: a municipality slug (e.g. spruce-grove) for its whole series, or "all" for every municipality in one year.
yearWith place=all: the year. Default the newest stored.

Cache: Annual and monthly series, cached a day on our side. Cache for a day.

curl "https://flossypurse.studio/data/api/regional?indicator=Unemployment%20Rate&municipality=Edmonton" \
  -H "Authorization: Bearer tk_your_key"

GET /api/civicCity 311 and transit· Paid API

Scope tamrack:regional:read

{ type, unit, caveat, source, notice, records, data }. type=311: City of Calgary and City of Edmonton 311 service request counts, by month, by service category, or (Edmonton only) by neighbourhood. type=transit: Calgary Transit and Edmonton Transit Service ridership by month, plus Calgary-only bus and CTrain boarding counts. Leave out type for a list of types.

typeWhich dataset to return. Leave it out to get the list of types.311 (Paid API) · transit (Paid API)
citycalgary or edmonton. Leave out for both.
breakdowntype=311: monthly (default), category or neighbourhood (Edmonton only). type=transit: ridership (default), bus-boardings or ctrain-boardings (Calgary only).
yeartype=311 only: one year, YYYY.
fromtype=transit only: earliest month, YYYY-MM-DD.
limitRows. Default and cap 5000.

Cache: Both cities update monthly. Cache for a day.

curl "https://flossypurse.studio/data/api/civic?type=311&city=calgary&breakdown=category" \
  -H "Authorization: Bearer tk_your_key"

GET /api/housingHousing market· by type, marked below

Scope tamrack:real-estate:read

{ type, records, data }: CMHC and StatsCan starts, completions, units under construction, vacancy, rents, absorptions and mortgage rates for Edmonton and Calgary, or University of Alberta assessment trends by neighbourhood.

typeWhich dataset to return. Leave it out to get the list of types.starts (Free API) · completions (Free API) · construction (Free API) · vacancy (Free API) · rents (Free API) · absorptions (Free API) · mortgage (Free API) · assessments (Charts only) · neighbourhoods (Charts only)
cityCity for type=neighbourhoods. Default "Edmonton".Edmonton · Calgary

Cache: Monthly releases. Cache for an hour; a day for assessments and neighbourhoods.

curl "https://flossypurse.studio/data/api/housing?type=starts" \
  -H "Authorization: Bearer tk_your_key"

GET /api/rentalRental market· Free API

Scope tamrack:real-estate:read

{ rental: { vacancyRates, rents } }: vacancy and average rent by bedroom count, Edmonton against Calgary. CMHC data through Statistics Canada.

Cache: The rental survey comes out a few times a year. Cache for a day.

curl "https://flossypurse.studio/data/api/rental" \
  -H "Authorization: Bearer tk_your_key"

GET /api/pipelineEdmonton housing pipeline· Free API

Scope tamrack:real-estate:read

{ pipeline }: Edmonton housing starts, completions and units under construction as three series. From Statistics Canada.

Cache: Monthly release. Cache for a day.

curl "https://flossypurse.studio/data/api/pipeline" \
  -H "Authorization: Bearer tk_your_key"

GET /api/permitsDevelopment permits· by municipality, marked below

Scope tamrack:real-estate:read

Permit activity for one municipality: hot neighbourhoods and the monthly trend, or recent permits with type=recent. Leave out municipality for a summary of all five. From each municipality's open-data portal; Parkland County publishes no permit feed, so it returns assessed parcels instead.

municipalityWhich municipality.edmonton (Paid API) · strathcona (Paid API) · st-albert (Paid API) · parkland (Charts only) · stony-plain (Charts only)
typeDefault "summary". Ignored for parkland and stony-plain.summary · recent

Cache: The portals update daily to weekly. Cache for a few hours.

curl "https://flossypurse.studio/data/api/permits?municipality=edmonton&type=recent" \
  -H "Authorization: Bearer tk_your_key"

GET /api/assessmentsProperty assessments· by municipality, marked below

Scope tamrack:real-estate:read

Counts and average assessed values by neighbourhood, building type, subdivision or zoning, for one municipality or all five under { municipalities }. Read from each municipality's open-data portal.

municipalityOne municipality. Default: all five.edmonton (Paid API) · strathcona (Paid API) · st-albert (Paid API) · parkland (Charts only) · stony-plain (Charts only)

Cache: Assessment rolls change once a year. Cache for a day.

curl "https://flossypurse.studio/data/api/assessments?municipality=edmonton" \
  -H "Authorization: Bearer tk_your_key"

GET /api/commercialEdmonton commercial property· Paid API

Scope tamrack:real-estate:read

{ commercial }: non-residential assessments by neighbourhood, business licences by category, businesses by neighbourhood, and monthly commercial building permits. From City of Edmonton open data.

Cache: Cached an hour on our side. Cache for a few hours.

curl "https://flossypurse.studio/data/api/commercial" \
  -H "Authorization: Bearer tk_your_key"

GET /api/signalsEdmonton neighbourhood signals· Paid API

Scope tamrack:real-estate:read

{ description, signals } with four lists worked out from Edmonton permits, assessments and licences: transformation (hot to cooling zones), teardowns, renovation_roi and convergence.

Cache: Cached an hour on our side. Cache for an hour or more.

curl "https://flossypurse.studio/data/api/signals" \
  -H "Authorization: Bearer tk_your_key"

GET /api/energyPipelines, production, wells· by type, marked below

Scope tamrack:energy:read

Depends on type: Canada Energy Regulator pipeline throughput, crude production by province, pipeline incidents and apportionment, or Alberta Energy Regulator well licences (records, daily counts, top operators). type=incident-counts: our stored counts of CER pipeline incidents, Alberta and Canada, by year or month, in total, by type, significant, or with a substance released (federally regulated pipelines only). type=tolls: our stored CER pipeline toll series, one headline toll per pipeline (units differ between pipelines).

typeWhich dataset to return. Leave it out to get the list of types.throughput (Paid API) · production (Paid API) · incidents (Paid API) · incident-counts (Paid API) · apportionment (Paid API) · tolls (Paid API) · well_licences (Charts only) · well_licences_daily (Charts only) · well_operators (Charts only)
geoFor type=incident-counts: alberta or canada. Default both.
breakdownFor type=incident-counts: total, type, significant or released. Default total.
cadenceFor type=incident-counts: annual (complete years) or monthly. Default annual.
fromEarliest filing date for type=well_licences, earliest period for type=incident-counts, or earliest month for type=tolls, YYYY-MM-DD.
pipelinePipeline key, needed for type=throughput, e.g. NGTL_THROUGHPUT. For type=tolls: a pipeline slug, e.g. trans-mountain; leave out for every pipeline's headline series.
provinceProvince for type=production. Default "Alberta".
limitRows for well_licences and well_operators. Default 100, at most 500.
toLatest filing date for type=well_licences, YYYY-MM-DD.
daysDays of history for type=well_licences_daily. Default 90, at most 730.

Cache: Regulator files refresh daily. Cache for a few hours.

curl "https://flossypurse.studio/data/api/energy?type=throughput&pipeline=NGTL_THROUGHPUT" \
  -H "Authorization: Bearer tk_your_key"

GET /api/electricityElectricity market· Charts only

Scope tamrack:energy:read

Charts only: refused (403) for every key, on every plan. This is Alberta Electric System Operator (AESO) data, and AESO's terms allow non-commercial use only, so it stays on our free charts until AESO grants permission. Would return pool price by hour, supply and demand by fuel, actual against forecast load, or a pool price history.

typeWhich dataset to return. Leave it out to get the list of types.pool_price · supply_demand · forecast · price_history
start_dateStart date for pool_price and forecast, YYYY-MM-DD.
end_dateEnd date for pool_price, YYYY-MM-DD.
daysDays of history for type=price_history. Default 30.

Cache: Changes every few minutes, cached 5 minutes on our side. Cache for 5 minutes.

curl "https://flossypurse.studio/data/api/electricity?type=supply_demand" \
  -H "Authorization: Bearer tk_your_key"

GET /api/datacentresData-centre grid connection requests· Charts only

Scope tamrack:energy:read

Charts only: refused (403) for every key, on every plan. This is AESO's Connection Project List, the same non-commercial-only AESO data as /api/electricity, so it stays on our free report until AESO grants permission. Would return the monthly series of data-centre requests and MW, one month's rows, every published month's rows, or what changed since the previous list.

typeWhich dataset to return. Leave it out to get the list of types.series · rows · history · changes
monthRestrict to one AESO list, YYYY-MM, e.g. 2026-11.
pidRestrict to one AESO request id, e.g. P2936.
formatResponse format. Default "json". Not available for type=changes.json · csv

Cache: AESO publishes once a month. Cache for a day.

curl "https://flossypurse.studio/data/api/datacentres?type=series" \
  -H "Authorization: Bearer tk_your_key"

GET /api/businessBusiness and corporate data· by type, marked below

Scope tamrack:economy:read

Depends on type: Edmonton and Calgary business licences, StatsCan business counts by sector, facility greenhouse-gas emissions (ECCC), WCB employers by industry, Alberta non-profits, or CRA corporate tax statistics. Most types return { type, records, data }. By place (stored series): active-businesses (daily active licences, Calgary and Edmonton), new-licences (licences first issued per month, still licensed today), incorporations (new incorporations per year, any Alberta municipality), business-counts (Statistics Canada business locations with employees by total, size band and NAICS sector, any Alberta census subdivision or CMA, one June/December release at a time) and business-count-releases. These return { type, unit, note, caveat, attribution, records, data } with data rows { place, place_name, period, measure, label, value, qualifier?, table? }; attribution lists the credit lines the licences require.

typeWhich dataset to return. Leave it out to get the list of types.edmonton-licences (Paid API) · edmonton-categories (Paid API) · calgary-types (Paid API) · calgary-districts (Paid API) · calgary-trend (Paid API) · counts (Paid API) · sectors (Free API) · ghg-facilities (Paid API) · top-emitters (Paid API) · wcb-industries (Paid API) · nonprofits-by-city (Paid API) · nonprofits-by-type (Paid API) · cra-t2 (Paid API) · active-businesses (Paid API) · new-licences (Paid API) · incorporations (Paid API) · business-counts (Free API) · business-count-releases (Free API)
limitRows. Default 50.
placeFor the by-place types: a place slug. active-businesses and new-licences: calgary or edmonton (leave out for both). incorporations: a municipality (e.g. spruce-grove); leave out for every municipality in one year. business-counts: a municipality or CMA (calgary, calgary-cma, lethbridge-cma); leave out for every place's total.
fromactive-businesses, new-licences, incorporations with a place: first date, YYYY, YYYY-MM or YYYY-MM-DD.
toSame, last date (inclusive).
yearincorporations without a place: the year to list. Default the newest.
releasebusiness-counts: YYYY-06 or YYYY-12 (the month the counts describe), latest (default) or all. Statistics Canada advises the releases are not a time series.
groupbusiness-counts with a place: which measures, total, size, sector or all (default).

Cache: Cached a day on our side. Cache for a day.

curl "https://flossypurse.studio/data/api/business?type=sectors" \
  -H "Authorization: Bearer tk_your_key"

GET /api/retailRetail and business activity· by type, marked below

Scope tamrack:economy:read

{ type, records, data }: StatsCan Alberta retail sales by subsector, e-commerce, food services, business openings and closures, or Edmonton business licences by category, neighbourhood or month.

typeWhich dataset to return. Leave it out to get the list of types.subsectors (Free API) · ecommerce (Free API) · food-services (Free API) · business-dynamics (Free API) · retail-dynamics (Free API) · food-dynamics (Free API) · edmonton-licences-category (Paid API) · edmonton-licences-neighbourhood (Paid API) · edmonton-licences-trend (Paid API)

Cache: StatsCan types change monthly; cache for an hour. The Edmonton licence types are read live; cache for a few minutes.

curl "https://flossypurse.studio/data/api/retail?type=subsectors" \
  -H "Authorization: Bearer tk_your_key"

GET /api/projectsMajor projects· by type, marked below

Scope tamrack:economy:read

{ type, source, records, data }: federal infrastructure projects in Alberta (paid API). type=provincial (Alberta Major Projects, licensed non-commercial only) and type=wells (AER, licence not yet confirmed) are charts only and refused (403) for every key.

typeWhich dataset to return. Leave it out to get the list of types.federal (Paid API) · provincial (Charts only) · wells (Charts only)

Cache: Cached a day on our side. Cache for a day.

curl "https://flossypurse.studio/data/api/projects?type=provincial" \
  -H "Authorization: Bearer tk_your_key"

GET /api/opportunitiesFederal tenders· Paid API

Scope tamrack:economy:read

{ type, source, records, data }: CanadaBuys federal tenders an Alberta vendor can deliver, soonest closing first, from the table our daily collection fills. IT, software, AI and data work only unless scope=all (every category: construction, goods, services, services related to goods). type=monthly-counts: federal tender notices for delivery in Alberta published per month since April 2022, in total and by category.

typeWhich dataset to return. Leave it out to get the list of types.tenders (Paid API) · monthly-counts (Paid API)
scopeFor tenders: it (default) or all.
categoryconstruction, goods, services or services-related-to-goods (monthly-counts also takes total).
albertaFor tenders: "1" for notices delivered in Alberta or a place in it, leaving out those open to delivery anywhere in Canada.
fromFor monthly-counts: the first month, YYYY-MM.
openSet to "1" for tenders that have not closed yet.
closing_beforeOnly tenders closing before this date, YYYY-MM-DD.
limitRows. Default 100, at most 500.

Cache: Updated by the daily collection at 06:00 UTC. Cache for a few hours.

curl "https://flossypurse.studio/data/api/opportunities?type=tenders&open=1&limit=20" \
  -H "Authorization: Bearer tk_your_key"

GET /api/hiringHiring signals· Paid API

Scope tamrack:economy:read

{ type, source, summary }: Canada Job Bank Alberta postings for back-office roles, by occupation, sector and city, with month-over-month change. Counts only; the source has no employer names.

typeWhich dataset to return. Default "signals".signals (Paid API)
monthYYYY-MM. Default: the latest month we hold.

Cache: Job Bank publishes monthly. Cache for a day.

curl "https://flossypurse.studio/data/api/hiring?type=signals" \
  -H "Authorization: Bearer tk_your_key"

GET /api/leadsDemand by municipality· Charts only

Scope tamrack:economy:read

{ rankings, meta }: municipalities ranked 0 to 100 on a blend of hiring momentum, permit growth, new businesses and provincial procurement. A direction to look in, not a list of companies.

limitHow many municipalities, 1 to 100. Default: all.

Cache: Worked out on each call from tables the daily collection fills. Cache for a few hours.

curl "https://flossypurse.studio/data/api/leads?limit=10" \
  -H "Authorization: Bearer tk_your_key"

GET /api/immigrationPermanent residents· Paid API

Scope tamrack:economy:read

{ type, records, data }: IRCC permanent-resident admissions by category, by metropolitan area, by occupation, or as a yearly trend.

typeWhich dataset to return. Leave it out to get the list of types.category (Paid API) · cma (Paid API) · occupation (Paid API) · trend (Paid API)
provinceDefault "Alberta". Used by category, occupation and trend.
cmaMetropolitan area for type=cma. Default "Edmonton".

Cache: IRCC publishes monthly. Cache for a day.

curl "https://flossypurse.studio/data/api/immigration?type=trend" \
  -H "Authorization: Bearer tk_your_key"

GET /api/fiscalGrants, transfers, contracts· Paid API

Scope tamrack:economy:read

{ type, records, data }. type=grants, transfers and contracts are collected nightly and served from storage, not read live: grants are per-(fiscal year, ministry, recipient, program) totals, one row per combination, for the fiscal years the collector has stored (available_fiscal_years lists them; a fiscal_year outside that list answers 404, and a table the collector hasn't populated yet answers 503) — a person's payment is only ever folded into a program total, never its own row. type=transfers: federal transfers to Alberta in dollars (Canada Health Transfer, Canada Social Transfer, Equalization, and the major-transfers total); year is the year the fiscal year starts (2024 = 2024-25). type=contracts: federal contracts whose vendor has an Alberta postal code, newest contract date first. type=federal-grants is the one type still read live from the publisher, bounded to an 8s deadline (503, never a silent empty 200, on a timeout or thrown error): federal grants and contributions to Alberta recipients, newest agreement start date first. In grants, contracts and federal-grants, only organisations are named: a recipient or vendor that is a person, or not plainly an organisation, appears as 'Individuals and unclassified recipients' or 'Individuals and unclassified vendors'. A grants/transfers/contracts 200 also carries served_from: 'stored' and collected_at. type=salary-disclosure: Alberta Public Service salary disclosure as aggregates by ministry and year (people disclosed, median and total compensation), never a row about one person. type=royalties: Alberta resource revenue by line (royalties, bonuses, rentals, totals), $ millions by fiscal year since 1970/71. type=sole-source: Alberta sole-source service contracts, count and value by ministry and quarter. type=sole-source-vendors: value by fiscal year for the largest vendors that are organisations; individuals are never named. type=municipal-finance: Alberta Municipal Affairs FIR/SIR figures for every municipality that files, by calendar year since 2017 (debt, debt limit, debt service, revenue, expenses, property tax, reserves, accumulated surplus, equalized assessment, population, and debt and reserves per person); without municipality, the province-wide lines.

typeWhich dataset to return. Leave it out to get the list of types.grants (Paid API) · transfers (Paid API) · contracts (Paid API) · federal-grants (Paid API) · salary-disclosure (Paid API) · royalties (Paid API) · sole-source (Paid API) · sole-source-vendors (Paid API) · municipal-finance (Paid API)
fiscal_yearFiscal year for type=grants — must be a collected year (see available_fiscal_years in the response; an uncollected year answers 404), e.g. 2025-26; without it, the newest collected year — or type=sole-source-vendors (e.g. 2024/25).
yearCalendar year for type=salary-disclosure or type=municipal-finance, e.g. 2024.
municipalityFor type=municipal-finance: a 4-digit Municipal Affairs code (e.g. 0291) or part of a name (e.g. Spruce Grove).
measureFor type=municipal-finance: one measure, e.g. total-debt, debt-per-capita, reserves, population.
lineOne revenue line for type=royalties, e.g. oil-sands-royalty.
ministryPart of a ministry name, for type=sole-source, e.g. Health.
limitRows for type=grants, contracts and federal-grants. Default 500, at most 5,000; for grants and contracts this is capped by what the collector has actually stored (grants are totals, not raw payments).

Cache: Published yearly or quarterly. Cache for a day.

curl "https://flossypurse.studio/data/api/fiscal?type=grants&fiscal_year=2025-26" \
  -H "Authorization: Bearer tk_your_key"

GET /api/politicsPolitics· Charts only

Scope tamrack:economy:read

Depends on type: MLAs, Alberta MPs, electoral districts, recent House of Commons votes, Alberta mentions in Hansard, 2021 federal results for Alberta ridings, or federal political contributions. From Represent (Open North), OpenParliament and Elections Canada.

typeWhich dataset to return. Leave it out to get the list of types.mlas (Charts only) · federal-mps (Charts only) · districts (Charts only) · votes (Charts only) · debates (Charts only) · election-results (Charts only) · contributions (Charts only)
limitRows for votes and debates. Default 50.

Cache: Representatives and votes: cache for a few hours. Results and contributions don't change: cache for a day or more.

curl "https://flossypurse.studio/data/api/politics?type=mlas" \
  -H "Authorization: Bearer tk_your_key"

GET /api/health-dataHealth statistics· Paid API

Scope tamrack:economy:read

{ type, records, data }: life expectancy by municipality and sex, births and deaths by municipality, or Alberta's leading causes of death.

typeWhich dataset to return. Leave it out to get the list of types.life-expectancy (Paid API) · births-deaths (Paid API) · leading-causes (Paid API)
municipalityOne municipality, for life-expectancy and births-deaths.

Cache: Yearly releases. Cache for a day.

curl "https://flossypurse.studio/data/api/health-data?type=life-expectancy&municipality=Edmonton" \
  -H "Authorization: Bearer tk_your_key"

GET /api/crimeCrime· by type, marked below

Scope tamrack:economy:read

Depends on type: the Crime Severity Index for Alberta municipalities, Calgary crime and disorder counts by community, or (type=csi-statcan) Statistics Canada's total, violent and non-violent Crime Severity Index for every Alberta police service since 1998.

typeWhich dataset to return. Leave it out to get the list of types.severity (Charts only) · calgary-crime (Paid API) · calgary-disorder (Paid API) · csi-statcan (Free API)
municipalityOne municipality, for type=severity.
categoryOne crime category, for type=calgary-crime, e.g. Assault.
police_servicePart of a police service's name, for type=csi-statcan, e.g. Red Deer.
yearOne year, for type=csi-statcan.

Cache: Cached a day on our side. Cache for a day.

curl "https://flossypurse.studio/data/api/crime?type=severity&municipality=Calgary" \
  -H "Authorization: Bearer tk_your_key"

GET /api/safetyAlerts, representatives, collisions, workplace injury· by type, marked below

Scope tamrack:economy:read

{ type, count, data } for alerts/mlas/districts: Environment Canada alerts for Alberta, sitting MLAs, or the electoral district boundaries. { type, unit, caveat, source, notice, records, data } for type=collisions (Alberta traffic collision statistics: counts, rates, jurisdiction comparisons or urban/rural location, as published in the annual reports) and type=workplace-injury (WCB-Alberta accepted claims and fatalities, province or sector).

typeWhich dataset to return. Default "alerts".alerts (Paid API) · mlas (Charts only) · districts (Charts only) · collisions (Paid API) · workplace-injury (Paid API)
grouptype=collisions: counts, rates, jurisdictions or location. type=workplace-injury: province, sectors or fatalities. Leave out for every group.
fromtype=collisions and type=workplace-injury: earliest period, YYYY-MM-DD.

Cache: Alerts: cache for 30 minutes. MLAs and districts: cache for a day. Collisions and workplace injury: published yearly, cache for a day.

curl "https://flossypurse.studio/data/api/safety?type=alerts" \
  -H "Authorization: Bearer tk_your_key"

GET /api/fireFire incidents· by type, marked below

Scope tamrack:economy:read

{ type, records, data }: Edmonton Fire Rescue incidents (recent, by type, by neighbourhood, or by month), active Alberta wildfires (CWFIS), or 511 Alberta alerts.

typeWhich dataset to return. Leave it out to get the list of types.edmonton-recent (Paid API) · edmonton-by-type (Paid API) · edmonton-by-neighbourhood (Paid API) · edmonton-trend (Paid API) · active-fires (Charts only) · alerts (Charts only)
limitRows for edmonton-recent (default 1000) and edmonton-by-neighbourhood (default 25).
yearsYears of history for edmonton-trend. Default 3.

Cache: Alerts: cache for 5 minutes. Everything else: cache for an hour.

curl "https://flossypurse.studio/data/api/fire?type=edmonton-trend" \
  -H "Authorization: Bearer tk_your_key"

GET /api/wildfireWildfire history· Paid API

Scope tamrack:economy:read

{ source, records, data }: the 200 most recent historical Alberta wildfires with year, cause, size and location. From Alberta Open Data.

Cache: Yearly release. Cache for a day.

curl "https://flossypurse.studio/data/api/wildfire" \
  -H "Authorization: Bearer tk_your_key"

GET /api/environmentWater, rivers, wildfires, earthquakes· by type, marked below

Scope tamrack:economy:read

Depends on type: Environment Canada water-level stations, active and season wildfires from Alberta Wildfire, or earthquakes in Alberta from the USGS. type=river-history: one Water Survey station's daily mean discharge (m3/s) and level (m) for every day we have stored (ECCC keeps 30 days of real-time data; we keep the daily means from October 2026 on). type=river-summary: every Alberta station's latest daily mean with the min, median and max of its stored days.

typeWhich dataset to return. Default "water".water (Paid API) · wildfires (Charts only) · earthquakes (Paid API) · river-history (Paid API) · river-summary (Paid API)
daysDays to look back for type=earthquakes. Default 365.
stationWater Survey station number, e.g. 05DF001 (North Saskatchewan at Edmonton). Required for type=river-history.
variabledischarge or level, for the river types. Default both.
sinceFirst day (YYYY-MM-DD) for the river types.

Cache: Cached an hour on our side. Cache for an hour.

curl "https://flossypurse.studio/data/api/environment?type=wildfires" \
  -H "Authorization: Bearer tk_your_key"

GET /api/educationStudent enrolment and exam results· Paid API

Scope tamrack:economy:read

{ type, records, data }: Alberta student enrolment from Alberta Education and Childcare, counts only. type=enrolment-authorities: students by school authority and grade for each school year since 2016/17 (without authority, the province lines: all grades, each grade and each type of authority). type=enrolment-schools: each school's total for one authority or one school. First Nation school figures are removed by the publisher and are not included. type=pat-results: Provincial Achievement Test writers and the shares at the acceptable standard and standard of excellence, by course, for the province (no authority) or a school authority, the publisher's latest five exam years. type=diploma-results: the same for diploma exams, with participation rates, 2012 to 2016 (not published since). An authority's figures for a course with 1 to 5 writers are withheld (null).

typeWhich dataset to return. Leave it out to get the list of types.enrolment-authorities (Paid API) · enrolment-schools (Paid API) · pat-results (Paid API) · diploma-results (Paid API)
courseFor pat-results and diploma-results: part of a course name, e.g. "Mathematics 9" or "Biology 30".
authoritySchool authority code (e.g. 2305) or, for enrolment-authorities, part of its name.
schoolFor enrolment-schools: a school code or part of a school name.
gradeFor enrolment-authorities: total, ecs, ungraded, or grade-1 to grade-12.
yearSchool year by the year it starts: 2025 for 2025/2026.

Cache: Published yearly, preliminary in the fall and final later. Cache for a day.

curl "https://flossypurse.studio/data/api/education?type=enrolment-authorities&authority=2305" \
  -H "Authorization: Bearer tk_your_key"

GET /api/weatherWeather and air quality· Paid API

Scope tamrack:economy:read

{ type, count, data }: current conditions for Alberta cities, current air quality (AQHI), or monthly temperatures for one climate station. From Environment Canada.

typeWhich dataset to return. Default "current".current (Paid API) · aqhi (Paid API) · climate (Paid API)
stationClimate station id for type=climate. Default "3012216" (Edmonton).
limitMonths for type=climate. Default 60.

Cache: Current and AQHI: cache for 30 minutes. Climate: cache for a day.

curl "https://flossypurse.studio/data/api/weather?type=aqhi" \
  -H "Authorization: Bearer tk_your_key"

GET /api/trafficRoads and traffic· by type, marked below

Scope tamrack:economy:read

511 Alberta road conditions, events and alerts, and Edmonton and Calgary traffic disruptions. type=all returns { roads, events, alerts }.

typeWhich dataset to return. Default "all".roads (Charts only) · events (Charts only) · alerts (Charts only) · edmonton (Paid API) · calgary (Paid API) · all (Charts only)

Cache: Cached 10 minutes on our side. Cache for 10 minutes.

curl "https://flossypurse.studio/data/api/traffic?type=roads" \
  -H "Authorization: Bearer tk_your_key"

Connect an MCP client

The server is at https://flossypurse.studio/data/api/mcp (Streamable HTTP). Put your key where it says tk_your_key. Each tool call counts as one request.

Claude Code · Run in a terminal.

claude mcp add --transport http data https://flossypurse.studio/data/api/mcp \
  --header "Authorization: Bearer tk_your_key"

Cursor · In ~/.cursor/mcp.json.

{
  "mcpServers": {
    "data": {
      "url": "https://flossypurse.studio/data/api/mcp",
      "headers": {
        "Authorization": "Bearer tk_your_key"
      }
    }
  }
}

VS Code · In .vscode/mcp.json.

{
  "servers": {
    "data": {
      "type": "http",
      "url": "https://flossypurse.studio/data/api/mcp",
      "headers": {
        "Authorization": "Bearer tk_your_key"
      }
    }
  }
}

Ask your agent to call tamrack_catalog first. It lists every tool, indicator and municipality, so the agent picks the right tool instead of guessing.

MCP tools

19 tools, read from the server's own registry.

tamrack_catalog · Free API (lists what there is)

Returns the full Data MCP inventory: tools, domains, indicators per domain, live municipalities, and example invocations. Call this first when you don't already know what's available — it's a single call, no parameters, no upstream fetches.

Example: Discover the full Data MCP inventory before issuing any data query. {}

tamrack_macro · by indicator, marked below

Macro indicators for Canada / Alberta: BoC policy rate and CAD/USD (Bank of Canada Valet), StatsCan unemployment / CPI / GDP / housing starts, conventional 5y mortgage rate, Alberta Activity Index.

Example: Bank of Canada policy rate over the last year (daily series). {"indicator":"policy_rate","time_range":"last_year"}

tamrack_regional · depends on the indicator; see plans

Alberta Regional Dashboard — the workhorse municipal indicator surface. 54 indicators (population, labour, permits, sale prices, vacancy, migration, etc.) across ~340 municipalities. Falls back to Postgres snapshots when the upstream API is down.

Example: Edmonton building permit values from the regional dashboard. {"indicator":"Building Permits","municipality":"edmonton"}

tamrack_municipality · depends on the slug; see plans

Registry entry + summary card for a single Alberta municipality (population, region, capabilities, available datasets). Use this when you need to know what a municipality exposes before fanning out across other tools.

Example: Inspect what data is available for Edmonton. {"slug":"edmonton"}

tamrack_real_estate · depends on the municipality; see plans

Municipal real estate datasets — property assessments, building permits, development permits — via ArcGIS / Socrata. Coverage depends on the municipality's registry entry; tools surface `{ available: false, reason }` rather than throwing for unavailable datasets.

Example: Top-25 residential assessments + by-zoning groups for Edmonton. {"municipality":"edmonton","dataset":"assessments","limit":25}

tamrack_housing · Free API

CMHC Housing Market Information — starts, completions, under-construction, vacancy, rents, absorptions, conventional mortgage rate.

Example: Edmonton + Calgary CMA housing starts over the last 5 years (monthly). {"dataset":"starts","time_range":"last_5y"}

tamrack_business · by category, marked below

Business indicators — Edmonton + Calgary licences, StatsCan business counts, GHG facilities + top emitters, WCB classifications, non-profits, ISED corporate counts.

Example: Top 30 Alberta GHG-emitting companies (ECCC). {"category":"top_emitters"}

tamrack_energy · by dataset, marked below

CER pipeline throughput / incidents / apportionment and Alberta oil production. AESO pool price / supply-demand / forecast are charts only: refused through the API on every plan (licence).

Example: NGTL pipeline throughput and utilization (CER monthly CSV). {"dataset":"pipeline_throughput","pipeline":"NGTL"}

tamrack_search · Free API

Long-tail escape hatch — searches the Alberta CKAN catalogue (open.alberta.ca) for datasets the typed tools don't expose. Returns ranked results with dataset ids you can follow up on.

Example: Find Alberta open datasets about wildfire suppression. {"query":"wildfire suppression"}

tamrack_opportunities · Paid API

Demand-side feed — CanadaBuys federal open tender notices (IT/software/AI/data, Alberta + nationally-deliverable), soonest-closing first. Flipped to live by its MCP tool handler, opportunities.ts.

Example: Federal IT/software tenders still open, soonest-closing first. {"dataset":"tenders","open_only":true,"limit":20}

tamrack_hiring · Paid API

Latent-demand hiring signals — Alberta postings for manual-process/automatable back-office roles (Canada Job Bank, ESDC open data), with NOC/sector/city breakdowns + month-over-month momentum. Flipped to live by its MCP tool handler, hiring.ts.

Example: Latest Alberta hiring-strain summary (automatable roles). {"dataset":"signals"}

tamrack_leads · Charts only

Per-geo demand-heat composite — ranks Alberta municipalities by a weighted aggregate of hiring momentum (Job Bank Tier-B postings + MoM growth), permit expansion (municipality permit volume + growth), business formation (Incorporations from Alberta Regional Dashboard), and provincial procurement backdrop (open CanadaBuys tenders). Compute-on-read, no DB writes. Flipped to live by its MCP tool handler, leads.ts.

Example: Top 10 Alberta municipalities by demand-heat composite score. {"dataset":"ranking","limit":10}

tamrack_safety · by dataset, marked below

(v2) Public safety — crime, fire, wildfire, and Alberta 511 alerts. Deferred to v2.

Example: All Alberta municipal Crime Severity Index (latest periods). {"dataset":"crime_severity"}

tamrack_immigration · Paid API

(v2) IRCC immigration data — by category, CMA, occupation, and trend. Deferred to v2.

Example: Alberta PR landings per year. {"dataset":"timeseries"}

tamrack_politics · Charts only

(v2) MLAs, MPs, electoral districts, votes, debates, and election results. Deferred to v2.

Example: List all Alberta MLAs with party and district. {"dataset":"mlas"}

tamrack_fiscal · Paid API

(v2) Provincial grants, federal transfers, federal contracts and grants. Deferred to v2.

Example: Federal transfers to Alberta (all years). {"dataset":"transfers"}

tamrack_environment · by dataset, marked below

(v2) Water levels, AQHI air quality, earthquakes, climate. Deferred to v2.

Example: Current Alberta air quality by station. {"dataset":"aqhi"}

tamrack_education · Paid API

Alberta student enrolment and exam results from Alberta Education and Childcare, served from Data's store. Dataset `enrolment_authorities` returns students by school authority and grade for every school year since 2016/17 (September counts) — optional `authority` (code or part of a name), `grade`, `year`; without an authority it returns the province lines (all grades, each grade, and each authority category: public, separate, francophone, charter, private, provincial). Dataset `enrolment_schools` returns each school's total enrolment for one `authority` code or one `school`. Dataset `pat_results` returns Provincial Achievement Test results by course (writers, % at the acceptable standard, % at the standard of excellence) — optional `authority`, `course`, `year`; without an authority it returns the province lines. Dataset `diploma_results` is the same shape for diploma exams, with a 3-year participation rate added; last re-published for the 2015/2016 school year. Counts only, as published: never a row about one student or a few students (an authority cell under 6 writers is withheld), and First Nation school-level enrolment figures are removed by the publisher. Scope required: tamrack:regional:read.

Example: Alberta enrolment, all grades, every school year. {"dataset":"enrolment_authorities","grade":"total"}

tamrack_health · Paid API

(v2) Life expectancy, births/deaths, causes of death. Deferred to v2.

Example: Province-wide top causes of death for the latest stored year. {"dataset":"causes_of_death"}

Found a wrong number or a broken endpoint? Tell us.