WeChat Channels video share link API

Make a link that opens a WeChat Channels video in WeChat, by the video's ID (it starts with weixin.qq.com/sph/). Each call makes a different link for the same video, and an older one still leads to it; a link cannot be built from the ID. One object a call; $0.0200 per call. Errors and timeouts are not charged.

GEThttps://api.dataxapi.com/v1/wechat_channels/videos/share_link/get
Also known aswechat channels share urlchannels video linkIn Chinese: 微信视频号作品分享链接 API
Price$0.0200/ call · Errors and timeouts are not charged
Returns1 objectone channels share link object
When an upstream failsRetried for youon the same route, or a backup route; never charged
StatusLive statusread live when the page opens

Try it

Change a value and the request on the right follows.
Run · $0.0200

Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 5 calls.

{
  "code": "ok",
  "request_id": "3108a22b-cbba-4707-9cc0-888d8d48f872",
  "data": {
    "item": {
      "id": "14092542246220801622",
      "url": "https://www.dataxapi.com/examples/14092542246220801622"
    }
  },
  "warnings": [],
  "meta": {
    "capability": "wechat_channels.videos.share_link.get",
    "result_status": "complete",
    "fetched_at": "2026-11-02T07:35:36.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {},
    "billing": {
      "amount": "0.02",
      "currency": "USD",
      "balance_after": "9.98"
    }
  }
}

From a response recorded 2026-11-02 07:35 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

Size as sent: 411 B in the standard view (411 B compact, 411 B full).

This example as a JSON file

curl -G "https://api.dataxapi.com/v1/wechat_channels/videos/share_link/get" \
  --data-urlencode "id=14940144898316503592" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
# pip install dataxapi
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.wechat_channels.videos.share_link.get(id="14940144898316503592")
print(result["data"]["item"])
// npm i @dataxapi/sdk
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.wechat_channels.videos.share_link.get({ id: "14940144898316503592" });
console.log(result.data.item);
dataxapi call wechat_channels.videos.share_link.get id=14940144898316503592
{
  "mcpServers": {
    "dataxapi": {
      "type": "http",
      "url": "https://api.dataxapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${DATAXAPI_API_KEY}"
      }
    }
  }
}

Add this to your MCP client, then ask your agent to call wechat_channels.videos.share_link.get.

Parameters

idtextrequired

The video's ID, a string of digits: the id a video list or a video gives. A search result's export/ ID is first turned into it with wechat_channels.videos.get. Example: 14940144898316503592.

viewtext

How much of each item to return. All three cost the same. Values: compact, standard (default), full.

fieldslist of text

Return only these fields. Each by its path, such as author.name.

Known limits

  • One object per call: there is nothing to page.

Returned fields

data.item is one channels share link object. Preview: the structure may change, announced beforehand.

idtextcompact

The video's ID

urllinkcompact

Share link that opens the video in WeChat

approximatelist of objectcompact

Which numbers of this item are approximate or lower bounds; absent when all are exact

approximate[].fieldtextcompact

Path of the field, such as metrics.views

approximate[].kindtextcompact

Approximate, or a lower boundapproximatelower_bound

Typical size of one item: compact 76 B, standard 76 B, full 76 B (measured on the response recorded 2026-11-02 07:35 UTC).

When you are charged

A result with data$0.0200, once per call
The object does not exist, is not visible or was deleted, a link that does not open, or parameters the platform refused (404, 400)the endpoint's price, $0.0200: the data source answered and billed for it
Parameters we refuse before asking, a failure of ours or of the data source, a timeoutnot charged
CaseCharged
The most one call can cost$0.0200 (send X-Max-Price to refuse anything above your own limit)

Prices as read 2026-11-02 11:50 UTC, under price book 8, in effect since 2026-11-02 11:46 UTC; the Playground reads the price in force before a run.

If the object does not exist

The answer is 404 not_found, charged the endpoint's price ($0.0200): the data source answered it and billed for the answer. The error says so with charged: true and the amount. reason says which: not_found (it does not exist) or private_or_deleted.

Errors

What this endpoint can answer with; codes all endpoints share are on the full list.

HTTPCodeMeaningCharged
400invalid_paramsA parameter is invalidRetry: After a fixThe endpoint's price, when the data source billed the answer
402insufficient_balanceThe balance is too lowRetry: After a fixNo
404not_foundThe object does not exist, is private or was deletedRetry: NoThe endpoint's price, when the data source billed the answer
502upstream_failedNo result came from the data source this time. Retry later; if the same item keeps failing, it most likely cannot be retrieved (deleted or restricted, say)Retry: YesNo
504timeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNo

All error codes →

Questions

How much does the WeChat Channels video share link API cost?

$0.0200 per call. The most one call can cost is $0.0200.

When am I not charged?

Errors and timeouts are not charged.

What happens if the object does not exist?

The answer is 404 not_found, charged the endpoint's price ($0.0200): the data source answered it and billed for the answer. The error says so with charged: true and the amount. reason says which: not_found (it does not exist) or private_or_deleted.

All 15 WeChat Channels endpoints

WeChat Channels endpoints

Use it in your AI

Copy this prompt

Your API key is built in, so there is nothing to configure.

Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.
Sign in to copy it with your key

No account yet? Sign-up takes an email and no card, and a failed call is never charged.

then paste

Paste it into your agent

It reads the page the prompt points to and connects itself.

Your agent
Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_••••; use it for every DataXAPI call.
DataXAPI connected · 5 tools ready
now try it

Now ask something

Use one of these, or your own words.

Read https://dataxapi.com/apis/wechat_channels/videos/share_link/get.md and help me use the DataXAPI endpoint wechat_channels.videos.share_link.get (WeChat Channels video share link).
Prefer to set it up by hand?
dataxapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the DataXAPI MCP server and the base skill. The key is read from DATAXAPI_API_KEY; none is written into a file.MCP server: https://api.dataxapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call wechat_channels.videos.share_link.get.Other clients →
Ask with this pageSends the Markdown version
Brief for an AIEverything needed to call it, as text
Show the text
Use the DataXAPI endpoint wechat_channels.videos.share_link.get (WeChat Channels video share link). Make a link that opens a WeChat Channels video in WeChat, by the video's ID (it starts with weixin.qq.com/sph/). Each call makes a different link for the same video, and an older one still leads to it; a link cannot be built from the ID.
Call GET https://api.dataxapi.com/v1/wechat_channels/videos/share_link/get with the header "Authorization: Bearer $DATAXAPI_API_KEY". Read the key from the environment variable DATAXAPI_API_KEY; never write it into code.
Parameters:
- id (required): The video's ID, a string of digits: the id a video list or a video gives. A search result's export/ ID is first turned into it with wechat_channels.videos.get. Example: 14940144898316503592.
- view: How much of each item to return. All three cost the same. Values: compact, standard (default), full.
- fields: Return only these fields. Each by its path, such as author.name.
Price: $0.0200 per call. Errors and timeouts are not charged.
The answer is JSON: data.item holds channels share link; meta.billing.amount is what this call was charged.
Example:
curl -G "https://api.dataxapi.com/v1/wechat_channels/videos/share_link/get" \
  --data-urlencode "id=14940144898316503592" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
Full reference in Markdown: https://dataxapi.com/apis/wechat_channels/videos/share_link/get.md

Names and identifiers

In Chinese
微信视频号作品分享链接 API
Endpoint ID
wechat_channels.videos.share_link.get
Endpoint
GET /v1/wechat_channels/videos/share_link/get
Last checked 2026-11-02 11:50 UTC.View the Markdown versionopenapi.jsonllms.txt

Start with one key.

226 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free