Data Refresh API
Get Public data and insights (without Audience demographics) of a creator using their Instagram handle.
POST – Create Data Refresh Request
This API is used for refreshing the existing data of the creator.
curl --location 'https://dashboard.ylytic.com/ylytic/api/v1/data_refresh/requests' \
--header 'Authorization: Bearer {{auth_header}}' \
--data '{
"request_type":"instagram",
"handle":"thetatvaindia"
}'
payload
There are multiple combinations possible which are described below.
Value of "request_type"
second parameter name
SAMPLE DATA
handle
{
'request_type':'instagram',
'handle':'thetatvaindia'
}
instagram_id
ig_user_id
{
'request_type':'instagram_id',
'ig_user_id':'2121125346'
}
instagram_post
shortcode
{
'request_type':'instagram_post',
'shortcode':'DHGIoX0y3f3'
}
youtube
channel_id
{
'request_type':'youtube',
'channel_id':'UCurYxozQbvKn-oNUxNJh45Q'
}
youtube_post
video_id
{
'request_type':'youtube_post',
'video_id':'iwIeyWv2ABI'
}
GET – Get Data Refresh Request
curl --location --request GET 'https://dashboard.ylytic.com/ylytic/api/v1/data_refresh/requests/{request_id}' \
--header 'Authorization: Bearer {{auth header}}'
Last updated