This topic describes the features and billing of URL Risk Detection.
URL risk detection
Features
URL Risk Detection helps you identify risks such as fraud, pornography, and gambling in third-party URLs. If the service identifies a URL as risky, it returns a corresponding risk label. The service also provides basic information about the URL's website. This service is ideal for scanning URLs in various scenarios, including in-app browsers, content sharing, marketing advertisements, and SMS messages.
Service
URL Risk Detection scans URLs in various scenarios and provides the following services:
Service | Features | Scenarios |
Service name: URL Risk Detection service: url_detection | Analyzes risks based on a proprietary database of tagged URLs and site information. This is a synchronous detection service. | Detects inappropriate or harmful content in URLs. We recommend using this service to scan all third-party URLs. |
Service name: URL Risk Detection Pro service: url_detection_pro | Analyzes risks by scanning the content of the target webpage for more accurate results. This is an asynchronous detection service. | Detects inappropriate or harmful content in URLs. We recommend this service for more precise risk assessments of third-party URLs. |
Detection capability
The URL Risk Detection service returns risk assessments and basic information using the following labels:
Detection capability | Description |
Risk label |
|
Basic information |
|
Billing
Pay-as-you-go
When you activate the Content Moderation Pro service, the default billing method is pay-as-you-go. You are only charged for the API calls you make. The pricing for the URL Risk Detection API is as follows.
Moderation type | Business scenarios (services) | Unit price |
General Text Moderation (text_standard) General URL Detection (url_standard) | URL Risk Detection: url_detection | CNY 7.50 per 10,000 calls Note You are charged for each call to the URL Risk Detection service. For example, 1,000 calls would cost CNY 0.75. |
Advanced URL Detection (url_advanced) | URL Risk Detection Pro: url_detection_pro | CNY 30.00 per 10,000 calls Note You are charged for each call to the URL Risk Detection Pro service. For example, 100 calls would cost CNY 0.30. |
The billing frequency for pay-as-you-go Content Moderation Pro is once per hour. In the billing details, moderationType corresponds to the moderation type field. You can view your Billing Details.
Resource package deduction
If you expect a high or predictable volume of URL scans, we recommend purchasing a resource package in advance. Larger resource packages offer greater discounts, and the unit price is lower than the pay-as-you-go rate. For more information, see Purchase a resource plan for Content Moderation Pro.
Content Moderation Pro resource packages can only be used to offset charges for the Content Moderation Pro service and cannot be shared with resource packages for Content Moderation 1.0. The deduction factors are as follows:
Moderation type | Business scenarios (services) | Deduction factor |
General Text Moderation (text_standard) General URL Detection (url_standard) | URL Risk Detection: url_detection | 1: Each successful API call consumes 1 call from your resource package. For example, if you purchase a resource package with a capacity of 10 calls and make one successful API call, 1 call is deducted, leaving a balance of 9 calls. |
Advanced URL Detection (url_advanced) | URL Risk Detection Pro: url_detection_pro | 4: Each successful API call consumes 4 calls from your resource package. For example, if you purchase a resource package with a capacity of 10 calls and make one successful API call, 4 calls are deducted, leaving a balance of 6 calls. |
After you purchase a resource package, calls to the URL Risk Detection API are first deducted from the package. If your package balance is insufficient, you are automatically charged at the pay-as-you-go rate. We recommend that you monitor your package balance and pay-as-you-go bills. You can set up low-balance alerts on the Alibaba Cloud resource plans console.
Integration
You can integrate URL Risk Detection by using an SDK or calling the API directly:
To integrate using an SDK, see the URL Risk Detection integration guide.
Integrate using the API.
For the synchronous API, see UrlDetect.
For the asynchronous API, see UrlAsyncDetect.