cURL
curl --request POST \ --url https://api.search1api.com/trending \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "search_service": "github", "max_results": 10 } '
{ "trendingParameters": { "search_service": "github", "max_results": 10 }, "results": [ { "title": "<string>", "url": "<string>", "description": "<string>" } ] }
Get trending topics from popular platforms
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Trending parameters
The platform to get trending topics from
github
hackernews
The maximum number of trending items to return
Successful Response
Show child attributes
The title of the trending item
The URL of the trending item
Optional description of the trending item