Updated 5 November 2026. Examples checked against the deployed PlanWire API contract. Output fixtures are fictional and do not establish current council coverage.
Keep source status separate from a normalized decision
The UK planning API preserves council wording in status and decision. There is no universal fixed status dictionary across all portals. Use the separate decisionOutcome field for broad decision grouping, and retain the original text and source URL for inspection.
| decisionOutcome | Meaning for an integration |
|---|---|
| approved | The classifier identifies an approval outcome in the record's context. |
| refused | A refusal outcome is identified. |
| withdrawn | The application was withdrawn. |
| other | A recognized outcome outside those three categories. |
| unknown | No usable classification is established. This is not proof that a decision is pending. |
Context matters: “no objection” on a tree notification is different from a consultee's comment; an appeal result is not interchangeable with an original council decision. Approval does not establish construction commencement. Do not use a string match alone to infer those facts.
Filter approvals using the decision field
Read-only normalized outcome filter
curl --fail-with-body --max-time 15 --get 'https://api.planwire.io/v1/applications' \
-H "X-API-Key: $PLANWIRE_KEY" \
--data-urlencode 'council=hackney' --data-urlencode 'decision_outcome=approved' \
--data-urlencode 'limit=5'status is a single source-text filter, not a comma-separated list of normalized states. Use one value from records you have actually inspected; do not assume status=approved,refused requests two outcomes. To combine outcome groups, make bounded separate requests and deduplicate using the PlanWire record id.
Understand application, decision and observation dates
Synthetic date and status excerpt
{
"status": "Pending consideration",
"decision": null,
"decisionOutcome": "unknown",
"applicationDate": "2026-11-03",
"applicationDateSource": "validatedDate",
"receivedDate": "2026-11-02",
"validatedDate": "2026-11-03",
"decisionDate": null,
"decisionFirstSeenAt": null,
"sourceCheckedAt": "2026-11-05T09:30:00.000Z",
"updatedAt": "2026-11-05T10:00:00.000Z"
}receivedDate: date the source says it received the application.validatedDate: date the source says it validated the application.applicationDate: the later available received/validated date;date_fromanddate_tofilter this value. With neither date, the record is excluded by a date filter.decisionDate: the usable captured source decision date; it can remain null even with a decision outcome.decisionFirstSeenAt: when PlanWire first observed a usable decision fact; older records can lack this timestamp. It is not a substituted council date.freshness.recordCheckedAt: last successful application-detail check; council-wide scrape time and databaseupdatedAthave different meanings.
Model unknown values explicitly
Keep null dates as null, retain the raw wording and use an explicit unknown bucket. A missing field can result from source publication, capture failure or unresolved metadata; it does not prove “not published”. Free historical identity samples omit current status, decisions and freshness entirely. Distinguish an omitted field under that access policy from a paid record containing a null.
Handle query failures separately from no matches
400 indicates an invalid request; 401/402/403 require key or entitlement review; 429 needs backoff. Treat 5xx and timeouts as failed requests. An empty successful data array only describes accessible matches. Do not reset a stored outcome because a subsequent query failed.
Download tested Python and JavaScript examples and the complete synthetic response. Use the postcode guide for geographic matching and the webhook guide to maintain local state. The dated field-completeness report shows the evidence behind missing-field states; the API evaluation page brings pricing, access and field semantics together.