WeChat Official Account original article count by id or URL
justoneapi.x.weixin-get-account-original-count-v1Retrieves the original-article count for a WeChat Official Account identified by ghid or article URL.
- Price
- $0.2214/successAt list price
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1Beta- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Optional | WeChat Official Account article URL used to identify the account. Use either ghid or url. | |
ghid | string | Optional | WeChat Official Account original identifier, using the gh_ prefix returned by WeChat. Use either ghid or url. | |
- Query parameters
urlstringOptionalWeChat Official Account article URL used to identify the account. Use either ghid or url.
ghidstringOptionalWeChat Official Account original identifier, using the gh_ prefix returned by WeChat. Use either ghid or url.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.2214/success, including the service fee.