Social User Profile
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/social/userimport requests
url = "https://api.asksurf.ai/gateway/v1/social/user"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/social/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"followers_count": 123,
"following_count": 123,
"handle": "<string>",
"name": "<string>",
"user_id": "<string>",
"avatar": "<string>",
"bio": "<string>"
},
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/DataObjectResponseXUser.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Social
Social User Profile
GET
/
gateway
/
v1
/
social
/
user
Social User Profile
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/social/userimport requests
url = "https://api.asksurf.ai/gateway/v1/social/user"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/social/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"followers_count": 123,
"following_count": 123,
"handle": "<string>",
"name": "<string>",
"user_id": "<string>",
"avatar": "<string>",
"bio": "<string>"
},
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/DataObjectResponseXUser.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}