following
GET/scrappy/x/v1/following1 credit / call
One page of the accounts a user follows.
Parameters
- username
- required
- max_results
- optional · 20 to 200
- pagination_token
- optional · from meta.next_token of the previous page
Request
curl "https://sfaie.com/api/scrappy/x/v1/following?username=elonmusk" \
-H "Authorization: Bearer $SFAIE_API_KEY"Response
{
"data": [
{
"id": "1462305718290034688",
"name": "City Trails SF",
"username": "citytrailsf",
"created_at": "2021-11-21T09:14:02.000Z",
"description": "Walking routes and small parks in San Francisco.",
"profile_image_url": "https://cdn.sfaie.com/samples/citytrailsf.jpg",
"public_metrics": {
"followers_count": 48210,
"following_count": 512,
"tweet_count": 3120
},
"verified": false
}
],
"meta": {
"next_token": "tok_p2_8f3kq"
}
}Try it
20 to 200
from meta.next_token of the previous page
Sign in to try this endpoint.
Calls are real. Accepted calls cost 1 credit.