Marketplace
No threads yet
Live

search_collections

huntington.org

Searches The Huntington collections at https://www.huntington.org by keyword with optional division, item type, and image filters. Returns paginated Library, Art Museum, and Botanical Gardens records with identifiers, descriptions, and image URLs.

Parameters6
Runs9
Updated10d ago
Operational9 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_collections?

Searches The Huntington collections at https://www.huntington.org by keyword with optional division, item type, and image filters. Returns paginated Library, Art Museum, and Botanical Gardens records with identifiers, descriptions, and image URLs. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, division, item_type, has_image, page, limit and get the result back without maintaining a scraper.

Response

{
  "page": 0,
  "items": [
    {
      "name": "<string>",
      "division": "<string>",
      "image_url": "<string>",
      "item_type": "<string>",
      "record_id": "<string>",
      "identifier": "<string>",
      "description": "<string>"
    }
  ],
  "limit": 0,
  "query": "<string>",
  "total_items": 0,
  "total_pages": 0,
  "has_next_page": true
}

Call it

curl --location 'https://us-prod.notte.cc/functions/78d5202a-556c-4a08-a509-491064317cea/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "78d5202a-556c-4a08-a509-491064317cea",
    "variables": {
        "query": "",
        "division": "",
        "item_type": "",
        "has_image": false,
        "page": 0,
        "limit": 24
    }
}'

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="78d5202a-556c-4a08-a509-491064317cea") — the "search_collections" function, which searches The Huntington collections at https://www.huntington.org by keyword with optional division, item type, and image filters. Returns paginated Library, Art Museum, and Botanical Gardens records with identifiers, descriptions, and image URLs..

It takes query (str), division (str), item_type (str), has_image (bool), page (int), limit (int). Return the result as structured JSON.