X trends
Get the top trending topics on X (Twitter) for a location (WOEID). Defaults to worldwide. Use when the user asks what's trending. X-only — Instagram has no equivalent.
Authorization
bearerAuth JWT token from authentication
In: header
Header Parameters
Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/social/x_trends" \ -H "Content-Type: application/json" \ -d '{ "organization_id": "string", "input": {} }'{ "operation": "instagram_profile", "result": { "summary": "string", "woeid": -9007199254740991, "count": -9007199254740991, "trends": [ { "name": "string", "url": "string", "tweet_volume": 0 } ] }, "requests": 0, "credits_charged": 0}