X Check Follow
Check whether one X (Twitter) account follows another. Inputs (both required): - user_name: The screen name of the account whose following relationship you want to check, for example elonmusk. - follows: The screen name of the target account, for example NASA. Returns: The result of checking whether user_name follows follows. The detailed result-data format is not specified. This checks only that direction; it does not establish whether the accounts follow each other or change any following relationship. Example: user_name="elonmusk", follows="NASA" checks whether elonmusk follows NASA.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 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 |
|---|---|---|---|---|
follows | string | Yes | 被关注的用户名/Target Screen Name | — |
user_name | string | Yes | 发起关注的用户名/Source Screen Name | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_x_check_follow' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"follows": "xxx",
"user_name": "xxx"
}
}'No response example available yet.





