# Alibaba Cloud C2B2C DISTRIBUTION API

> Alibaba Cloud C2B2C DISTRIBUTION API on Apizie: 4 endpoints (Converts a federated logon link, Retrieves a token, Distribution quote API, 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-trafficfxopen/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Alibaba Cloud OpenAPI for C2B2C DISTRIBUTION (trafficfxopen, version 2024-08-15). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Converts a federated logon link
`POST https://zieapi.vercel.app/v1/cloud:aliyun-trafficfxopen/convert-url` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | The source |
| scene | string | yes | The scene |
| xenv | string | yes | The environment |
| thirdId | string | no | The Fliggy account |
| uid | string | yes | The UID of the user within the partner system. This parameter is optional |
| phone | string | yes | The phone number |
| jumpUrl | string | yes | The redirect URL |
| countryCallingCode | string | no | The country calling code |
| xAcsAirticketAccessToken | string | yes | The access token |
| xAcsAirticketLanguage | string | no | The language. This parameter is optional |

### Retrieves a token
`GET https://zieapi.vercel.app/v1/cloud:aliyun-trafficfxopen/get-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| appKey | string | yes | The appKey of the application |
| appSecret | string | yes | The appSecret of the application |

### Distribution quote API
`POST https://zieapi.vercel.app/v1/cloud:aliyun-trafficfxopen/search` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | Source |
| terminal | string | yes | Terminal |
| userId | string | no | Third-party user ID |
| searchParam | string | yes | Request business input parameters |
| xAcsAirticketAccessToken | string | yes | Token |
| xAcsAirticketLanguage | string | no | Optional |
| scene | string | no | Scene |

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

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-trafficfxopen/convert-url" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud C2B2C DISTRIBUTION API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-trafficfxopen/convert-url with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the Alibaba Cloud C2B2C DISTRIBUTION 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-trafficfxopen.

### What is the status of the Alibaba Cloud C2B2C DISTRIBUTION API?
Needs your own provider key (bring your own key)
