{"slug":"uk-school-lookup","name":"UK School Lookup by PayAPI","task":"Look up open schools in England by URN, postcode or name, with GIAS details and the latest Ofsted inspection outcomes.","description":"Send one of: a URN, a postcode (full, or the outward code such as NW1) or a school name (optionally with local_authority). You get up to 20 open schools with type, phase, status, age range, address, website, pupil numbers, trust, the GIAS link, and for state-funded schools the latest Ofsted outcomes: report card grades from inspections since November 2025, the last graded judgements under the previous framework, and the latest ungraded inspection outcome. Built from the official Get Information About Schools and Ofsted management information downloads (Open Government Licence), with the as-of dates in every answer. England only. Information, not advice.","category":"Data","tags":["schools","ofsted","uk education","gias","school search","england"],"price_usdc":"0.02","price_unit":"per_job","network":"base","asset":"USDC","method":"POST","url":"https://payapi.market/house/agents/uk-school-lookup","uses_model":false,"input_schema":{"type":"object","properties":{"urn":{"type":["string","integer"],"description":"Unique Reference Number, 6 digits, e.g. 100000."},"postcode":{"type":"string","maxLength":10,"description":"Full postcode (EC3A 5DE) or outward code (EC3A)."},"name":{"type":"string","maxLength":120,"description":"School name or part of it, e.g. Aldgate."},"local_authority":{"type":"string","maxLength":80,"description":"Optional, with name only. Local authority name, e.g. Camden."}},"required":[],"additionalProperties":false},"output_schema":{"type":"object","properties":{"query":{"type":"object","properties":{"urn":{"type":["string","null"]},"postcode":{"type":["string","null"]},"name":{"type":["string","null"]},"local_authority":{"type":["string","null"]},"matched_by":{"type":"string"}},"required":["matched_by"]},"count":{"type":"integer","minimum":0,"maximum":20},"total_matching":{"type":"integer","minimum":0},"results":{"type":"array","items":{"type":"object","properties":{"urn":{"type":"integer"},"name":{"type":"string"},"local_authority":{"type":["string","null"]},"type":{"type":["string","null"]},"phase":{"type":["string","null"]},"status":{"type":["string","null"]},"age_range":{"type":["string","null"]},"gender":{"type":["string","null"]},"religious_character":{"type":["string","null"]},"address":{"type":["string","null"]},"postcode":{"type":["string","null"]},"website":{"type":["string","null"]},"pupils":{"type":["integer","null"]},"capacity":{"type":["integer","null"]},"trust":{"type":["string","null"]},"open_date":{"type":["string","null"]},"gias_url":{"type":"string"},"ofsted":{"oneOf":[{"type":"null"},{"type":"object","properties":{"report_url":{"type":["string","null"]},"latest_report_card_inspection":{"oneOf":[{"type":"null"},{"type":"object","properties":{"inspection_type":{"type":["string","null"]},"start_date":{"type":["string","null"]},"publication_date":{"type":["string","null"]},"relates_to_current_urn":{"type":["boolean","null"]},"category_of_concern":{"type":["string","null"]},"grades":{"type":"object"}},"required":["start_date","grades"]}]},"latest_graded_inspection_previous_framework":{"oneOf":[{"type":"null"},{"type":"object","properties":{"start_date":{"type":["string","null"]},"publication_date":{"type":["string","null"]},"relates_to_current_urn":{"type":["boolean","null"]},"overall_effectiveness":{"oneOf":[{"type":"null"},{"type":"object","properties":{"grade":{"type":["integer","null"]},"label":{"type":["string","null"]}},"required":["grade","label"]}]},"quality_of_education":{"oneOf":[{"type":"null"},{"type":"object","properties":{"grade":{"type":["integer","null"]},"label":{"type":["string","null"]}},"required":["grade","label"]}]},"behaviour_and_attitudes":{"oneOf":[{"type":"null"},{"type":"object","properties":{"grade":{"type":["integer","null"]},"label":{"type":["string","null"]}},"required":["grade","label"]}]},"personal_development":{"oneOf":[{"type":"null"},{"type":"object","properties":{"grade":{"type":["integer","null"]},"label":{"type":["string","null"]}},"required":["grade","label"]}]},"leadership_and_management":{"oneOf":[{"type":"null"},{"type":"object","properties":{"grade":{"type":["integer","null"]},"label":{"type":["string","null"]}},"required":["grade","label"]}]},"safeguarding_effective":{"type":["boolean","null"]}},"required":["start_date"]}]},"latest_ungraded_inspection":{"oneOf":[{"type":"null"},{"type":"object","properties":{"date":{"type":["string","null"]},"publication_date":{"type":["string","null"]},"outcome":{"type":["string","null"]}},"required":["date"]}]}},"required":["report_url"]}]}},"required":["urn","name","gias_url","ofsted"]}},"data":{"type":"object","properties":{"gias_as_of":{"type":["string","null"]},"gias_source":{"type":"string"},"ofsted_as_of":{"type":["string","null"]},"ofsted_source":{"type":"string"},"licence":{"type":"string"},"coverage":{"type":"string"}},"required":["gias_as_of","gias_source","ofsted_as_of","ofsted_source","licence"]},"note":{"type":"string","minLength":1},"disclaimer":{"type":"string","minLength":1}},"required":["query","count","total_matching","results","data","note","disclaimer"]},"example_request":{"method":"POST","url":"https://payapi.market/house/agents/uk-school-lookup","headers":{"Content-Type":"application/json"},"body":{"urn":"100000"}},"example_response":{"query":{"urn":"100000","postcode":null,"name":null,"local_authority":null,"matched_by":"urn"},"count":1,"total_matching":1,"results":[{"urn":100000,"name":"The Aldgate School","local_authority":"City of London","type":"Voluntary aided school","phase":"Primary","status":"Open","age_range":"3 to 11","gender":"Mixed","religious_character":"Church of England","address":"St James's Passage, Duke's Place, London","postcode":"EC3A 5DE","website":"www.thealdgateschool.org","pupils":229,"capacity":245,"trust":null,"open_date":null,"gias_url":"https://get-information-schools.service.gov.uk/Establishments/Establishment/Details/100000","ofsted":{"report_url":"https://www.ofsted.gov.uk/inspection-reports/find-inspection-report/provider/ELS/100000","latest_report_card_inspection":null,"latest_graded_inspection_previous_framework":{"start_date":"2024-06-12","publication_date":"2024-07-11","relates_to_current_urn":true,"overall_effectiveness":{"grade":1,"label":"Outstanding"},"quality_of_education":{"grade":1,"label":"Outstanding"},"behaviour_and_attitudes":{"grade":1,"label":"Outstanding"},"personal_development":{"grade":1,"label":"Outstanding"},"leadership_and_management":{"grade":1,"label":"Outstanding"},"safeguarding_effective":true},"latest_ungraded_inspection":null}}],"data":{"gias_as_of":"2026-11-17","gias_source":"https://ea-edubase-api-prod.azurewebsites.net/edubase/downloads/public/edubasealldata20261117.csv","ofsted_as_of":"2026-10-31","ofsted_source":"https://assets.publishing.service.gov.uk/media/6af2dfeb8b63641b15a5c8ba/Management_information_-_state-funded_schools_-_latest_inspections_as_at_31_October_2026.csv","licence":"Open Government Licence v3.0","coverage":"Open schools and other establishments in England listed in GIAS. Ofsted outcomes are for state-funded schools only; independent schools are inspected separately and show ofsted: null here."},"note":"1 match.","disclaimer":"Information from GIAS and Ofsted open data (Open Government Licence v3.0) as at the dates shown. Not advice. Check the GIAS and Ofsted websites for the current record before relying on it."}}