{"x402Version":2,"name":"Postcode Context","description":"Comprehensive Great Britain Postcode & Outcode Intelligence API covering England, Scotland, and Wales. Returns ONS Census 2021 demographics, Index of Multiple Deprivation (IMD) deciles, HM Land Registry property sales and GBP/sqm estimates, LSOA/MSOA geographic codes, Ofcom broadband connectivity, and AI-ready socio-economic affluence scoring.","iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1792856918/bazaar-icons/772687455ebff498.png","payment":{"schemes":["exact"],"networks":["eip155:8453"],"networkName":"Base Mainnet","chainId":8453,"recipient":"0x8ab7568ac097523e81a94644235fcf19a2b85670","token":"USDC","tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"documentation":{"home":"https://api.postcodecontext.uk","llms_txt":"https://api.postcodecontext.uk/llms.txt","openapi_json":"https://api.postcodecontext.uk/openapi.json","data_dictionary":"https://api.postcodecontext.uk/data-dictionary","agent_card":"https://api.postcodecontext.uk/.well-known/agent-card.json","mcp_json":"https://api.postcodecontext.uk/.well-known/mcp.json"},"endpoints":[{"path":"/api/v1/postcode/{postcode}","method":"GET","price":"$0.005","amount":"5000","maxAmountRequired":"5000","description":"GET /api/v1/postcode/{postcode} - Get Great Britain Postcode Intelligence Profile","query_alternative":"/api/v1/postcode?postcode=SW1A1AA","parameters":{"path":{"postcode":{"type":"string","description":"Great Britain postcode (e.g. SW1A 1AA, BB7 3BB, EH1 1YZ, CF10 1EP). Accepts spaces, no spaces (SW1A1AA), or URL-encoded (+ / %20). Northern Ireland (BT) postcodes excluded.","example":"SW1A 1AA"}},"query":{"view":{"type":"string","description":"Slice target view: full (complete dataset, default), brief (or summary/ai, ~80 tokens brief), property (valuations & EPC), demographics (Census & IMD deciles), education (nearest schools & proximity), healthcare (nearest GP surgery), transit (rail & metro), or services (education, healthcare, transit & digital connectivity)"},"exclude":{"type":"string","description":"Comma-separated domains to exclude from payload: schools, healthcare, transit (e.g. exclude=schools,healthcare,transit)","example":"schools,healthcare,transit"},"format":{"type":"string","description":"Export format: json (default), flat, csv, or markdown/md (GitHub Flavored Markdown)"}}}},{"path":"/api/v1/postcode","method":"GET","price":"$0.005","amount":"5000","maxAmountRequired":"5000","description":"GET /api/v1/postcode?postcode=... - Single Postcode Socio-Economic Profile (query string alternative)","parameters":{"query":{"postcode":{"type":"string","description":"Valid Great Britain unit postcode (e.g. SW1A 1AA or SW1A1AA)","example":"SW1A1AA"}}}},{"path":"/api/v1/compare","method":"POST","price":"$0.010","amount":"10000","maxAmountRequired":"10000","description":"POST /api/v1/compare - Compare Great Britain Postcodes","query_alternative":"/api/v1/compare?postcodes=SW1A1AA,BB73BB","parameters":{"query":{"view":{"type":"string","description":"Slice target view for returned postcode profiles: full (complete dataset, default), brief (or summary/ai, ~80 tokens brief), property, demographics, education, healthcare, transit, or services"},"format":{"type":"string","description":"Export format: json (default), csv, or markdown/md (GitHub Flavored Markdown)"}}},"requestBody":{"postcodes":{"type":"array","description":"List of 2 to 5 Great Britain postcodes to compare (England, Scotland, Wales)","minItems":2,"maxItems":5,"items":{"type":"string","example":"SW1A 1AA"}}}},{"path":"/api/v1/compare","method":"GET","price":"$0.010","amount":"10000","maxAmountRequired":"10000","description":"GET /api/v1/compare?postcodes=... - Compare 2 to 5 Postcodes (comma-separated query string alternative)","parameters":{"query":{"postcodes":{"type":"string","description":"Comma-separated list of 2 to 5 unit postcodes to compare","example":"SW1A1AA,BB73BB"}}}},{"path":"/api/v1/batch","method":"POST","price":"$0.050","amount":"50000","maxAmountRequired":"50000","description":"POST /api/v1/batch - Batch Enrich Great Britain Postcodes (Defaults to view=\"brief\"; pass view=\"full\" for all 113 metrics)","query_alternative":"/api/v1/batch?postcodes=SW1A1AA,BB73BB","parameters":{"query":{"view":{"type":"string","description":"Slice target view across batch results: brief (~80 tokens brief summary, default to preserve context window budget), full (complete dataset per postcode), property, demographics, education, healthcare, transit, or services."},"format":{"type":"string","description":"Export format: json (default), flat, csv, or markdown/md (GitHub Flavored Markdown)"}}},"requestBody":{"postcodes":{"type":"array","description":"List of 1 to 50 Great Britain postcodes to enrich","minItems":1,"maxItems":50,"items":{"type":"string","example":"SW1A 1AA"}}}},{"path":"/api/v1/batch","method":"GET","price":"$0.050","amount":"50000","maxAmountRequired":"50000","description":"GET /api/v1/batch?postcodes=... - Bulk Postcode Enrichment (comma-separated query string alternative) (Defaults to view=\"brief\"; pass view=\"full\" for all 113 metrics)","parameters":{"query":{"postcodes":{"type":"string","description":"Comma-separated list of 1 to 50 unit postcodes","example":"SW1A1AA,BB73BB,EH11YZ"}}}},{"path":"/api/v1/outcode/{outcode}","method":"GET","price":"$0.005","amount":"5000","maxAmountRequired":"5000","description":"GET /api/v1/outcode/{outcode} - Get Great Britain Outward Code District Summary","query_alternative":"/api/v1/outcode?outcode=SW1A","parameters":{"path":{"outcode":{"type":"string","description":"Great Britain outward postal district code (e.g. BB7, SW1A, EH1, CF10)","example":"BB7"}},"query":{"view":{"type":"string","description":"Slice target view: full (complete dataset, default), brief (or summary/ai, ~80 tokens brief), property, demographics, education, healthcare, transit, or services"},"exclude":{"type":"string","description":"Comma-separated domains to exclude from payload: schools, healthcare (e.g. exclude=schools,healthcare)","example":"schools,healthcare"},"format":{"type":"string","description":"Export format: json (default), flat, csv, or markdown/md (GitHub Flavored Markdown)"}}}},{"path":"/api/v1/outcode","method":"GET","price":"$0.005","amount":"5000","maxAmountRequired":"5000","description":"GET /api/v1/outcode?outcode=... - Outward Postal District Summary (query string alternative)","parameters":{"query":{"outcode":{"type":"string","description":"Valid outward code (e.g. SW1A, BB7, M1, EH1)","example":"SW1A"}}}}]}