Aggregated Social Analytics
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/social/detailimport requests
url = "https://api.asksurf.ai/gateway/v1/social/detail"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/social/detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"twitter_id": "<string>",
"follower_geo": {
"locations": [
{
"follower_count": 123,
"location": "<string>",
"percentage": 123
}
],
"total_follower_count": 123
},
"project_id": "<string>",
"project_name": "<string>",
"sentiment": {
"score": 123,
"time_range": "<string>"
},
"smart_followers": {
"count": 123,
"followers": [
{
"avatar": "<string>",
"followers_count": 123,
"handle": "<string>",
"name": "<string>",
"rank": 123,
"score": 123,
"tag": "<string>",
"twitter_id": "<string>",
"description": "<string>"
}
]
}
},
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/DataObjectResponseSocialDetailBody.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Social
Social Analytics
GET
/
gateway
/
v1
/
social
/
detail
Aggregated Social Analytics
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/social/detailimport requests
url = "https://api.asksurf.ai/gateway/v1/social/detail"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/social/detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"twitter_id": "<string>",
"follower_geo": {
"locations": [
{
"follower_count": 123,
"location": "<string>",
"percentage": 123
}
],
"total_follower_count": 123
},
"project_id": "<string>",
"project_name": "<string>",
"sentiment": {
"score": 123,
"time_range": "<string>"
},
"smart_followers": {
"count": 123,
"followers": [
{
"avatar": "<string>",
"followers_count": 123,
"handle": "<string>",
"name": "<string>",
"rank": 123,
"score": 123,
"tag": "<string>",
"twitter_id": "<string>",
"description": "<string>"
}
]
}
},
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/DataObjectResponseSocialDetailBody.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}