photo_statistics

Pack: unsplash · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/photo_statistics for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
idstringyes
resolutionstringno
quantitynumberno

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

FieldTypeDescription
idstringPhoto identifier
downloadsobjectDownload statistics data
viewsobjectView statistics data
likesobjectLike 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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the unsplash pack
{
  "mcpServers": {
    "unsplash": {
      "url": "https://gateway.pipeworx.io/unsplash/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 7, 2026