# Alibaba Cloud Fraud Detection API

> Alibaba Cloud Fraud Detection API on Apizie: 42 endpoints (Applies for a bastion host account, Associates a POC backtracking task, Completes a project, Create basic model information, …) 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-safconsole/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Alibaba Cloud OpenAPI for Fraud Detection (safconsole, version 2025-05-21). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Applies for a bastion host account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/apply-bastion-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | no | The project ID |
| Mobile | integer | no | The mobile phone number |

### Associates a POC backtracking task
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/associate-poc-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | no | The project ID |
| TaskId | integer | no | The backtracking task ID |

### Completes a project
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/complete-modeling-project` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | yes | The project ID |

### Create basic model information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/create-customer-module-basic-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleName | string | no | The display identifier of the model for customers |
| ModuleType | string | no | Model deployment type |
| Description | string | no | Model description |
| StorePath | string | no | Model storage path |

### Saves feature information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/create-customer-module-meta-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |
| FeatureTemplate | string | no | The feature version |
| FeatureString | string | no | A string of List . The Object has the following structure: { "mappingName": "xxx" } |

### Create Model Output Information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/create-customer-module-output-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | Customer model ID |
| ProcessExpression | string | no | Score processing logic |
| FinalScoreFormat | string | no | Number of decimal places to retain |
| TestFileUrl | string | no | Test file URL |

### Creates a security modeling project
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/create-modeling-project` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectName | string | yes | The project name |
| Remark | string | no | The remarks |
| InstanceSpec | string | yes | The instance type |

### Deletes the specified customer model based on the provided customer model ID
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/delete-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | Customer model ID |

### Deploys a model generated by security modeling
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/deploy-model-file` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | yes | The project ID |
| GroupId | integer | yes | The file group ID |

### Query basic model information based on the customer model ID
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-customer-module-basic-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | Customer model ID |
| AuthType | string | no | Authorization type |

### Queries model feature information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-customer-module-meta-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Queries model output information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-customer-module-output-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |
| AuthType | string | no | The permission type |

### Retrieves the dropdown options for features based on the selected feature template
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-feature-option` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| FeatureTemplate | string | yes | The feature template |

### Queries feature templates
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-feature-template-list` (byok)

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

### Retrieves the download URL of a file
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-file-download-url` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | yes | The project ID |
| FileId | integer | yes | The file ID |

### Retrieves automatic feature rendering information
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-model-feature` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |
| FeatureTemplate | string | no | The feature template |

### Obtains an OSS upload credential
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-model-oss-token` (byok)

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

### Queries the details of a security modeling project
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-modeling-project-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | no | The project ID |

### Queries the list of security environment modeling projects
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-modeling-project-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| PageSize | integer | no | The number of entries per page. Default value: 10 |
| CurrentPage | integer | no | The current page number |
| Status | string | no | The project status |

### Checks whether a service exists for a specified query
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-module-service-exist` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Queries the status of a customer model
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-module-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The ID of the customer model |

### Queries the POC backtracking list
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-poc-task-list` (byok)

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

### Queries order permissions
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-saf-rmmp-order` (byok)

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

### Queries the scene and service corresponding to a model
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-service-and-scene` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |
| AuthType | string | no | The authorization type |

### Queries the list of user models
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/describe-user-model-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| Name | string | no | The model name |
| CurrentPage | string | no | The current page number |
| PageSize | string | no | The number of entries per page. Default value: 10 |
| AuthType | string | no | The authorization type |

### Copies a model
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/duplicate-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The ID of the customer model |

### Returns a model to edit mode
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/edit-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Retrieves the initial logon password
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/get-bastion-host-certification` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | yes | The project ID |

### Iterate Model
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/iterate-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | Customer model ID |

### Takes a model offline
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/offline-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Brings a model online
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/online-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The ID of the customer model |

### Tests expression parsing
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/parse-expression-parameters` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| Expression | string | no | The expression |

### Submits a test environment
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/prepublish-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Applies to synchronize model files
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/request-model-file-sync` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| ProjectId | integer | yes | The project ID |

### Performs a rollback
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/rollback-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The ID of the customer model |

### Submits a model test
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/test-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Verifies the test environment
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/test-pre-model` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |

### Tests a score processing expression
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/test-process-expression` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| Expression | string | no | The expression |
| Params | string | no | The parameter list |

### Updates the basic information of a model
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/update-module-basic-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| CustomerModuleId | integer | no | The customer model ID |
| CustomerModuleName | string | no | The model name |
| ModuleType | string | no | The module type |
| Description | string | no | The remarks |
| StorePath | string | no | The test address |

### Validates a model
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/validate-model-file` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| FilePath | string | no | The file address |

### Tests model validation
`POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/validate-test-file` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://safconsole.cn-hangzhou.aliyuncs.com |
| FilePath | string | no | The file address |
| CustomerModuleId | string | no | The model ID |

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

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

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/apply-bastion-account" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Fraud Detection API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-safconsole/apply-bastion-account with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the Alibaba Cloud Fraud Detection 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-safconsole.

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