X Get Trending

2.07 credits/call
ae_x_get_trending

Retrieve trending data on X (Twitter) for a selected country. Input: - country (optional string): Country identifier; defaults to UnitedStates when omitted. Use the documented spelling, for example UnitedStates, UnitedKingdom, Japan, India, China, or Germany. - No date, pagination, or result-limit inputs are available. Returns: - A response containing the country's trending data in data, with status and response metadata. The detailed structure of the trending data is not specified, and data may be null; specific fields such as ranks or post counts are not guaranteed. Example: {"country":"UnitedStates"}

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

A fixed charge of 2.07 credits applies per 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
countrystringNo国家/CountryUnitedStates

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
Response exampleresponse.json
JSONPartial content

This example shows part of the response. Copied content is valid JSON.