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.
# KWL Skill — integration brief
Receipted behavioural intelligence about European consumer markets, over REST and MCP.
Generated from the published contract, so every path and status below is what the
service serves today.
## Transports
REST https://skill.knowwhatsloved.com
MCP https://skill.knowwhatsloved.com/mcp (server name: kwl)
## Authentication
Send the access key as a header: X-Api-Key: your-access-key
Replace your-access-key with the key shown on the account page.
A bearer token in the Authorization header works too, and so does a `key` query
parameter — which is the route to prefer last, because a credential in a URL is
carried in logs, referrers and anything that copies the address.
A key comes with a free account: https://www.knowwhatsloved.com/register/
There is no separate developer registration, and no second credential to request.
MCP clients may use OAuth 2.1 instead; the token carries the account identity and no
permissions of its own, and opens no market the account does not already hold.
## Endpoints (10 paths, 10 tools)
A * marks a required parameter.
GET /v1/markets
tool: list_markets
query: quarter
GET /v1/markets/{market}
tool: market_read
query: market*, quarter
GET /v1/sectors/{market}
tool: sector_read
query: market*, sector, quarter
GET /v1/compare
tool: compare
query: a*, b*, quarter
mcp args: market_a, market_b, quarter (REST and MCP name these differently)
GET /v1/resemble/{market}
tool: resemble
query: market*, quarter
GET /v1/europe
tool: europe_picture
query: quarter
GET /v1/league/{metric}
tool: league
query: metric*, quarter
GET /v1/whitespace
tool: whitespace
query: quarter
GET /v1/objects
tool: objects
query: id, market, sector, period, type, scope, quarter
GET /v1/movers
tool: movers
query: category, market, tag, direction, limit, quarter
## Status codes
200 Answered — or a refusal carrying its reason.
400 The route is right and the shape is wrong.
401 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.
403 Your entitlement does not cover this.
404 Either no such route, or a quarter KWL does not publish.
429 The hourly allowance is spent.
Full descriptions of each, and of every endpoint, are in the contract linked below.
## The unit of the product: an intelligence object (16 fields)
Types: counter_signal, divergence, finding, observed, outlier
The fields that carry the argument rather than the envelope:
id, type, statement_key, measurements, comparison_basis, eligibility, evidence_lineage, allowed_interpretation, prohibited_interpretation, confidence
Full field inventory and every endpoint description:
https://www.knowwhatsloved.com/openapi.json
https://www.knowwhatsloved.com/mcp-tools.json
## Rules this data must be used under
- KWL makes DESCRIPTIVE claims about how a market currently behaves. No predictive
or forecasting claim is licensed. Do not restate a read as a prediction.
- Every object carries prohibited_interpretation. It travels with the object because it
binds whoever uses it. Respect it as written.
- A withholding is 200 carrying its reason, NOT an empty result.
Never render a withheld measurement as zero or as "nothing moved".
- An entitlement refusal is 403: an authorization outcome, not an intelligence one. It
means buy or request access, never "nothing was found".
- Quote the receipt that comes with a figure. A figure without its receipt is not an
answer, however plausible it looks.
- State what is outside coverage rather than filling the gap from your own knowledge.
## Allowance
300 requests per 3600 seconds on a free account,
2000 on a paid one. Spending it answers 429 with Retry-After.
## Editions
Held: Q3 2026. One edition is served at a time — this is a published
read of the current quarter and not a history you can query. 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.
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.
{
"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.
curl https://skill.knowwhatsloved.com/health {
"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.
curl -H "X-Api-Key: your-access-key" \
"https://skill.knowwhatsloved.com/v1/meta" - Fields in a market read
namedatepositiontldrweathersignalsevidencebrandActivitycaveatcoverage
- Fields in an intelligence object
idtypemarketsectorperiodstatement_keyparamsmeasurementscomparison_basiseligibilityevidence_lineageallowed_interpretationprohibited_interpretationconfidencenotescope
- Object types in this edition
counter_signaldivergencefindingobservedoutlier
- Fields in GET /v1/meta
versiondataendpointsentitlement
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.
https://skill.knowwhatsloved.com/mcp REST
One GET per capability, curl-testable, for anything that does not speak MCP.
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.
OpenAPI document MCP tool registry
| Path | Tool | Parameters |
|---|---|---|
Path GET /v1/markets | Tool list_markets | Parameters
|
Path GET /v1/markets/{market} | Tool market_read | Parameters
|
Path GET /v1/sectors/{market} | Tool sector_read | Parameters
|
Path GET /v1/compare | Tool compare | Parameters
|
Path GET /v1/resemble/{market} | Tool resemble | Parameters
|
Path GET /v1/europe | Tool europe_picture | Parameters
|
Path GET /v1/league/{metric} | Tool league | Parameters
|
Path GET /v1/whitespace | Tool whitespace | Parameters
|
Path GET /v1/objects | Tool objects | Parameters
|
Path GET /v1/movers | Tool movers | Parameters
|
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.
| Status | What 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.
{
"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."
} {
"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.