WeChat · Content details
Channels account's live replays
Send Channels usernames or video share links; get the account's live replays with title, stream duration, likes, forwards, publish time and export ID.
POST/v1/wechat/channelLives
$0.005per record
- 1,000 records
- ≈ $5.00
- minimum per page of 5 records
- $0.012743
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/channelLives" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"channels":["v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/wechat/channelLives",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"channels": ["v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/wechat/channelLives", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"channels": [
"v2_060000231003b20faec8cae1811ac4d5c702ea32b0771737aa785454f7f8177114cc4d248d66@finder"
]
}),
});
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 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| channels | array | yes | Channel usernames (v2_...@finder), or the share link (https://weixin.qq.com/sph/...) of any video of the channel. Channel IDs (sph...) are not accepted. | ["v2_060000231003b20faec8cae1811ac4d5c70… |
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 5 records and its minimum is $0.012743; a request for 100 records reads 20 pages.
- 1 record: up to $0.012743
- 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 account's live replays take?
Required: channels. 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 5 records, so 100 records take 20 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.012743 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.