curl --request GET \
--url https://api.aisa.one/apis/v1/commerce/walmart/keywords/related \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/commerce/walmart/keywords/related"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/commerce/walmart/keywords/related', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/commerce/walmart/keywords/related",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/commerce/walmart/keywords/related"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/commerce/walmart/keywords/related")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/commerce/walmart/keywords/related")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"fields": {
"ad_position": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"competing_products": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"estimated_search_volume": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"keyword_popularity_rank": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"organic_position": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"recently_position": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"relation": {
"listing_id": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
}
},
"relation_type": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"title": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"traffic_share": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
}
},
"key": "<string>",
"kind": "<string>",
"rank": 123
}
],
"meta": {
"notices": [
"<string>"
],
"period": {
"end": "<unknown>",
"kind": "<string>",
"start": "<unknown>"
},
"sources": {}
},
"missing": [
{
"reason": "<string>",
"source": "<string>"
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "<string>",
"retryable": true,
"type": "<string>",
"details": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "<string>",
"retryable": true,
"type": "<string>",
"details": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}
}Walmart: Get related keywords
curl --request GET \
--url https://api.aisa.one/apis/v1/commerce/walmart/keywords/related \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/commerce/walmart/keywords/related"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/commerce/walmart/keywords/related', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/commerce/walmart/keywords/related",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/commerce/walmart/keywords/related"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/commerce/walmart/keywords/related")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/commerce/walmart/keywords/related")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"fields": {
"ad_position": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"competing_products": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"estimated_search_volume": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"keyword_popularity_rank": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"organic_position": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"recently_position": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"relation": {
"listing_id": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
}
},
"relation_type": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"title": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
},
"traffic_share": {
"confidence": 123,
"dims": {},
"fetched_at": "2023-11-07T05:31:56Z",
"license": "<string>",
"metric": "<string>",
"origin": "<string>",
"period_end": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"precision": "<string>",
"source": "<string>",
"sources": [
"<string>"
],
"value": "<unknown>",
"value_type": "<string>",
"verified": true
}
},
"key": "<string>",
"kind": "<string>",
"rank": 123
}
],
"meta": {
"notices": [
"<string>"
],
"period": {
"end": "<unknown>",
"kind": "<string>",
"start": "<unknown>"
},
"sources": {}
},
"missing": [
{
"reason": "<string>",
"source": "<string>"
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "<string>",
"retryable": true,
"type": "<string>",
"details": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "<string>",
"retryable": true,
"type": "<string>",
"details": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}
}请求规范
- 方法与路径: GET /apis/v1/commerce/walmart/keywords/related
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/commerce/walmart/keywords/related - country: query; 必填
- q: query; 必填
- language: query; 必填
- page_size: query; 可选
- fields: query; 可选
- provenance: query; 可选
- Runtime 事实版本: e4ea23246d148272326d4d18f79f43b8fa99cd58edd96f4f3759a860c1c99cf8
{
"operationId": "get_aisa_commerce_apis_v1_commerce_walmart_keywor_156df1",
"method": "GET",
"path": "/apis/v1/commerce/walmart/keywords/related",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not UK). See the enum for supported countries.",
"in": "query",
"name": "country",
"required": true,
"schema": {
"description": "Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not UK). See the enum for supported countries.",
"enum": [
"US"
],
"type": [
"string",
"null"
]
}
},
{
"description": "Search keywords.",
"in": "query",
"name": "q",
"required": true,
"schema": {
"description": "Search keywords.",
"type": [
"string",
"null"
]
}
},
{
"description": "Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.",
"in": "query",
"name": "language",
"required": true,
"schema": {
"description": "Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.",
"type": [
"string",
"null"
]
}
},
{
"description": "Number of items per page.",
"in": "query",
"name": "page_size",
"required": false,
"schema": {
"description": "Number of items per page.",
"type": [
"string",
"null"
]
}
},
{
"description": "Comma-separated business field paths to return. Omit to use this operation's default field selection. The enum includes all fields of the shared item type. Some are populated only by other operations on the same platform; selecting them here does not supply missing data. Field selection trims output only and does not reduce source calls or charges.",
"explode": false,
"in": "query",
"name": "fields",
"required": false,
"schema": {
"description": "Comma-separated business field paths to return. Omit to use this operation's default field selection. The enum includes all fields of the shared item type. Some are populated only by other operations on the same platform; selecting them here does not supply missing data. Field selection trims output only and does not reduce source calls or charges.",
"items": {
"enum": [
"ad_position",
"competing_products",
"estimated_search_volume",
"keyword_popularity_rank",
"organic_position",
"recently_position",
"relation.listing_id",
"relation_type",
"title",
"traffic_share"
],
"type": "string"
},
"type": [
"array",
"null"
]
},
"style": "form"
},
{
"description": "compact (default) returns value and source per field. Shared collection time, license, origin, and value_type are grouped in meta.sources; differing values retain their own metadata. full returns complete per-value provenance, including precision and confidence.",
"in": "query",
"name": "provenance",
"required": false,
"schema": {
"default": "compact",
"description": "compact (default) returns value and source per field. Shared collection time, license, origin, and value_type are grouped in meta.sources; differing values retain their own metadata. full returns complete per-value provenance, including precision and confidence.",
"enum": [
"compact",
"full"
],
"type": [
"string",
"null"
]
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cache_hit_share_bps": 10000,
"customer_micros_usd": 150000,
"customer_pricing_ref": "commerce.walmart.keyword_related.query.v1.pricing@1",
"description": "Charged once per delivered read: an entity with at least one requested field, or one page of a result set. A read that delivers nothing is not charged. A read answered from stored values is charged the cache-hit share of the price. Variants are priced by the route parameters they fix.",
"kind": "fixed_request"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
当前未提供请求参考价格;请使用接口支持的报价功能确认费用。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
查询参数
Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not UK). See the enum for supported countries.
US Search keywords.
Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.
Number of items per page.
Comma-separated business field paths to return. Omit to use this operation's default field selection. The enum includes all fields of the shared item type. Some are populated only by other operations on the same platform; selecting them here does not supply missing data. Field selection trims output only and does not reduce source calls or charges.
ad_position, competing_products, estimated_search_volume, keyword_popularity_rank, organic_position, recently_position, relation.listing_id, relation_type, title, traffic_share compact (default) returns value and source per field. Shared collection time, license, origin, and value_type are grouped in meta.sources; differing values retain their own metadata. full returns complete per-value provenance, including precision and confidence.
compact, full