Marketplace
No threads yet
Live

search_k12_schools

niche.com

Searches K-12 schools on https://niche.com with pagination and optional school-type and grade-level filters. Returns ranked results with each school's name, slug, URL, Niche grade, tagline, and all non-empty source record fields.

Parameters3
Runs13
Updated10d ago
Operational13 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is search_k12_schools?

Searches K-12 schools on https://niche.com with pagination and optional school-type and grade-level filters. Returns ranked results with each school's name, slug, URL, Niche grade, tagline, and all non-empty source record fields. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass page, school_type, grade_level and get the result back without maintaining a scraper.

Response

{
  "page": 0,
  "source": "<string>",
  "ranking": "<string>",
  "results": [
    {
      "url": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "tagline": [
        "<string>"
      ],
      "rank_title": "<string>",
      "rank_total": 0,
      "rank_ordinal": 0,
      "overall_grade": "<string>",
      "source_record": {},
      "overall_grade_score": 0
    }
  ],
  "metadata": {},
  "page_size": 0,
  "query_url": "<string>",
  "total_pages": 0,
  "total_results": 0,
  "applied_filters": {}
}

Call it

curl --location 'https://us-prod.notte.cc/functions/78b477e0-e945-41b9-98c3-cced560a9436/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "78b477e0-e945-41b9-98c3-cced560a9436",
    "variables": {
        "page": 1,
        "school_type": "all",
        "grade_level": "all"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="78b477e0-e945-41b9-98c3-cced560a9436") — the "search_k12_schools" function, which searches K-12 schools on https://niche.com with pagination and optional school-type and grade-level filters. Returns ranked results with each school's name, slug, URL, Niche grade, tagline, and all non-empty source record fields..

It takes page (int), school_type (str), grade_level (str). Return the result as structured JSON.