Instagram Fetch User Following
4.13 credits/call
ae_instagram_fetch_user_following
用于获取指定 Instagram 用户关注的用户列表。 输入方式: - `username`:Instagram 用户名。 - `user_id`:Instagram 用户 ID。 - `username` 与 `user_id` 至少提供一个,二者任选其一。 - `pagination_token`:上一页结果返回的分页令牌;不填时获取第一页,继续查询时传入该令牌。 返回结果:成功响应中的 `data.items` 为关注用户列表;如果还有后续结果,`pagination_token` 会提供下一页令牌。
4.13 credits/call
Pricing
4.13 credits/call
| Condition | Charge |
|---|---|
| Each call | 4.13 credits/call |
4.13 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
user_id | string | No | 用户ID/User ID | — |
username | string | No | 用户名/Username | — |
pagination_token | string | No | 分页token/Pagination token | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_instagram_fetch_user_following' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"username": "wear_thisnext"
}
}'Response exampleresponse.json
{
"code": 200,
"data": {
"attempts": "1",
"errorMessage": "The requested resource does not exist. Please check the input parameters and verify manually (post, video, comment, user, etc.).",
"status": false
},
"docs": "https://api.tikhub.io/#/Instagram-V2-API/fetch_user_following_api_v1_instagram_v2_fetch_user_following_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"username": "wear_thisnext"
}
}This example shows part of the response. Copied content is valid JSON.

