photo_statistics
Pack: unsplash · Endpoint: https://gateway.pipeworx.io/unsplash/mcp
Fetch view, download, and like statistics for a single Unsplash photo by id; supports resolution (“days”) and quantity (1–30) to control the time-series window.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
resolution | string | no | |
quantity | number | no |
Example call
Arguments
{
"id": "Dwu85P9SOIk"
}
curl
curl -X POST https://gateway.pipeworx.io/unsplash/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"photo_statistics","arguments":{"id":"Dwu85P9SOIk"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('photo_statistics', {
"id": "Dwu85P9SOIk"
});
More examples
{
"id": "Dwu85P9SOIk",
"resolution": "1920x1080",
"quantity": 30
}
Response shape
| Field | Type | Description |
|---|---|---|
id | string | Photo identifier |
downloads | object | Download statistics data |
views | object | View statistics data |
likes | object | Like statistics data |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Photo identifier"
},
"downloads": {
"type": "object",
"description": "Download statistics data",
"additionalProperties": true
},
"views": {
"type": "object",
"description": "View statistics data",
"additionalProperties": true
},
"likes": {
"type": "object",
"description": "Like statistics data",
"additionalProperties": true
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"unsplash": {
"url": "https://gateway.pipeworx.io/unsplash/mcp"
}
}
}
See Getting Started for client-specific install steps.