Price extraction

Updated at:

Usage notes

  • This service is a feature of the Industry Edition. You must activate the Industry Edition to call this service for free. You can activate the service or confirm your activation status here: Activate Service

  • After you activate the service, you must purchase a resource plan to make calls. You can purchase a resource plan here: Purchase Resource Plan

  • Supported language: Chinese

  • Supported industry: E-commerce

Request parameters

Name

Example value

Location

Type

Required

Description

Action

GetPriceChEcom

body

string

Yes

A static field. Do not omit.

ServiceCode

alinlp

body

string

Yes

A static field. Do not omit.

Text

A factory-direct American-style children's bed 303, made of wood and board composite, excellent quality, new in box. Size 1.2*2 meters. Last 7 pieces, ¥560 each.

body

string

Yes

The title of a product in Chinese E-commerce.

The maximum length is 800 characters.

Response data

Parameter name

Example value

Parameter description

tracerId

b298f25928ce185eb39a16b4f61c5975

The unique request ID. Use this ID to troubleshoot issues.

data

[
  {
    "span": "¥560 each",
    "label": "NP",
    "score": 0.9994
  }
]

span: The extracted price result.

label: The specification.

score: The confidence level.

API access

  1. To access the API using code, see Quick Start.

  2. To try the service online, see Online Trial.

Error codes

HttpCode

Error code

Error message

Description

403

Forbidden.NoAuth

Failed to perform user authentication.

User authentication failed.

411

FrameworkApiError

Framework API error.

Framework API error.

410

FrameworkError

Framework internal server error.

Framework error.

412

FrameworkFormatError

Framework request format error.

Framework request format error.

413

FrameworkReturnError

Framework return type format error.

Framework response format error.

406

TextCodingError

An encoding error occurred to the input text.

Input text encoding error.

405

TextLimitExceeded

The maximum length of the text is exceeded.

The text length exceeds the limit.

429

Throttling.User

Flow control has been triggered.

Throttling is triggered.

400

UserStatusInvalid

The user status is invalid.

The user status is invalid. The service is not activated.

500

InternalError

A service error occurred.

Internal service error.

401

InvalidParameter

The parameter is invalid.

The parameter is invalid.