> ## Documentation Index
> Fetch the complete documentation index at: https://docs.launchpointhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# View post metrics history

> Get daily historical metrics for one post/video.

See how views, likes, comments, and other metrics changed over time.




## OpenAPI

````yaml /api-reference/openapi.json get /posts/{id}/metrics-history
openapi: 3.0.4
info:
  title: Launchpoint Public API
  version: 1.0.0
  description: >-
    **Private preview.** The Launchpoint Public API is in private preview and
    available only to trusted partners we work with directly. Access is not
    self-serve. Email hi@launchpointhq.com to ask about access.


    REST API for Launchpoint brands and agencies. Use an API key in the
    `x-api-key` header to authenticate.


    ## Requirements

    - Public API access must be enabled for the company. During private preview,
    access is limited to trusted partners.

    - Create and manage API keys in Dashboard → Settings → Developer.


    ## Creator privacy

    - Responses never include creator email addresses. Creator phone numbers are
    null when no number is stored or the workspace does not have access to
    creator contact details.


    ## Rate limits

    - Default: **100 requests per minute** per API key.

    - Approved partner accounts: **400 requests per minute**.

    - Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and
    `X-RateLimit-Reset`. Requests over the limit return `429`.


    ## Errors

    - Errors use `{ "error": "<message>" }` with the matching HTTP status. Some
    endpoints also include a `code`.


    ## Timestamps

    - Timestamps are Unix timestamps in milliseconds unless a field says
    otherwise.


    ## Pagination

    - Most list endpoints accept `page` and `limit` and return `{ data, page,
    total }`. Some also return `totalPages`.

    - `scope=company` is the default. A parent agency key can pass
    `scope=agency` on supported routes to include its own data and linked
    brands.
servers:
  - url: https://dashboard.launchpointhq.com/api/v1
    description: Live API server
security:
  - apiKeyAuth: []
tags:
  - name: Deals
    description: Public creator opportunities across Launchpoint
  - name: Programs
    description: Programs and campaign management
  - name: Posts
    description: Posts and social content
  - name: Analytics
    description: KPIs and performance metrics
  - name: Payouts
    description: Payouts, balances, and pending creator funds
  - name: Contracts
    description: Contracts and creator agreements
  - name: Creators
    description: Creator profiles and metrics
  - name: Applications
    description: Creator applications to Canvas programs
  - name: Messages
    description: Read and send creator messages
paths:
  /posts/{id}/metrics-history:
    get:
      tags:
        - Posts
      summary: View post metrics history
      description: |
        Get daily historical metrics for one post/video.

        See how views, likes, comments, and other metrics changed over time.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: ID of the post
        - in: query
          name: days
          schema:
            type: integer
            default: 30
          description: History length in days (0 for all)
        - in: query
          name: limit
          schema:
            type: integer
            default: 100
            maximum: 500
          description: Maximum data points to return
      responses:
        '200':
          description: Metrics history returned successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      postId:
                        type: string
                      history:
                        type: array
                        description: Daily snapshots ordered from oldest to newest
                        items:
                          type: object
                          properties:
                            date:
                              type: string
                              description: Date formatted as YYYY-MM-DD
                            timestamp:
                              type: integer
                              nullable: true
                            views:
                              type: integer
                              description: Views recorded on this date
                            likes:
                              type: integer
                            comments:
                              type: integer
                            shares:
                              type: integer
                            bookmarks:
                              type: integer
                            engagementRate:
                              type: string
                            viewsDelta:
                              type: integer
                              description: Change since the previous day
                            likesDelta:
                              type: integer
                            commentsDelta:
                              type: integer
                            sharesDelta:
                              type: integer
                            bookmarksDelta:
                              type: integer
                      growth:
                        type: object
                        nullable: true
                        properties:
                          viewsGrowth:
                            type: string
                            description: Growth percentage for the period
                          likesGrowth:
                            type: string
                          commentsGrowth:
                            type: string
                          sharesGrowth:
                            type: string
                          bookmarksGrowth:
                            type: string
                          periodDays:
                            type: integer
                          totalDaysTracked:
                            type: integer
                      totalDataPoints:
                        type: integer
                      periodDays:
                        type: integer
        '400':
          description: Post ID is invalid
        '404':
          description: No post was found
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key created in Dashboard → Settings → Developer

````