Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

WeChat MP Article Ads

Tài liệu API
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad

Returns embedded ad slot information for a specified WeChat MP article URL. Supports choosing between the full raw response or a flattened ad list.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
WeChat MP article URL. E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw` (this article has no ads, returns empty)
Optional, default True. True=full raw response; False=flattened ad list.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

WeChat MP Article Ads API

Look up embedded ad slot information from a WeChat MP post by providing url. Use raw to choose between a full payload or a flattened list.

Use cases

  • Inspect ad placements embedded inside a specific WeChat MP article.
  • Extract ad slot details for commercial content analysis.
  • Audit ad presence across WeChat MP posts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"}'

Parameters

NameTypeRequiredDescription
urlstringYesWeChat MP article URL.
rawbooleanNoOptional, default True.

Notes

  • Set raw to false to receive a flattened ad list instead of the default full response.
  • Requires a valid WeChat MP article URL passed in url.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
WeChat MP$0.01 mỗi lần gọiJSON
WeChat MP$0.01 mỗi lần gọiJSON
WeChat MP$0.01 mỗi lần gọiJSON
WeChat MP$0.01 mỗi lần gọiJSON
WeChat MP$0.01 mỗi lần gọiJSON
WeChat MP$0.01 mỗi lần gọiJSON

Hướng dẫn:Best WeChat MP API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API WeChat MP Article Ads?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API WeChat MP Article Ads có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API WeChat MP Article Ads chấp nhận những tham số nào?

Bắt buộc: url (string). Tùy chọn: raw (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API WeChat MP Article Ads trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của WeChat MP không?

Không. WeChat MP Article Ads chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của WeChat MP.