# 2s.io College Scorecard Search

> 2s.io College Scorecard Search is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-14).

Search and filter US colleges and universities using Department of Education data, returning admissions, cost, aid, outcomes, and classification details.

## Facts

- Endpoint: GET https://2s.io/api/edu/college-scorecard
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-97a747fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3yx_Uo_xiSeOGfWK_q8-p

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 2s-io-97a747fc
```

Example prompt: Can you find me all public 4-year bachelor's degree universities in Massachusetts, showing their tuition costs, admission rates, and 10-year median earnings? Give me the first 20 results.

## When to prefer this

Use this endpoint when you need structured, government-sourced data on any accredited US college or university — especially for comparing costs, outcomes, admissions selectivity, or financial aid across institutions. Prefer this over general web search when you need machine-readable, consistent fields across many schools, or when filtering by ownership type, degree level, state, or enrollment size.

## Known failure modes

- No results returned if filters are too restrictive or name query has a typo
- Invalid state abbreviation or ownership/degree enum value returns error or empty set
- School ID not found returns empty results
- Page out of bounds returns empty results array
- API rate limits or upstream College Scorecard availability issues may cause timeouts

## How this service works

Search US colleges + universities via the Department of Education College Scorecard API. Filter by free-text name (q), OPE/IPEDS school id, state, city, zip, ownership (1=Public | 2=Private nonprofit | 3=Private for-profit), predominant degree level (0=Not classified | 1=Certificate | 2=Associate | 3=Bachelor | 4=Graduate), enrollment range. Returns a curated field set per school: identity (name, alias, URL, location), classification (Carnegie, locale, religious affiliation, minority-serving designation), latest admissions (admit rate, SAT/ACT midpoints), cost (in-state + out-of-state tuition, total cost of attendance), aid (median debt, federal-loan rate, Pell rate), completion rate, 10-year median earnings, repayment rate, lat/lon. Every accredited US institution. Use perPage + page for pagination; page is 0-indexed.

## Output

A paginated list of US colleges and universities matching the filters, each with identity info (name, alias, website, city, state, zip, lat/lon), Carnegie and locale classification, religious affiliation, minority-serving flags, latest admissions stats (admit rate, SAT/ACT midpoints), cost data (in-state and out-of-state tuition, total COA), financial aid metrics (median debt, federal loan rate, Pell rate), completion rate, 10-year median earnings, and loan repayment rate.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "q": "Stanford",
   "page": 0,
   "state": "CA",
   "perPage": 20
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "q": {
       "type": "string",
       "description": "School name match."
      },
      "zip": {
       "type": "string"
      },
      "city": {
       "type": "string"
      },
      "page": {
       "type": "integer",
       "default": 0,
       "minimum": 0
      },
      "state": {
       "type": "string"
      },
      "fields": {
       "type": "string",
       "description": "Override comma-separated field selector."
      },
      "perPage": {
       "type": "integer",
       "default": 20,
       "maximum": 100,
       "minimum": 1
      },
      "schoolId": {
       "type": "integer",
       "description": "OPE/IPEDS school id."
      },
      "ownership": {
       "enum": [
        1,
        2,
        3
       ],
       "type": "integer"
      },
      "maxEnrollment": {
       "type": "integer"
      },
      "minEnrollment": {
       "type": "integer"
      },
      "degreePredominant": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-97a747fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
