# Tencent Cloud Direct Connect API

> Tencent Cloud Direct Connect API on Apizie: 22 endpoints (Accept Direct Connect Tunnel, Apply Internet Address, Create Cloud Attach Service, Create Direct Connect, …) 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://apizie.tech/v1/cloud:tencent-dc/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:tencent-dc`
- Category: Cloud
- Status: byok
- Source: https://www.tencentcloud.com/document/api
- Page: https://apizie.tech/api/cloud/tencent-dc
- OpenAPI: https://apizie.tech/api/cloud/tencent-dc/openapi.json

Tencent Cloud API 3.0 for Direct Connect (dc). Every call is signed with TC3-HMAC-SHA256 using your SecretId and SecretKey.

## Endpoints

### Accept Direct Connect Tunnel
`POST https://apizie.tech/v1/cloud:tencent-dc/accept-direct-connect-tunnel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |

### Apply Internet Address
`POST https://apizie.tech/v1/cloud:tencent-dc/apply-internet-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| MaskLen | integer | yes |  |
| AddrType | integer | yes |  |
| AddrProto | integer | yes |  |

### Create Cloud Attach Service
`POST https://apizie.tech/v1/cloud:tencent-dc/create-cloud-attach-service` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Data | object | yes |  |
| Tags | array | no |  |

### Create Direct Connect
`POST https://apizie.tech/v1/cloud:tencent-dc/create-direct-connect` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectName | string | yes |  |
| AccessPointId | string | yes |  |
| LineOperator | string | yes |  |
| PortType | string | yes |  |
| CircuitCode | string | no |  |
| Location | string | no |  |
| Bandwidth | integer | no |  |
| RedundantDirectConnectId | string | no |  |
| Vlan | integer | no |  |
| TencentAddress | string | no |  |
| CustomerAddress | string | no |  |
| CustomerName | string | no |  |
| CustomerContactMail | string | no |  |
| CustomerContactNumber | string | no |  |
| FaultReportContactPerson | string | no |  |
| FaultReportContactNumber | string | no |  |
| FaultReportContactEmail | string | no |  |
| SignLaw | boolean | no |  |
| Tags | array | no |  |
| IsMacSec | boolean | no |  |

### Create Direct Connect Tunnel
`POST https://apizie.tech/v1/cloud:tencent-dc/create-direct-connect-tunnel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectId | string | yes |  |
| DirectConnectTunnelName | string | yes |  |
| DirectConnectOwnerAccount | string | no |  |
| NetworkType | string | no |  |
| NetworkRegion | string | no |  |
| VpcId | string | no |  |
| DirectConnectGatewayId | string | no |  |
| Bandwidth | integer | no |  |
| RouteType | string | no |  |
| BgpPeer | object | no |  |
| RouteFilterPrefixes | array | no |  |
| Vlan | integer | no |  |
| TencentAddress | string | no |  |
| CustomerAddress | string | no |  |
| TencentBackupAddress | string | no |  |
| CloudAttachId | string | no |  |
| BfdEnable | integer | no |  |
| NqaEnable | integer | no |  |
| BfdInfo | object | no |  |
| NqaInfo | object | no |  |
| Tags | array | no |  |

### Delete Direct Connect
`POST https://apizie.tech/v1/cloud:tencent-dc/delete-direct-connect` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectId | string | yes |  |

### Delete Direct Connect Tunnel
`POST https://apizie.tech/v1/cloud:tencent-dc/delete-direct-connect-tunnel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |

### Describe Access Points
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-access-points` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| RegionId | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| Filters | array | no |  |

### Describe Direct Connect Tunnel Extra
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-direct-connect-tunnel-extra` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |

### Describe Direct Connect Tunnels
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-direct-connect-tunnels` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Filters | array | no |  |
| DirectConnectTunnelIds | array | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Direct Connects
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-direct-connects` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Filters | array | no |  |
| DirectConnectIds | array | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe Internet Address
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-internet-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Offset | integer | no |  |
| Limit | integer | no |  |
| Filters | array | no |  |

### Describe Internet Address Quota
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-internet-address-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |

### Describe Internet Address Statistics
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-internet-address-statistics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |

### Describe Public Direct Connect Tunnel Routes
`POST https://apizie.tech/v1/cloud:tencent-dc/describe-public-direct-connect-tunnel-routes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |
| Filters | array | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Disable Internet Address
`POST https://apizie.tech/v1/cloud:tencent-dc/disable-internet-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Enable Internet Address
`POST https://apizie.tech/v1/cloud:tencent-dc/enable-internet-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Modify Direct Connect Attribute
`POST https://apizie.tech/v1/cloud:tencent-dc/modify-direct-connect-attribute` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectId | string | yes |  |
| DirectConnectName | string | no |  |
| CircuitCode | string | no |  |
| Vlan | integer | no |  |
| TencentAddress | string | no |  |
| CustomerAddress | string | no |  |
| CustomerName | string | no |  |
| CustomerContactMail | string | no |  |
| CustomerContactNumber | string | no |  |
| FaultReportContactPerson | string | no |  |
| FaultReportContactNumber | string | no |  |
| FaultReportContactEmail | string | no |  |
| SignLaw | boolean | no |  |
| Bandwidth | integer | no |  |

### Modify Direct Connect Tunnel Attribute
`POST https://apizie.tech/v1/cloud:tencent-dc/modify-direct-connect-tunnel-attribute` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |
| DirectConnectTunnelName | string | no |  |
| BgpPeer | object | no |  |
| RouteFilterPrefixes | array | no |  |
| TencentAddress | string | no |  |
| CustomerAddress | string | no |  |
| Bandwidth | integer | no |  |
| TencentBackupAddress | string | no |  |

### Modify Direct Connect Tunnel Extra
`POST https://apizie.tech/v1/cloud:tencent-dc/modify-direct-connect-tunnel-extra` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |
| Vlan | integer | no |  |
| BgpPeer | object | no |  |
| RouteFilterPrefixes | object | no |  |
| TencentAddress | string | no |  |
| TencentBackupAddress | string | no |  |
| CustomerAddress | string | no |  |
| Bandwidth | integer | no |  |
| EnableBGPCommunity | boolean | no |  |
| BfdEnable | integer | no |  |
| NqaEnable | integer | no |  |
| BfdInfo | object | no |  |
| NqaInfo | object | no |  |
| IPv6Enable | integer | no |  |
| CustomerIDCRoutes | array | no |  |
| JumboEnable | integer | no |  |
| TencentIPv6Address | string | no |  |
| TencentBackupIPv6Address | string | no |  |
| CustomerIPv6Address | string | no |  |
| ImportDirectRoute | boolean | no |  |

### Reject Direct Connect Tunnel
`POST https://apizie.tech/v1/cloud:tencent-dc/reject-direct-connect-tunnel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| DirectConnectTunnelId | string | yes |  |

### Release Internet Address
`POST https://apizie.tech/v1/cloud:tencent-dc/release-internet-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

## Example
```
curl "https://apizie.tech/v1/cloud:tencent-dc/accept-direct-connect-tunnel" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Tencent Cloud Direct Connect API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:tencent-dc/accept-direct-connect-tunnel with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Tencent Cloud Direct Connect API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Tencent Cloud Direct Connect itself also needs your own key from tencentcloudapi.com.

### Can AI agents use the Tencent Cloud Direct Connect API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:tencent-dc.

### What is the status of the Tencent Cloud Direct Connect API?
Needs your own provider key (bring your own key)
