Get Available Trends for a Country

View all X (Twitter) Public Data API endpoints →

Supply required country to request available country-specific X trends. Accepted country values and formats have not been live-verified; do not assume the three-letter options used by inspiration-posts also apply here. Exact trend fields, ranking, topic-volume availability and unsupported-country behavior are unverified. Capture request value and collection time with the returned trends, and use observed terms as candidate post-search queries rather than precise user-location evidence.

API Features

Country-selected trend request country is the only documented input; accepted selector values require validation for this endpoint.
Trend snapshot collection Deliberate recurring reads can capture available topics together with the selected country and collection time.
Trend-term search candidates Validate returned topic terms before feeding them into independent keyword-search requests.
No precise user-location inference A country trend selection does not establish where an individual author or audience member is physically located.

Live API Demo

GET /api/project/twitter/trends

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/twitter/trends?key=<API_KEY>&country=<country>'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

Which country format should I send to the trends endpoint?

country is required, but accepted values and formats have not been live-verified. Validate a supported value for trends rather than assuming the three-letter choices documented for inspiration-posts also apply here.

Are trend volumes and users' locations guaranteed?

No. Exact trend fields, ranking and topic-volume availability remain unverified. Store the chosen country and collection time; a country trend selection does not establish an individual author's physical location.

Related operations

Guides

View Subscription Plans →