Search1API
Advanced

Trending

API endpoint for retrieving trending topics from popular platforms

POST
/trending

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Trending parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/trending" \  -H "Content-Type: application/json" \  -d '{    "search_service": "github"  }'
{  "trendingParameters": {    "search_service": "github",    "max_results": 10  },  "results": [    {      "title": "string",      "url": "string",      "description": "string"    }  ]}
{  "error": 0,  "message": "string"}