Skip to Content
socialdata

account_history

GET
/v1/accounts/{account}/history

Returns the followers, posts, likes, and views of one account per hour or per day, and its past handles, names, and biographies. Use it for growth over a date range, and lookup for the current numbers.

Authorization

apiKey
headerx-api-key<token>

Path Parameters

account*string

The id of a account, from lookup or a search.

Query Parameters

from?string

The start of the range, 30 days before to by default.

to?string

The end of the range, now by default.

grain?string

One point per hour, for a range of at most 14 days, or per UTC day, the default, for at most 3,660 days.

Value in"hour""day"

Response Body

Success

application/json
  1. response
meta*

Facts about this call, in every answer.

account*
grain*string

One point per hour or per UTC day.

Value in"hour""day"
points*array<>

One point per hour or day from from to to, oldest first.

profile_history*array<>

Every handle, display name, biography, and link that socialdata has seen, oldest first.

Example Request
curl -X GET 'https://api.socialdata.product.studio/v1/accounts/instagram%3Aaccount%3A1789456123/history'
Example Response
{  "meta": {    "as_of": "2026-11-26T14:00:00Z",    "source": "store",    "credits_spent": 0,    "credits_left_today": 30,    "trace_id": "dd4ea85c713694073f9ab127c28f2318",    "warnings": [      {        "code": "first_observation",        "message": "The service saw this target for the first time in this call."      }    ]  },  "account": {    "platform": "instagram",    "platform_account_id": "1789456123",    "handle": "acme.co",    "profile_url": "https://www.instagram.com/acme.co/"  },  "grain": "day",  "points": [    {      "at": "2026-11-26T14:00:00Z",      "observed_at": "2026-11-26T14:00:00Z",      "follower_count": 48210,      "following_count": 48210,      "post_count": 48210,      "total_like_count": 48210,      "total_view_count": 48210    }  ],  "profile_history": [    {      "profile_version": 1,      "handle": "acme.co",      "display_name": "Acme Studio",      "biography": "Small cameras for long trips.",      "external_url": "https://acme.example/",      "first_observed_at": "2026-11-26T14:00:00Z",      "last_observed_at": "2026-11-26T14:00:00Z"    }  ]}