{"uid":"cap_bQD-4fXVKQDcUyA5rALUw","slug":"axiomworks-uk-postcode-area-profile-6cc6b9fd","name":"Axiomworks UK Postcode Area Profile","description":"Use this for a UK postcode profile: ONS geography (LA, ward, constituency, LSOA, codes), lat/lon, police street crime last month by category (~1 mile), and FSA food hygiene rating mix nearby. All OGL. Example: {postcode:\"SW1A 2AA\"}. $0.005.","url":"https://api.axiomworks.co.uk/uk-area?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["postcode"],"properties":{"postcode":{"type":"string","description":"Full UK postcode, e.g. SW1A 2AA"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"crime":{"type":"object"},"location":{"type":"object"},"postcode":{"type":"string"},"geography":{"type":"object"},"food_hygiene":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"crime":{"month":"2026-08","source":"data.police.uk (OGL v3), street-level crimes within ~1 mile, latest month","by_category":{"drugs":140,"robbery":138,"burglary":90,"other-crime":19,"other-theft":776,"shoplifting":504,"public-order":184,"bicycle-theft":64,"vehicle-crime":75,"violent-crime":657,"anti-social-behaviour":559,"criminal-damage-arson":7,"possession-of-weapons":26,"theft-from-the-person":669},"total_within_1mile":3908},"source":"postcodes.io (ONS/OS, OGL) + data.police.uk + FSA, all Open Government Licence v3","location":{"lat":51.503541,"lon":-0.12767,"eastings":530047,"northings":179951},"postcode":"SW1A 2AA","geography":{"lsoa":"Westminster 018C","msoa":"Westminster 018","ward":"St James's","codes":{"ccg":"E38000256","ced":"E99999999","pfa":"E23000001","lau2":"E09000033","lsoa":"E01004736","msoa":"E02000977","nuts":"TLI35","ccg_id":"W2U3Z","parish":"E43000236","admin_ward":"E05013806","admin_county":"E99999999","admin_district":"E09000033","parliamentary_constituency":"E14001172","parliamentary_constituency_2024":"E14001172"},"county":null,"parish":"Westminster, unparished area","region":"London","country":"England","nhs_icb":"NHS West and North London","constituency":"Cities of London and Westminster","local_authority":"Westminster"},"food_hygiene":{"source":"Food Standards Agency ratings API (OGL v3)","lowest_rated":[],"average_rating":5,"rating_distribution":{"5":5000},"establishments_within_400m":5000}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NylUgZB3xst8m2w5fA0pr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a comprehensive UK postcode profile combining ONS geography codes, lat/lon, police street crime statistics (last month, ~1 mile radius), and FSA food hygiene ratings for nearby establishments.","exampleAgentPrompt":"Can you give me a full area profile for the postcode EC1A 1BB — I want the ONS geography codes, ward, constituency, local authority, coordinates, last month's crime breakdown by category within a mile, and the nearby food hygiene rating mix?","exampleUseCases":[{"title":"Due diligence on a retail site location","prompt":"We're evaluating a retail unit at postcode M1 1AE — can you pull the ONS geography codes, local authority, ward, recent crime stats within a mile broken down by category, and the food hygiene rating spread for nearby establishments?"},{"title":"Neighbourhood safety report for a property listing","prompt":"I'm writing a neighbourhood profile for a property in SE1 7PB — can you get me last month's street crime totals by type within about a mile, plus the local ward and constituency details?"},{"title":"Constituency and LSOA lookup for policy research","prompt":"I need the LSOA, MSOA, parliamentary constituency, and all ONS area codes for the postcode LS1 4DY — can you fetch that for me?"}],"resultDescription":"A JSON object containing: the input postcode; lat/lon and OS easting/northing; full ONS geography hierarchy (LSOA, MSOA, ward, local authority, county, region, country, constituency, parish, NHS ICB) with all numeric codes; police street crime totals for the latest available month aggregated by category (e.g. violent-crime, shoplifting, anti-social-behaviour) within ~1 mile radius with source attribution; and FSA food hygiene rating distribution and average for establishments within ~400m, all sourced under Open Government Licence v3.","failureModes":["Invalid or malformed postcode returns an error response","Postcode not found in postcodes.io returns a not-found error","Police crime data may be 1-2 months delayed due to data.police.uk update cadence","FSA data coverage may be incomplete in rural areas with few establishments","Terminated or non-geographic postcodes may lack full ONS geography codes"],"whenToPreferThis":"Choose this endpoint when you need a one-call enrichment of a UK postcode with official ONS geography codes, crime context, and food safety data — avoiding separate calls to postcodes.io, data.police.uk, and the FSA API. Ideal for property intelligence, neighbourhood profiling, compliance research, or any agent workflow that needs area context from open government data sources in a single cheap call ($0.005).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:35:10.344Z","isFirstParty":false,"canonicalSlug":"axiomworks-uk-postcode-area-profile-6cc6b9fd"}