Per-platform ROI breakdown

​

Returns return-on-investment metrics grouped by content type.

What is included per content type:

  • Estimated media value breakdown: value of likes, comments, shares, impressions
  • Total value generated and estimated content cost
  • Return on investment ratio

Query Parameters

  • Start of the reporting period (inclusive). Format: YYYY-MM-DD.

  • End of the reporting period (inclusive). Format: YYYY-MM-DD.

  • Filter results to specific instances. When omitted, the request is evaluated against every instance associated with your OAuth client; supply one or more values to narrow the response to a subset. Values must be drawn from the set bound to your client credentials — requesting an instance outside that set returns 403 with type: ANL_00403.

    Supported array formats: param=a,b,c (comma-separated), param=a&param=b (repeated key), or param[]=a&param[]=b (bracket syntax).

  • Filter results to specific campaigns. When omitted, all campaigns are included.

    Supported array formats: param=a,b,c (comma-separated), param=a&param=b (repeated key), or param[]=a&param[]=b (bracket syntax).

  • Filter by top-level platform. Selecting a platform includes all its content types (e.g. instagram includes instagram_post, instagram_reel, instagram_story).

    Cannot be combined with contentType — provide only one of the two.

    When omitted (and contentType is also omitted), all platforms are included.

    Supported array formats: param=a,b,c (comma-separated), param=a&param=b (repeated key), or param[]=a&param[]=b (bracket syntax).

    values
    instagramtiktokfacebookyoutubetwitterlinkedinpinterestsnapchatblogtwitch
  • Filter by specific content type for granular filtering beyond top-level platforms.

    • instagram_post, instagram_reel, instagram_story — specific Instagram content formats
    • facebook_post, facebook_live, facebook_group, facebook_reel — specific Facebook content formats
    • tiktok, youtube_video, youtube_shorts — platform-specific types

    Cannot be combined with platform — provide only one of the two.

    When omitted (and platform is also omitted), all content types are included.

    Supported array formats: param=a,b,c (comma-separated), param=a&param=b (repeated key), or param[]=a&param[]=b (bracket syntax).

    values
    • instagram_post
    • instagram_reel
    • instagram_story
    • facebook_post
    • facebook_live
    • facebook_group
    • facebook_reel
    • tiktok
  • Controls which date dimension is used for filtering.

    • post_date (default): filters by the date the content was originally published. Best for analyzing content output and creator activity over time.
    • performance_date: returns metrics recorded within the requested date range, regardless of when the content was originally published. Best for understanding how campaigns performed during a specific reporting window.

    Example: a post published on Jan 5 that receives engagement on Feb 10 will appear in a Feb 1–28 query with performance_date, but in a Jan 1–31 query with post_date.

  • Maximum number of items to return per page. Choose any value on the first request, then keep it unchanged on every subsequent request that passes a nextCursor from this endpoint. To change the page size, start a new walk by omitting nextCursor.

  • Opaque cursor returned by the previous page. Omit on the first request. Cursors are tied to the query parameters of the request that produced them; to paginate, keep every parameter identical across requests and only vary nextCursor. To change filters, sort, or limit, start a new walk by omitting nextCursor.

Responses

  • application/json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
Request Example for get/v2/platforms/return-on-investment
curl 'https://reporting.api.later.com/v2/platforms/return-on-investment?startDate=2025-01-01&endDate=2025-12-31&dateBasis=post_date&limit=50' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "contentType": "instagram_post",
      "estimatedContentCost": 5000,
      "returnOnInvestment": 5.42,
      "valueGenerated": 27100,
      "valueOfComments": 5100,
      "valueOfImpressions": 14200,
      "valueOfLikes": 4600,
      "valueOfShares": 3200
    },
    {
      "contentType": "tiktok",
      "estimatedContentCost": 3500,
      "returnOnInvestment": 6.26,
      "valueGenerated": 21900,
      "valueOfComments": 3400,
      "valueOfImpressions": 9500,
      "valueOfLikes": 6200,
      "valueOfShares": 2800
    }
  ],
  "nextCursor": "eyJ2ZXJzaW9uIjoxfQ"
}