WhenIsBins · Schema

LookupRequest

Send only the field or fields `GET /addresses` asked for. Any field not listed here is rejected with 400 `invalid_request` naming it — the body is not silently ignored.

CompanyBin CollectionUnited KingdomWaste

Properties

Name Type Description
postcode string
property string The first line of the address (optional — free text, including the manual-entry flow): a house number or name, optionally preceded by its flat/unit and followed by its street, comma-separated — `15`,
property_id string A candidate id previously returned; selects the service's stored candidate mapping and is not itself council-address evidence.
street string Street/road name, accepted only when GET /addresses requests a street-based input.
locality string Council-recognised town, locality, settlement, island, or legacy collection area when requested by GET /addresses.
normal_weekday string Citizen-confirmed normal collection weekday. It is used only inside dates/weeks the council explicitly publishes and is never inferred from a neighbour.
property_type string City of London residential service model when requested; rule-level results are not represented as a dated property calendar.
allow_postcode_representative boolean Q10 consent flag. Send ONLY after the citizen explicitly opts in to labelled neighbour-based dates; honoured only when the exact property is not listed. Never the default.
View JSON Schema on GitHub

JSON Schema

whenisbins-com-lookup-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whenisbins-com/json-schema/whenisbins-com-lookup-request-schema.json",
  "title": "LookupRequest",
  "description": "Send only the field or fields `GET /addresses` asked for. Any field\nnot listed here is rejected with 400 `invalid_request` naming it —\nthe body is not silently ignored.\n",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whenisbins-com-openapi.yaml#/components/schemas/LookupRequest",
  "type": "object",
  "required": [
    "postcode"
  ],
  "properties": {
    "postcode": {
      "type": "string"
    },
    "property": {
      "type": "string",
      "maxLength": 300,
      "description": "The first line of the address (optional — free text, including the\nmanual-entry flow): a house number or name, optionally preceded by\nits flat/unit and followed by its street, comma-separated —\n`15`, `Rose Cottage`, `Flat 2, 60, Kings Road`. It must carry a\nhouse number or a house/building name; a flat, floor or unit\ndescriptor alone is refused with `property_identifier_required`.\nIgnored when `property_id` is given.\n"
    },
    "property_id": {
      "type": "string",
      "maxLength": 128,
      "description": "A candidate id previously returned; selects the service's stored candidate mapping and is not itself council-address evidence."
    },
    "street": {
      "type": "string",
      "maxLength": 200,
      "description": "Street/road name, accepted only when GET /addresses requests a street-based input."
    },
    "locality": {
      "type": "string",
      "maxLength": 200,
      "description": "Council-recognised town, locality, settlement, island, or legacy collection area when requested by GET /addresses."
    },
    "normal_weekday": {
      "type": "string",
      "description": "Citizen-confirmed normal collection weekday. It is used only inside dates/weeks the council explicitly publishes and is never inferred from a neighbour.",
      "enum": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday",
        "Saturday",
        "Sunday"
      ]
    },
    "property_type": {
      "type": "string",
      "description": "City of London residential service model when requested; rule-level results are not represented as a dated property calendar.",
      "enum": [
        "private_flat_without_bin_store",
        "private_block_with_bin_store",
        "housing_estate",
        "street_bag_collection"
      ]
    },
    "allow_postcode_representative": {
      "type": "boolean",
      "default": false,
      "description": "Q10 consent flag. Send ONLY after the citizen explicitly\nopts in to labelled neighbour-based dates; honoured only\nwhen the exact property is not listed. Never the default.\n"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/whenisbins-com-lookup-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.