---
title: "Read post analytics (refreshed hourly)"
method: GET
path: "/analytics"
tags: ["Analytics"]
---

# Read post analytics (refreshed hourly)

`GET /analytics`

## Request

- Base URL: `https://api.posteahora.com/functions/v1/api`
- URL: `https://api.posteahora.com/functions/v1/api/analytics`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/posteahora/apis/posteahora-public-api/docs/analytics/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `period` '7d' | '30d' | '90d' | 'all'
- `platform` string
- `limit` integer

## Response `200`

OK

- AnalyticsResult
  - `period` string
  - `summary` object
    - `totals` object
    - `byPlatform` object
  - `posts` object[]
    - `postId` string
    - `caption` string, nullable
    - `publishedAt` string, date-time, nullable
    - `platform` string
    - `views` number, nullable
    - `likes` number, nullable
    - `comments` number, nullable
    - `shares` number, nullable
    - `reach` number, nullable
    - `saves` number, nullable
    - `impressions` number, nullable
    - `reposts` number, nullable
    - `totalInteractions` number, nullable
    - `fetchedAt` string, date-time, nullable
    - `error` string, nullable

---

[API](https://skmtc.dev/posteahora/apis/posteahora-public-api.md) - [All operations](https://skmtc.dev/posteahora/apis/posteahora-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/posteahora/apis/posteahora-public-api/revisions/552a8eb6c30f?raw)
