WeChat · Rankings & trends
Channels hot videos (monthly ranking)
Pick a creator category and a sort; get the monthly ranking of Channels hot videos with rank, author, title, plays, likes, comments and shares.
POST/v1/wechat/hotVideos
$0.005per record
- 1,000 records
- ≈ $5.00
- minimum per page of 33 records
- $0.0805
Works with trial balanceOne request, no cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/wechat/hotVideos" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"hotCategory":"FOOD","hotSort":"PLAY"}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/wechat/hotVideos",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"hotCategory": "FOOD",
"hotSort": "PLAY",
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/wechat/hotVideos", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"hotCategory": "FOOD",
"hotSort": "PLAY"
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
There is no stored real answer for this endpoint yet, so none is shown. Records come back as JSON objects in data.
Parameters 3
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| hotCategory | string | no | The creator category of the monthly ranking. All categories ranks every video together. | FOOD |
| hotSort | string | no | The metric the ranking is sorted by, highest first. | PLAY |
Paging
This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.
What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here a page holds up to 33 records and its minimum is $0.0805; a request for 100 records reads 4 pages.
- 1 record: up to $0.0805
- 20 records: up to $0.10
- 100 records: up to $0.50
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Channels hot videos (monthly ranking) take?
No parameter is required. Optional: hotCategory, hotSort. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 33 records, so 100 records take 4 pages in one request.
Can I page through more results?
No. This endpoint answers in full in one request; the answer's cursor is null.
How much does it cost?
Per record: record $0.005. The minimum is $0.0805 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.50.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.