Network

Check Domain Access Status in WeChat

0calls
1 credits / call

Ready to promote your website on WeChat? It's best to check first if the domain has been 'blacklisted'.

GET
uapis.cn
/api/v1/network/wxdomain
Query parameters
1
domain
string
required

The domain name to query.

Overview

This endpoint can help you query the access status of a domain in WeChat's built-in browser, i.e., whether it has been blocked by WeChat. This is crucial for developers doing promotion and marketing in the WeChat ecosystem.

Query parameters

domain
stringrequired

The domain name to query.

Response

200 / OK

Query successful! Returns the status of this domain in WeChat.

JSON
{
  "domain": "qq.com",
  // Status title
  "title": "This website can be accessed normally",
  // Status type
  "type": "1"
}

400 / Bad Request

Invalid request parameters.

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing or invalid 'domain' parameter."
}

502 / Bad Gateway

Unable to complete query temporarily, please try again later.

JSON
{
  "code": "UPSTREAM_ERROR",
  "details": {},
  "message": "Unable to complete the query. Please try again later."
}