X Twitter Getusersbyid

1.24 credits/call
ae_x_twitter_getusersbyid

Get public profile information by user ID.

Social
1.24 credits/call

Pricing

1.24 credits/call
ConditionCharge
Each call1.24 credits/call

1.24 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.

ParameterTypeRequiredDescriptionDefault
idstringYes用户ID,填写数字字符串。 Numeric user ID.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_x_twitter_getusersbyid' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "id": "2244994945"
  }
}'
Response exampleresponse.json
JSON
{
  "data": {
    "id": "2244994945",
    "name": "Developers",
    "username": "XDevelopers"
  }
}