工具市场
网页内容
调用测试Sentiment Analysis Live
SentimentAnalysisLive
- 价格
- 0.024036 USDT / 请求
- 状态
- 可调用
- 官方参考价
- 0.024036 USDT / 请求
- 调用方式
- REST · MCP
调用测试
点击运行后才会提交调用,请先检查参数和费用上限。
运行后,在这里查看状态、费用和返回内容。
接口文档
异步创建成功仅表示取得任务回执。需将回执 ID 传给对应平台的状态或结果接口,确认上游任务是否完成。
curl https://gw.asale.ai/v1/tool-runs \
-H 'Authorization: Bearer <ASALE_API_KEY>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: <UNIQUE_REQUEST_ID>' \
-d '{
"tool": "content.analysis.sentiment.analysis.live",
"input": {
"body": [
{
"keyword": "IANA example domains"
}
]
},
"max_cost_micros": 24036
}'curl https://gw.asale.ai/v1/tool-runs/<RUN_ID> -H 'Authorization: Bearer <ASALE_API_KEY>'| 参数 | 必填 | 类型 |
|---|---|---|
| body | 否 | array |
完整输入规范
{
"$defs": {
"ContentAnalysisSentimentAnalysisLiveRequestInfo": {
"properties": {
"initial_dataset_filters": {
"anyOf": [
{
"description": "initial dataset filtering parameters optional field initial filtering parameters that apply to fields in the Search endpoint you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, , >=, =, <>, in, not_in, like,not_like, has, has_not, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: [\"domain\",\"<>\", \"log",
"items": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
]
},
"type": "array"
},
{
"type": "null"
}
]
},
"internal_list_limit": {
"anyOf": [
{
"description": "maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: top_domains text_categories page_categories countries languages default value: 1 maximum value: 20",
"type": "integer"
},
{
"type": "null"
}
]
},
"keyword": {
"description": "target keyword required field UTF-8 encoding the keywords will be converted to a lowercase format; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: \"keyword\": \"\\\"tesla palo alto\\\"\" learn more about rules and limitations of keyword and keywords fields in Asale APIs in this Help Center article",
"type": "string"
},
"keyword_fields": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": "target keyword fields and target keywords optional field use this parameter to filter the dataset by keywords that certain fields should contain; fields you can specify: title, main_title, previous_title, snippet you can indicate several fields; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: \"keyword_fields\": { \"snippet\": \"\\\"logitech mouse\\\"\", \"main_title\": \"sale\" }",
"type": "object"
},
{
"type": "null"
}
]
},
"page_type": {
"anyOf": [
{
"description": "target page types optional field use this parameter to filter the dataset by page types possible values: \"ecommerce\", \"news\", \"blogs\", \"message-boards\", \"organization\"",
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"positive_connotation_threshold": {
"anyOf": [
{
"description": "positive connotation threshold optional field specified as the probability index threshold for positive sentiment related to the citation content if you specify this field, connotation_types object in the response will only contain data on citations with positive sentiment probability more than or equal to the specified value possible values: from 0 to 1 default value: 0.4",
"type": "number"
},
{
"type": "null"
}
]
},
"rank_scale": {
"anyOf": [
{
"description": "defines the scale used for calculating and displaying the rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_thousand — rank values are displayed on a 0–1000 scale default value: one_thousand learn more about how this parameter works in this Help Center article",
"type": "string"
},
{
"type": "null"
}
]
},
"sentiments_connotation_threshold": {
"anyOf": [
{
"description": "sentiment connotation threshold optional field specified as the probability index threshold for sentiment connotations related to the citation content if you specify this field, sentiment_connotations object in the response will only contain data on citations where the probability per each sentiment is more than or equal to the specified value possible values: from 0 to 1 default value: 0.4",
"type": "number"
},
{
"type": "null"
}
]
},
"tag": {
"anyOf": [
{
"description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"body": {
"items": {
"anyOf": [
{
"oneOf": [
{
"$ref": "#/$defs/ContentAnalysisSentimentAnalysisLiveRequestInfo"
}
],
"type": "object"
},
{
"type": "null"
}
]
},
"type": "array"
}
},
"required": [],
"type": "object"
}价格
0.024036 USDT / 请求
显示起始价格。请先获取当前参数的报价;完成后按实际用量结算并退回差额。
测试会使用账户余额,并受所选密钥预算限制。费用上限仅约束本次 API 调用,不包含后续调用或上游周期任务。
价格版本 5
网页内容
Asale 将同一能力的通道按报价撮合,优先选择可用的低价通道。参考价取各通道已核实参考价的最高值。只有明确未执行的拒绝才可换通道;结果不确定时进入对账,避免重复收费。
供给通道: 1