Marketplace
No threads yet
Live

search_autocomplete_results

niche.com

Returns relevance-ordered autocomplete matches for schools, school districts, and places from https://niche.com with type, label, grade, location, URL, and all non-empty source fields.

Parameters4
Runs4
Updated1d ago
Operational4 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_autocomplete_results?

Returns relevance-ordered autocomplete matches for schools, school districts, and places from https://niche.com with type, label, grade, location, URL, and all non-empty source fields. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, entity_types, state, limit and get the result back without maintaining a scraper.

Response

{
  "page": 0,
  "count": 0,
  "query": "<string>",
  "source": "<string>",
  "filters": {},
  "results": [
    {}
  ],
  "page_size": 0,
  "page_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/859d1830-083f-440b-9604-293da5c73716/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "859d1830-083f-440b-9604-293da5c73716",
    "variables": {
        "query": "palo alto",
        "entity_types": "School,SchoolDistrict,County,Neighborhood,MetroArea,State,Town,ZipCode",
        "state": "",
        "limit": 30
    }
}'

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="859d1830-083f-440b-9604-293da5c73716") — the "search_autocomplete_results" function, which returns relevance-ordered autocomplete matches for schools, school districts, and places from https://niche.com with type, label, grade, location, URL, and all non-empty source fields..

It takes query (str), entity_types (str), state (str), limit (int). Return the result as structured JSON.