Skip to main content
GET
Get daily aggregated metrics

Request contract

  • Method and path: GET /apis/v1/social/analytics/daily-metrics
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/analytics/daily-metrics
  • platform: query; optional
  • profileId: query; optional
  • accountId: query; optional
  • fromDate: query; optional
  • toDate: query; optional
  • source: query; optional
  • attribution: query; optional
  • Runtime facts: 99acb5bddbedc8d3352e7c4fef86c3e6d8852c14772bcd18dbcf415237a642bd
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

platform
string

Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.

profileId
string

One of your profiles (prf_...). Defaults to your default profile when neither profileId nor accountId is sent.

Pattern: ^prf_[0-9A-Za-z]{22}$
accountId
string

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
fromDate
string<date-time>

Inclusive start date (ISO 8601). Defaults to 180 days ago.

toDate
string<date-time>

Inclusive end date (ISO 8601). Defaults to now.

source
enum<string>
default:all

Filter by post origin. "late" for posts published via AIsa, "external" for posts imported from platforms.

Available options:
all,
late,
external
attribution
enum<string>
default:publish

How each post's engagement is attributed to a day.

  • "publish" (default): sums each post's lifetime total on its publish date.
  • "received": buckets the per-day increase in engagement by the day it actually arrived (engagement-over-time), so engagement on older posts appears on the day it was gained rather than the post's publish date.
Available options:
publish,
received

Response

Daily metrics and platform breakdown

dailyData
object[]
platformBreakdown
object[]