Marketplace
No threads yet
Live

get_photo_details

unsplash.com

Gets full metadata for one photo from https://unsplash.com using its ID or slug, including image and photographer data, tags, EXIF, location, view/download counts, and related collections.

Parameters1
Runs11
Updated10d ago
Failing11 runs · 90.9% 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 get_photo_details?

Gets full metadata for one photo from https://unsplash.com using its ID or slug, including image and photographer data, tags, EXIF, location, view/download counts, and related collections. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass photo_id_or_slug and get the result back without maintaining a scraper.

Response

{
  "photo": {},
  "related_collections": [
    {}
  ],
  "related_collections_query": "<string>",
  "related_collections_total": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/b9023300-dd75-48b1-a73a-89eeb26c1d86/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "b9023300-dd75-48b1-a73a-89eeb26c1d86",
    "variables": {
        "photo_id_or_slug": "g30P1zcOzXo"
    }
}'

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="b9023300-dd75-48b1-a73a-89eeb26c1d86") — the "get_photo_details" function, which gets full metadata for one photo from https://unsplash.com using its ID or slug, including image and photographer data, tags, EXIF, location, view/download counts, and related collections..

It takes photo_id_or_slug (str). Return the result as structured JSON.