KWL

Developers

Connect an agent to
a governed market read.

KWL serves behavioural intelligence for eleven European markets to software and to agents. Every figure carries the source it came from and the period it covers, and every claim carries what it does and does not license you to conclude. A read, not a forecast.

Quickstart

Your first read, in two calls.

Hand this to your coding agent

A single brief with the endpoint, the authentication header, every route the contract declares, what each status means, and the rules a published read has to be used under. It is generated from the contract, so it is in English too.

Read a market

Your key is on your account page. Send it as a header: it is read from the header first, a bearer token second and a query parameter last, and a query parameter is recorded by every proxy and log between you and this server. This path returns the whole current read for one market — its position, the quarter’s signals with their receipts, and the coverage statement saying what KWL does not measure.

Request
curl -H "X-Api-Key: your-access-key" \
  "https://skill.knowwhatsloved.com/v1/markets/at"

What comes back

A market read returns these fields, and an intelligence object those. The governed position, which is where a market sits this quarter, is not printed here: it is published to no anonymous reader anywhere on this site, and it is behind your own key. An object resting on a published statistic is a different matter, and one follows.

A real object

This is an object from the current edition, returned by that path. Its figure comes from a published statistical series and the measurement names the source, so you can check it at its origin. What KWL adds is what surrounds it: the basis it is compared on, the set the rule was eligible across, what the evidence supports, and what it does not.

Response
{
  "id": "fin_3426f8854a9d44b5",
  "type": "finding",
  "market": "AT",
  "sector": "Finance & fintech",
  "period": "2026-08",
  "statement_key": "finding.household_mortgage_rate",
  "params": {
    "yoy_points": 0.26,
    "value": 3.61,
    "period": "2026-08"
  },
  "measurements": [
    {
      "instrument": "ecb_mir",
      "series": "ECB_HH_MORTGAGE_RATE",
      "period": "2026-08",
      "key": "ecb_mir:ECB_HH_MORTGAGE_RATE:2026-08",
      "value": 0.26,
      "unit": "pts YoY",
      "basis": "rate charged to households on new housing loans",
      "source": "ECB Data Portal · MIR · AT",
      "label": "Household mortgage rate"
    }
  ],
  "comparison_basis": "year on year, same month",
  "eligibility": {
    "rule": "governed sector rule",
    "state": "finding"
  },
  "evidence_lineage": [
    "ecb_mir"
  ],
  "allowed_interpretation": [
    "That the rate charged to households on new housing loans moved by the stated number of points, in the stated period."
  ],
  "prohibited_interpretation": [
    "Borrowing, lending volumes, switching, saving or default.",
    "Any claim that households responded to the rate.",
    "Any forecast."
  ],
  "confidence": "governed",
  "note": "An intelligence object is a governed relationship between measurements. It is not a sector classification: where a sector state is withheld, no object asserts one.",
  "scope": "market"
}

Check the service

This one needs no credential and nothing to sign up for: it answers with the service name, the version, and whether it is up. The edition detail, the object counts and which source published in which period are behind the gate, at GET /v1/meta, which also reports what your own key covers.

Request
curl https://skill.knowwhatsloved.com/health
Response
{
  "name": "KWL Skill",
  "version": "0.2.0",
  "status": "ok"
}

And what your own key covers

Behind the gate, so it answers only a credential that resolved. It reports the edition, the object counts, which source published in which period, and the markets, the cross-market access and the editions your key is entitled to — which is what you want in front of you when you are reading a 403.

Request
curl -H "X-Api-Key: your-access-key" \
  "https://skill.knowwhatsloved.com/v1/meta"
Fields in a market read
  • name
  • date
  • position
  • tldr
  • weather
  • signals
  • evidence
  • brandActivity
  • caveat
  • coverage
Fields in an intelligence object
  • id
  • type
  • market
  • sector
  • period
  • statement_key
  • params
  • measurements
  • comparison_basis
  • eligibility
  • evidence_lineage
  • allowed_interpretation
  • prohibited_interpretation
  • confidence
  • note
  • scope
Object types in this edition
  • counter_signal
  • divergence
  • finding
  • observed
  • outlier
Fields in GET /v1/meta
  • version
  • data
  • endpoints
  • entitlement

The unit

What you retrieve is an intelligence object, not a row.

An intelligence object is a finding with its evidence and its limits attached. It carries the measurements behind the claim, their sources and the basis they are compared on, the period and the markets covered, and the interpretations the evidence supports or prohibits.

The prohibition is the field to read before you put an object in front of anyone. It is part of the object rather than a note beside it, so an agent that forwards the claim and drops the prohibition has changed what was published.

An object id is hashed from measurement identity rather than from prose, so it is stable across rewording and translation and safe to quote back. Stable identity is not availability: whether the same object is published in a later edition depends on whether its rule ran and qualified again, which is a separate question and one to ask rather than assume.

What relationship an object states

The type field names which. Each kind also carries the set of markets its rule was eligible across, so a prevalence cannot be read against the wrong denominator.

counter_signal
An opinion or salience instrument pointing the other way from a behaviour instrument. Two constructs, two instruments, and the object forbids combining them into one score.
divergence
Two legs of one measurement contract moving in opposite directions, in the same month and from the same instrument.
finding
A sector rule that ran and qualified. One measurement, compared year on year against the same month.
observed
A measurement published with its limits and deliberately not classified. The advertiser counts are the case: disclosed records per advertiser page, with no common denominator between pages, and nothing about spend or reach.
outlier
The sole eligible market holding a state. A state that asserts no direction is never an outlier, and the object forbids any ranking of the others.

What the fields carry

id
Hashed from the schema version, type, market, sector, period and the sorted measurement keys. No rendered string is in it, which is why rewording or translating an object leaves the id untouched.
type
Which of the relationships above the object asserts.
statement_key
A catalogue key and its parameters. No sentence is stored, so the object is language-independent and a translation cannot carry a figure the object does not hold.
measurements
Every measurement behind the claim, each naming the instrument it came from and the period it covers.
comparison_basis
The basis the measurements are compared on. Read it before you compare anything in the object to anything outside it.
eligibility
The set the rule was eligible across and how many qualified. A prevalence read against any other denominator is wrong.
evidence_lineage
The distinct instruments the object rests on. Two objects with one lineage are one finding, however many types they occupy.
allowed_interpretation
What the evidence supports, as a list.
prohibited_interpretation
What it does not. This is the field that has to travel with the claim.
confidence
How the object qualified, in the vocabulary its own rule used.

What this has to answer

Five questions, in the order you will hit them.

How do I authenticate?
An access key from your account, sent as a header. That is the whole of it for REST. An access key and OAuth authenticate against the same KWL account and the entitlements it already holds: an OAuth client receives its own access token, that token carries the account’s identity and no permissions of its own, and it neither creates a subscription nor opens a market the account has not got. Reach for OAuth when you are connecting an assistant rather than writing a client. The authorization code flow with PKCE is what a connector uses, and a client can register itself and discover the endpoints, so nobody has to be told a client id.
How do I retrieve an intelligence object?
By its stable id, or by filtering on market, sector, measurement period, type or scope. The same call is one tool over MCP and one path over REST.
How do I know which edition it belongs to?
Every response is stamped with the edition that produced it. One edition is served at a time, and naming a quarter KWL does not hold is refused rather than answered from a different one.
What am I licensed to access?
Coverage and synthesis are separate questions, and your credential answers them separately: which markets you may read, and whether the view across them — the European picture, league tables, comparison — is included. A request outside either is refused and told which.
What does the evidence support, or prohibit?
Read the object. Where a rule exists and its evidence could not be published this edition the response says so and asserts nothing about change: a withheld measurement is not an absence of movement, an empty result or a stable market. Where a sector was measured and deliberately not classified, the figures are published and no finding is asserted about them.

Delivery

Two transports, one capability.

Each REST path is a thin translation of one MCP tool: both transports expose the same governed intelligence and the same entitlement rules. What an assistant then says about a result is its own, which is the reason the prohibition travels inside the object. Choose by what your client speaks rather than by what it can reach.

MCP

Streamable HTTP JSON-RPC. Add it as a custom connector and the tools appear in chat. This is the route to prefer if your client speaks it.

Endpoint
https://skill.knowwhatsloved.com/mcp

REST

One GET per capability, curl-testable, for anything that does not speak MCP.

Header
X-Api-Key: your-access-key

OAuth, and how a client finds it

An unauthenticated request answers 401 with a WWW-Authenticate challenge naming where the protected-resource metadata lives. A client reads that, follows it to the authorization server document, and may register itself: no client id has to be issued by hand and nothing has to be configured out of band. The authorization code flow with PKCE is what a connector uses, and the token it receives carries the account’s identity and no permissions of its own.

Reference

The contract, generated from the implementation.

The table below and the two documents it links are generated from the running code: the route table the server dispatches on, and the tool registry it answers from. Nothing in them is maintained by hand, and a build fails if either has drifted from what is served.

The contract itself is in English, including every endpoint and parameter description, because those are the exact strings your client is handed and the ones you will be reading on screen.

Path Tool Parameters
Path GET /v1/markets Tool list_markets Parameters
  • quarter
Path GET /v1/markets/{market} Tool market_read Parameters
  • market required
  • quarter
Path GET /v1/sectors/{market} Tool sector_read Parameters
  • market required
  • sector
  • quarter
Path GET /v1/compare Tool compare Parameters
  • MCP: market_a, market_b, quarter
  • a required
  • b required
  • quarter
Path GET /v1/resemble/{market} Tool resemble Parameters
  • market required
  • quarter
Path GET /v1/europe Tool europe_picture Parameters
  • quarter
Path GET /v1/league/{metric} Tool league Parameters
  • metric required newsTone | confidence | bigTicket | behavingBetter
  • quarter
Path GET /v1/whitespace Tool whitespace Parameters
  • quarter
Path GET /v1/objects Tool objects Parameters
  • id
  • market
  • sector
  • period
  • type finding | divergence | counter_signal | outlier | observed
  • scope market | europe
  • quarter
Path GET /v1/movers Tool movers Parameters
  • category
  • market
  • tag
  • direction rising | up | falling | down
  • limit
  • quarter

Edition served: Q3 2026 REST paths / MCP tools: 10 / 10

Status codes, and the one that is missing

A refusal tells you which kind it is, and the status is the fastest way to read that. 403 means your entitlement does not cover it, and the body names what your key does cover. 200 with a withholding means the rule ran and its evidence could not be published this edition: nobody can read it, so there is nothing to buy and nothing to retry. 401 is a credential that does not resolve, 404 either a route that does not exist or an edition KWL does not publish, 429 the allowance with Retry-After.

StatusWhat it means
Status 200 What it means Answered — or a refusal carrying its reason.
Status 400 What it means The route is right and the shape is wrong.
Status 401 What it means No credential, or one that does not resolve. It is answered before the route is read, so an unknown path presented without a key is a 401 and never a 404 — validating the shape of a call we are refusing would say what a valid one looks like.
Status 403 What it means Your entitlement does not cover this.
Status 404 What it means Either no such route, or a quarter KWL does not publish.
Status 429 What it means The hourly allowance is spent.

What a refusal looks like

Both of these come from the running service. A withholding is a 200 whose body says the rule ran and its evidence is not published this edition, and it is the one shape a client must never read as an empty result: there is no list to filter and no zero to report. A quarter KWL does not hold is a 404 that names the editions it does.

A withholding · 200
{
  "edition": "Q3 2026",
  "editions_held": [
    "Q3 2026"
  ],
  "state": "withheld",
  "why": "withheld: a brand's OWN year-on-year search volume, at any precision. Repeated identical measurement did not reproduce it and the archived production configurations show individual-brand sign reversals. What IS published is a brand's SHARE within a named basket and its year-on-year change in points - a different measurement, taken in one jointly scaled request - on the governed objects: ask `objects`, and read that object's own allowed_interpretation. Entity coverage is in sector_read.evidence_rows, which carries NO movement.",
  "count": null,
  "movers": [],
  "categories": [],
  "asked": {
    "category": null,
    "market": "at",
    "tag": null,
    "direction": null
  },
  "note": "This is a WITHHOLDING, not an empty result. No brand movement is published for this edition, so there is no list to filter and no zero to report — do not say that nothing moved, that no brand qualified, that a category was flat, or that a market was stable. Entity coverage IS published: `sector_read` returns the brands KWL observes for a sector in a market with their observed advertising, and `evidence_rows` carries them with no movement attached."
}
A quarter not held · 404
{
  "error": "KWL does not hold Q1 2020.",
  "asked": "Q1 2020",
  "resolved_to": "Q1 2020",
  "editions_held": [
    "Q3 2026"
  ],
  "state": "period_not_held",
  "why": "Each quarter is published as an immutable artefact and the Skill serves the editions it holds. It does not reconstruct a past quarter on request, and it does not answer from a different quarter than the one asked for.",
  "note": "Do not answer this from the current edition, and do not estimate it. Say which quarter KWL holds."
}

Allowance

Per account per hour, counted across both transports, and one tool call is one call — so an assistant answering a single question from four tools spends four. It bounds cost and abuse rather than metering a billable quantity, and there are no allowance headers on a successful response: only Retry-After on a refusal.

  • 300 calls an hour · Free
  • 2000 calls an hour · Premium Skill or enterprise

Choosing an edition

Every response identifies the edition that produced it. A request defaults to the current published edition; an explicitly requested earlier edition is served only when it has been published and the account is entitled to it, and a quarter KWL does not publish is refused with the editions it holds named rather than answered from another.

What the service keeps

Answering a request takes two database reads and no writes when you use an access key, or three when an app is connected: your credential to find your account, and the account to work out what it may read. The Skill stores nothing about the request itself and writes a log line only when its rate limiter is unreachable. That is a statement about KWL rather than about the whole path: as with any hosted service, the infrastructure in front of it logs basic technical data such as an IP address, which Privacy, in full sets out.

Limits

What it will not do.

No endpoint returns a prediction and no response licenses one. KWL makes descriptive claims about how a market currently behaves, each receipted to a public source; the predictive bridge was tested and did not hold, and that result is published. A league table is descriptive share of attention and not a ranking of outcomes.

There is no bulk export and no raw signal layer. What is served is the governed read, which is the thing that carries its evidence with it.

Start with an account.

A free account retrieves the current published market reads over both transports, subject to the hourly allowance. The European synthesis, the cross-market comparison tools and the sector intelligence require additional entitlements.

Those API entitlements are the premium Skill subscription or an enterprise key. The capabilities exist and are documented below; what is not yet generally available is a way to buy them — the premium Skill is dated to a coming edition rather than on sale, because what it adds is every published edition and one exists today. Buying the European report or a sector report gives you that document; it does not open the cross-market tools over the API. Every endpoint in the reference is listed because it exists, not because it can be licensed today.