# Unsplash data API for AI agents > morigraph has one Unsplash data API, Unsplash Photo Search, that Claude, ChatGPT, Cursor, Codex or your own code can call. Search Unsplash for free stock photos by keyword. Returns image URLs in several sizes, dimensions, alt text, the photographer's name and profile, and the photo's Unsplash page. You need no Unsplash developer account or API key, only one morigraph connection. A call costs 0.732 credits, about $73.2 for 1,000 calls, paid from one balance. ## How to call it Every data API is run by one tool, `data_api`, with the API's id and its arguments. The example is Unsplash Photo Search. In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Use morigraph's Unsplash Photo Search data API with {"limit":2,"query":"coffee"} and summarise what comes back. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call data_api --json-args '{"api":"unsplash.search_photos","input":{"limit":2,"query":"coffee"}}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/data_api \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"api":"unsplash.search_photos","input":{"limit":2,"query":"coffee"}}' ``` ## Unsplash Photo Search `unsplash.search_photos` · 0.732 credits a call (about $73.2 for 1,000) Search Unsplash for free stock photos by keyword. Returns image URLs in several sizes, dimensions, alt text, the photographer's name and profile, and the photo's Unsplash page. | Argument | Type | Required | What it is | |---|---|---|---| | `color` | black_and_white \| black \| white \| yellow \| orange \| red \| purple \| magenta \| green \| teal \| blue | no | Only return photos with this dominant color tone. Omit for any color. | | `limit` | integer | no | Maximum number of photos to return (1-20, default 20). You are billed per photo returned, so a lower limit costs less. | | `orientation` | landscape \| portrait \| square | no | Only return photos with this orientation. Omit for any orientation. | | `query` | string | yes | Keyword or phrase to search Unsplash photos for, e.g. "coffee" or "minimal workspace". | | `sortBy` | relevant \| recent | no | Order results by best match (relevant, the default) or newest first (recent). | Returns: `alt`, `blurHash`, `color`, `createdUtc`, `description`, `downloadUrl`, `height`, `id`, `image`, `imageFull`, `imageOriginal`, `imageSmall`, `likes`, `photographer`, `photographerAvatarUrl`, `photographerBio`, `photographerForHire`, `photographerInstagramUsername`, `photographerLocation`, `photographerTotalLikes`, `photographerTotalPhotos`, `photographerTwitterUsername`, `photographerUrl`, `photographerUsername`, `photographerWebsite`, `photos`, `sponsored`, `thumbnail`, `updatedUtc`, `url`, `width` ``` data_api({"api":"unsplash.search_photos","input":{"limit":2,"query":"coffee"}}) ``` ## Do I need an Unsplash API key or developer account? No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call the API on this page. ## What does Unsplash data cost through morigraph? 0.732 credits a call, where a credit is about 10 cents. That is from about $73.2 for 1,000 calls. You pay per call from one balance, with no separate subscription. ## Can Claude, ChatGPT or Cursor get Unsplash data? Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call. --- Canonical page: https://morigraph.com/tools/data/unsplash/ Prices read from the catalogue on 2026-11-27. These APIs return public data; how you may use it depends on the platform's terms and applicable law. All data APIs: https://morigraph.com/tools/data.md · Connect: https://morigraph.com/connect.md · Site overview: https://morigraph.com/llms.txt