# gankdat UK Schools & Colleges Search (GIAS + Ofsted)

> gankdat UK Schools & Colleges Search (GIAS + Ofsted) is a paid API for AI agents from gankdat.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns a paginated list of schools and colleges in England filtered by name, location, phase, Ofsted rating, and other criteria, sourced from GIAS and Ofsted data.

## Facts

- Endpoint: GET https://gankdat.com/x402/data/uk-schools?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gankdat-uk-schools-colleges-search-gias-ofsted-5372204b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nXqK8WCaipxZWgpOTHczB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gankdat-uk-schools-colleges-search-gias-ofsted-5372204b
```

Example prompt: Can you find me all Outstanding-rated secondary schools in Manchester — show me the first 25 results with their URNs, trust names, and pupil numbers?

## When to prefer this

Use this endpoint when you need structured, filterable data about schools and colleges in England from official GIAS and Ofsted sources. It is ideal for education research, property intelligence, trust analysis, compliance checks, or any agent workflow that needs to search, filter, and paginate school records by location, rating, phase, or trust. Prefer this over generic web search when you need machine-readable, official data with consistent fields and pagination.

## Known failure modes

- No matching records found — returns empty results array with total count of 0
- Invalid date format for open_date_after/before or ofsted_last_inspection filters — returns validation error
- page parameter exceeding total pages — returns empty results
- per_page exceeding maximum of 100 — returns schema validation error
- Invalid or unrecognised filter values (e.g. unknown phase or status) may return empty results or an error
- Payment not processed — x402 payment required response if USDC not supplied

## How this service works

Schools and colleges in England (GIAS + Ofsted). One call returns one page of matching records as JSON (25 by default, per_page up to 100) with the total count and the last refresh time; the query parameters filter the records.

## Output

A JSON object containing a paginated list of school/college records (default 25, up to 100 per page) with fields such as URN, name, phase, establishment type, local authority, region, town, postcode, pupil count, Ofsted rating, last Ofsted inspection date, open date, trust name, and website. The response also includes the total record count matching the query and the timestamp of the last data refresh.

## Request schema (JSON Schema)

```json
{
 "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",
     "properties": {
      "q": {
       "type": "string"
      },
      "urn": {
       "type": "string"
      },
      "name": {
       "type": "string"
      },
      "page": {
       "type": "integer",
       "default": 1,
       "maximum": 100000,
       "minimum": 1
      },
      "town": {
       "type": "string"
      },
      "phase": {
       "type": "string"
      },
      "region": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "per_page": {
       "type": "integer",
       "default": 25,
       "maximum": 100,
       "minimum": 1
      },
      "postcode": {
       "type": "string"
      },
      "pupils_max": {
       "type": "number"
      },
      "pupils_min": {
       "type": "number"
      },
      "trust_name": {
       "type": "string"
      },
      "outward_code": {
       "type": "string"
      },
      "ofsted_rating": {
       "type": "string"
      },
      "local_authority": {
       "type": "string"
      },
      "open_date_after": {
       "type": "string",
       "format": "date",
       "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "website_present": {
       "type": "string"
      },
      "open_date_before": {
       "type": "string",
       "format": "date",
       "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "establishment_type": {
       "type": "string"
      },
      "ofsted_last_inspection_after": {
       "type": "string",
       "format": "date",
       "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gankdat-uk-schools-colleges-search-gias-ofsted-5372204b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gankdat.com](https://www.zero.xyz/host/gankdat.com/llms.txt)
