Twitter Trending Topics (V1) - Data API Endpoint

Trending Topics (V1) by bearer token and yahoo! location id.

Download Twitter Trending Topics (V1) data from the Official Twitter API | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Bearer Token access_token Required

Your Twitter app’s Bearer Token for collecting data with. If you don’t have one, see How to Get a Twitter API Key Without Approval or check out Twitter’s docs on Bearer Tokens for more information.

If you get the error client-not-enrolled, then make sure you’re not using a standalone app and try creating a new application with the Add App button under a project and NOT under the standalone section.

Yahoo! Location ID location_id Default 1

The Yahoo! Where On Earth ID of the location to return trending information for. Global information is available by using 1 as the WOEID.

📝 Notes

Scrape trending topics around a location from the Official Twitter API Place Trends Endpoint. These topics are similar to trending hashtags on the current Twitter homepage, but may have been simply keywords when this endpoint was added a long time ago, whereas now the current Twitter experiences has gone all-in on hashtags.

You may have trouble using this endpoint however, as the Yahoo! link provided in Twitter’s API documentation is now broken. Furthermore, Twitter is in the process of deprecating its V1 API (that this endpoint is a part of), and there is no replacement for this in the V2 endpoint, so it seems like this will no longer work in the future and will not be supported.

Posted by steve on Sept. 29, 2022, 6:30 a.m. 🚩  Report

⚡️ Endpoint





Bearer {{access_token}}