account_history
GET
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.
apiKeyheader
x-api-key<token>account*stringThe id of a account, from lookup or a search.
from?stringThe start of the range, 30 days before to by default.
to?stringThe end of the range, now by default.
grain?stringOne 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"Success
application/json- response
meta*Facts about this call, in every answer.
account*grain*stringOne 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.
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" } ]}