# Alibaba Cloud Anti-DDoS Diversion API

> Alibaba Cloud Anti-DDoS Diversion API on Apizie: 4 endpoints (Configures the advertising of a CIDR block, Queries instances, Queries the CIDR blocks of an anti-DDoS diversion instance, version) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-ddosdiversion`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/ddosdiversion
- Page: https://zieapi.vercel.app/api/cloud/aliyun-ddosdiversion
- OpenAPI: https://zieapi.vercel.app/api/cloud/aliyun-ddosdiversion/openapi.json

Alibaba Cloud OpenAPI for Anti-DDoS Diversion (ddosdiversion, version 2023-07-01). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Configures the advertising of a CIDR block
`POST https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/config-net-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ddosdiversion.cn-hongkong.aliyuncs.com |
| SaleId | string | yes | The ID of the anti-DDoS diversion instance |
| Net | string | yes | The CIDR block of the anti-DDoS diversion instance |
| Status | string | yes | The status of the CIDR block. Valid values: enable: advertises the CIDR block. disable: withdraws the advertising of the CIDR block |
| Regions | string | no | The regions in which the CIDR block needs to be advertised or withdrawn from advertising. If you leave this parameter empty, the CIDR… |
| SubNets | string | no | The subnet CIDR blocks of the CIDR block (JSON-encoded) |

### Queries instances
`POST https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/list-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ddosdiversion.cn-hongkong.aliyuncs.com |
| SaleId | string | no | The ID of the Anti-DDoS Diversion instance |
| Name | string | no | The name of the instance |
| Status | string | no | The status of the instance. Valid values: normal: The instance is running normally. expired: The instance has expired. deleting: The… |
| Page | integer | no | The number of the page to return. Default value: 1 |
| Num | integer | no | The number of entries to return. Default value: 100 |

### Queries the CIDR blocks of an anti-DDoS diversion instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/query-net-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ddosdiversion.cn-hongkong.aliyuncs.com |
| SaleId | string | no | The ID of the anti-DDoS diversion instance |
| Net | string | no | The CIDR block of the anti-DDoS diversion instance. If no extended CIDR blocks are configured for the anti-DDoS diversion instance, this… |
| Mode | string | no | The scheduling mode. Valid values: manual: manual scheduling. netflow-auto: automatic scheduling |
| MainNet | string | no | The primary CIDR block of the anti-DDoS diversion instance for which an extended CIDR block is configured. If no extended CIDR blocks are… |
| Page | integer | no | The page number. Default value: 1 |
| Num | integer | no | The number of entries per page. Default value: 100 |

### version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://ddosdiversion.cn-hongkong.aliyuncs.com |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/config-net-status" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Anti-DDoS Diversion API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-ddosdiversion/config-net-status with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Anti-DDoS Diversion API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Anti-DDoS Diversion itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Anti-DDoS Diversion API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-ddosdiversion.

### What is the status of the Alibaba Cloud Anti-DDoS Diversion API?
Needs your own provider key (bring your own key)
