Social Analytics Daily

Day-by-day metrics across your accounts, with a per-platform breakdown

Published

GET
/v1/social/analytics/daily
curl -X GET "https://api.orshot.com/v1/social/analytics/daily?platform=<PLATFORM>&account_id=10&source=<SOURCE>" \
  -H "Authorization: Bearer <ORSHOT_API_KEY>"

Overview#

Returns your social metrics summed per day. This is the series behind the trend chart on the Analytics page. Each day carries post counts and metrics, and the response includes a per-platform breakdown for the whole window.

Endpoint
https://api.orshot.com/v1/social/analytics/daily

Request#

JavaScript
await fetch(
  "https://api.orshot.com/v1/social/analytics/daily?from=2026-08-01&to=2026-08-13",
  {
    method: "GET",
    headers: {
      Authorization: "Bearer <ORSHOT_API_KEY>",
    },
  },
);
JSON
{
  "data": {
    "daily": [
      {
        "date": "2026-08-12",
        "post_count": 2,
        "platforms": { "linkedin": 1, "twitter": 1 },
        "metrics": {
          "impressions": 118,
          "likes": 4,
          "comments": 1,
          "clicks": 3
        }
      }
    ],
    "platform_breakdown": [
      {
        "platform": "linkedin",
        "post_count": 4,
        "metrics": { "impressions": 109, "likes": 5, "comments": 2 }
      }
    ]
  }
}

Query Parameters#

ParameterTypeRequiredDescription
platformStringNoOnly this platform, e.g. linkedin
account_idIntegerNoOnly this connected account
sourceStringNoall (default), orshot (published through Orshot) or external (synced from platform)
fromStringNoStart date, YYYY-MM-DD
toStringNoEnd date, YYYY-MM-DD
refreshStringNoPass 1 to bypass the cache and pull fresh numbers from the platforms

Error Responses#

Same as the analytics overview endpoint: 403 with code analytics_not_enabled, and 429 with a Retry-After header when the 10 requests per minute analytics budget is exhausted.

Was this page helpful?

Ready to automate?

Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.

Get your API key
  • Image, PDF and video generation via API
  • Visual editor with AI and smart layouts
  • Zapier, Make, MCP and 50+ integrations
  • White-label embed for your own app
  • 30 free credits — no credit card required