由于 trendforge.devlive.top 访问受限,请切换到 trendforge.devlive.org 域名
Title
API (Beta)
Access TrendForge data via API
Api Important Notice
- • Api Notice Beta
- • Api Notice Token Security
- • Api Notice Rate Limit
- • Api Notice Support
Api Auth
Api Auth
Authorization: Bearer bd1f2c67-cc7f-48e3-a48a-e5b88b427146
Api Base Info
Base URL
Api Base Url
https://trendforge.devlive.org/api/
Api Available Endpoints
Api Endpoint Daily
GETAPI Path
GET /report/daily
Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| translate | boolean | Optional | false | Api Param Translate |
| enhanced | boolean | Optional | false | Api Param Enhanced |
| simple | boolean | Optional | false | Api Param Simple |
| format | string | Optional | markdown | Api Param Format |
Example Request
curl -X GET "https://trendforge.devlive.org/api/report/daily?translate=true&enhanced=true&format=json" \
-H "Authorization: Bearer your-api-token-here" \
-H "Accept: application/json"
Api Status Codes
| Api Table Status Code | Api Table Description |
|---|---|
| 200 | Api Status 200 |
| 401 | Api Status 401 |
| 400 | Api Status 400 |
| 429 | Api Status 429 |
| 500 | Api Status 500 |