Telegraph icon

Telegraph

Consume Telegraph API

Actions9

Page → Get Views

AI-generated

Summary

Retrieve the number of views for a specific Telegraph page, optionally filtered by a specific year, month, day, and hour.

Inputs

  • Path (required) — The unique path identifier of the Telegraph page to get views for.
  • Year — The year to filter view counts by, from 2000 to 2100. Defaults to 2025.
  • Month — The month to filter view counts by, from 1 to 12. Defaults to 1.
  • Day — The day to filter view counts by, from 1 to 31. Defaults to 1.
  • Hour — The hour to filter view counts by, from 0 to 24. Defaults to 0.

Output shape

a single JSON object containing the view count data for the specified page and optional time parameters.

The response returns a JSON object with view counts as provided by the Telegraph API. If the API call fails, an error is returned. Pagination or multi-item output does not apply.

Discussion