# School Quality Rating Lookup

> School Quality Rating Lookup is a paid API for AI agents from agentbodega.store, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Looks up school quality ratings and enrollment data for a given school by name, URL, or location, returning GreatSchools rating and district information.

## Facts

- Endpoint: POST https://agentbodega.store/api/public-data/school-quality-rating
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/school-quality-rating-lookup-e6ca8cde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jnJxQ6JKIURjIbuNmliS8

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 school-quality-rating-lookup-e6ca8cde -d '<json body>'
```

Example prompt: What's the GreatSchools rating for Sylvia Mendez Elementary in Berkeley, CA — and can you also include catchment area info?

## When to prefer this

Use this endpoint when you need structured school quality data including GreatSchools ratings, enrollment figures, and district info for a specific known school. Prefer it over manual web scraping when building real-estate enrichment pipelines, neighborhood comparison tools, or parent-facing agents that need reliable school rating lookups at low cost ($0.005/call).

## Known failure modes

- School not found if name or location is too vague or misspelled
- No GreatSchools data available for private or very small schools
- Missing rating if GreatSchools has not indexed the school
- Ambiguous results if multiple schools share the same name in a city
- Empty or partial response if schoolUrl is invalid or unreachable

## How this service works

Small x402-payable utility APIs for agents: endpoint inspection, launch checks, and hosted artifacts.

## Output

Returns a JSON object containing the school's name, district name, school ID, total enrollment, grades served (e.g. K-5), and GreatSchools rating (integer scale), along with a success flag and tool metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "fields": [
      {
       "name": "schoolUrl",
       "type": "string",
       "required": false
      },
      {
       "name": "schoolName",
       "type": "string",
       "required": false
      },
      {
       "name": "city",
       "type": "string",
       "required": false
      },
      {
       "name": "state",
       "type": "string",
       "required": false
      },
      {
       "name": "includeCatchment",
       "type": "boolean",
       "required": false
      },
      {
       "name": "proxiesSx",
       "type": "boolean | object",
       "required": false
      }
     ],
     "required": [],
     "fieldCount": 6,
     "contentType": "application/json",
     "optionalPreview": [
      "schoolUrl",
      "schoolName",
      "city",
      "state",
      "includeCatchment",
      "proxiesSx"
     ],
     "omittedFieldCount": 0
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "school-quality-rating",
   "name": "School Quality Rating Lookup",
   "department": "Public Data"
  },
  "result": {
   "name": "Sylvia Mendez Elementary",
   "district": {
    "name": "Berkeley Unified School District"
   },
   "school_id": "078571861",
   "enrollment": 379,
   "grades_served": "K-5",
   "great_schools_rating": 7
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/school-quality-rating-lookup-e6ca8cde/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbodega.store](https://www.zero.xyz/host/agentbodega.store/llms.txt)
