search_photos
unsplash.comSearches https://unsplash.com for photos by keyword or theme and returns paginated image URLs, dimensions, descriptions, and photographer details. Supports orientation and relevance/latest sorting.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_photos?
Searches https://unsplash.com for photos by keyword or theme and returns paginated image URLs, dimensions, descriptions, and photographer details. Supports orientation and relevance/latest sorting. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, orientation, sort_order, page and get the result back without maintaining a scraper.
Response
{
"page": 0,
"query": "<string>",
"total": 0,
"results": [
{}
],
"per_page": 0,
"sort_order": "<string>",
"orientation": "<string>",
"total_pages": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/05d833ce-46f8-4317-b3e3-f2ac72f0c69f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "05d833ce-46f8-4317-b3e3-f2ac72f0c69f",
"variables": {
"query": "mountains",
"orientation": "landscape",
"sort_order": "relevant",
"page": 1
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="05d833ce-46f8-4317-b3e3-f2ac72f0c69f") — the "search_photos" function, which searches https://unsplash.com for photos by keyword or theme and returns paginated image URLs, dimensions, descriptions, and photographer details. Supports orientation and relevance/latest sorting.. It takes query (str), orientation (str), sort_order (str), page (int). Return the result as structured JSON.