Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/ebay/search?engine=ebay_search' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/ebay/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/ebay/search"
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/ebay/search', 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/ebay/search",
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/ebay/search"
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/ebay/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ebay/search")
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{
"categories": [
{
"name": "<string>",
"category_id": "<string>",
"is_selected": true,
"link": "<string>",
"subcategories": "<array>"
}
],
"error": "<string>",
"filters": [
{
"options": [
{
"is_selected": true,
"items": 123,
"link": "<string>",
"text": "<string>",
"type": "<string>"
}
],
"type": "<string>"
}
],
"organic_results": [
{
"position": 123,
"authenticity": "<string>",
"bids": 123,
"brand": "<string>",
"buying_format": "<string>",
"condition": "<string>",
"deal": "<string>",
"discount": "<string>",
"extensions": [
"<string>"
],
"extracted_items_sold": 123,
"extracted_original_price": 123,
"extracted_price": 123,
"extracted_price_range": {
"from": 123,
"to": 123
},
"extracted_shipping": 123,
"extracted_unit_price": 123,
"extracted_watching": 123,
"images": [
"<string>"
],
"is_auction": true,
"is_best_offer": true,
"is_buy_it_now": true,
"is_free_return": true,
"is_in_psa_vault": true,
"is_price_range": true,
"is_sponsored": true,
"item_id": "<string>",
"items_sold": "<string>",
"link": "<string>",
"original_price": "<string>",
"price": "<string>",
"product_id": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"seller": {
"is_direct_from_seller": true,
"is_top_rated_plus": true,
"name": "<string>",
"positive_feedback_percent": 123,
"reviews": 123,
"thumbnail": "<string>"
},
"shipping": "<string>",
"shipping_details": "<string>",
"stock": "<string>",
"subtitle": "<string>",
"tag": "<string>",
"thumbnail": "<string>",
"time_left": "<string>",
"title": "<string>",
"trending": "<string>",
"unit_price": "<string>",
"watching": "<string>"
}
],
"pagination": {
"current": 123,
"next": "<string>",
"other_pages": {},
"previous": "<string>"
},
"related_results": [
{
"position": 123,
"authenticity": "<string>",
"bids": 123,
"brand": "<string>",
"buying_format": "<string>",
"condition": "<string>",
"deal": "<string>",
"discount": "<string>",
"extensions": [
"<string>"
],
"extracted_items_sold": 123,
"extracted_original_price": 123,
"extracted_price": 123,
"extracted_price_range": {
"from": 123,
"to": 123
},
"extracted_shipping": 123,
"extracted_unit_price": 123,
"extracted_watching": 123,
"images": [
"<string>"
],
"is_auction": true,
"is_best_offer": true,
"is_buy_it_now": true,
"is_free_return": true,
"is_in_psa_vault": true,
"is_price_range": true,
"is_sponsored": true,
"item_id": "<string>",
"items_sold": "<string>",
"link": "<string>",
"original_price": "<string>",
"price": "<string>",
"product_id": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"seller": {
"is_direct_from_seller": true,
"is_top_rated_plus": true,
"name": "<string>",
"positive_feedback_percent": 123,
"reviews": 123,
"thumbnail": "<string>"
},
"shipping": "<string>",
"shipping_details": "<string>",
"stock": "<string>",
"subtitle": "<string>",
"tag": "<string>",
"thumbnail": "<string>",
"time_left": "<string>",
"title": "<string>",
"trending": "<string>",
"unit_price": "<string>",
"watching": "<string>"
}
],
"related_searches": [
{
"link": "<string>",
"query": "<string>"
}
],
"search_information": {
"buying_format": "<string>",
"category_displayed": "<string>",
"filters_applied": [
"<string>"
],
"language": "<string>",
"notice": "<string>",
"query_displayed": "<string>",
"shipping_to": "<string>",
"sorted_by": "<string>",
"total_results": 123
},
"search_metadata": {
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"status": "<string>",
"html_url": "<string>",
"json_url": "<string>",
"parsing_time_taken": 123,
"request_time_taken": 123,
"request_url": "<string>",
"total_time_taken": 123
},
"search_parameters": {
"advanced_filters": "<string>",
"buying_format": "<string>",
"category_id": 123,
"condition": "<string>",
"country": "<string>",
"delivery_country": "<string>",
"distance_radius": 123,
"ebay_domain": "<string>",
"engine": "<string>",
"filters": "<string>",
"include_related_results": "<string>",
"layout": "<string>",
"num": 123,
"page": 123,
"postal_code": "<string>",
"price_max": 123,
"price_min": 123,
"product_origin_country": "<string>",
"q": "<string>",
"sort_by": "<string>"
},
"sections": [
{
"has_items": true,
"is_sponsored": true,
"results": [
{
"category_id": "<string>",
"link": "<string>",
"position": 123,
"release_date": "<string>",
"thumbnail": "<string>",
"title": "<string>"
}
],
"subtitle": "<string>",
"title": "<string>"
}
]
}eBay
eBay Search API -test
eBay Search API -test
GET
https://api.aisa.one
/
apis
/
v1
/
ebay
/
search
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/ebay/search?engine=ebay_search' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/ebay/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/ebay/search"
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/ebay/search', 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/ebay/search",
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/ebay/search"
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/ebay/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ebay/search")
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{
"categories": [
{
"name": "<string>",
"category_id": "<string>",
"is_selected": true,
"link": "<string>",
"subcategories": "<array>"
}
],
"error": "<string>",
"filters": [
{
"options": [
{
"is_selected": true,
"items": 123,
"link": "<string>",
"text": "<string>",
"type": "<string>"
}
],
"type": "<string>"
}
],
"organic_results": [
{
"position": 123,
"authenticity": "<string>",
"bids": 123,
"brand": "<string>",
"buying_format": "<string>",
"condition": "<string>",
"deal": "<string>",
"discount": "<string>",
"extensions": [
"<string>"
],
"extracted_items_sold": 123,
"extracted_original_price": 123,
"extracted_price": 123,
"extracted_price_range": {
"from": 123,
"to": 123
},
"extracted_shipping": 123,
"extracted_unit_price": 123,
"extracted_watching": 123,
"images": [
"<string>"
],
"is_auction": true,
"is_best_offer": true,
"is_buy_it_now": true,
"is_free_return": true,
"is_in_psa_vault": true,
"is_price_range": true,
"is_sponsored": true,
"item_id": "<string>",
"items_sold": "<string>",
"link": "<string>",
"original_price": "<string>",
"price": "<string>",
"product_id": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"seller": {
"is_direct_from_seller": true,
"is_top_rated_plus": true,
"name": "<string>",
"positive_feedback_percent": 123,
"reviews": 123,
"thumbnail": "<string>"
},
"shipping": "<string>",
"shipping_details": "<string>",
"stock": "<string>",
"subtitle": "<string>",
"tag": "<string>",
"thumbnail": "<string>",
"time_left": "<string>",
"title": "<string>",
"trending": "<string>",
"unit_price": "<string>",
"watching": "<string>"
}
],
"pagination": {
"current": 123,
"next": "<string>",
"other_pages": {},
"previous": "<string>"
},
"related_results": [
{
"position": 123,
"authenticity": "<string>",
"bids": 123,
"brand": "<string>",
"buying_format": "<string>",
"condition": "<string>",
"deal": "<string>",
"discount": "<string>",
"extensions": [
"<string>"
],
"extracted_items_sold": 123,
"extracted_original_price": 123,
"extracted_price": 123,
"extracted_price_range": {
"from": 123,
"to": 123
},
"extracted_shipping": 123,
"extracted_unit_price": 123,
"extracted_watching": 123,
"images": [
"<string>"
],
"is_auction": true,
"is_best_offer": true,
"is_buy_it_now": true,
"is_free_return": true,
"is_in_psa_vault": true,
"is_price_range": true,
"is_sponsored": true,
"item_id": "<string>",
"items_sold": "<string>",
"link": "<string>",
"original_price": "<string>",
"price": "<string>",
"product_id": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"seller": {
"is_direct_from_seller": true,
"is_top_rated_plus": true,
"name": "<string>",
"positive_feedback_percent": 123,
"reviews": 123,
"thumbnail": "<string>"
},
"shipping": "<string>",
"shipping_details": "<string>",
"stock": "<string>",
"subtitle": "<string>",
"tag": "<string>",
"thumbnail": "<string>",
"time_left": "<string>",
"title": "<string>",
"trending": "<string>",
"unit_price": "<string>",
"watching": "<string>"
}
],
"related_searches": [
{
"link": "<string>",
"query": "<string>"
}
],
"search_information": {
"buying_format": "<string>",
"category_displayed": "<string>",
"filters_applied": [
"<string>"
],
"language": "<string>",
"notice": "<string>",
"query_displayed": "<string>",
"shipping_to": "<string>",
"sorted_by": "<string>",
"total_results": 123
},
"search_metadata": {
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"status": "<string>",
"html_url": "<string>",
"json_url": "<string>",
"parsing_time_taken": 123,
"request_time_taken": 123,
"request_url": "<string>",
"total_time_taken": 123
},
"search_parameters": {
"advanced_filters": "<string>",
"buying_format": "<string>",
"category_id": 123,
"condition": "<string>",
"country": "<string>",
"delivery_country": "<string>",
"distance_radius": 123,
"ebay_domain": "<string>",
"engine": "<string>",
"filters": "<string>",
"include_related_results": "<string>",
"layout": "<string>",
"num": 123,
"page": 123,
"postal_code": "<string>",
"price_max": 123,
"price_min": 123,
"product_origin_country": "<string>",
"q": "<string>",
"sort_by": "<string>"
},
"sections": [
{
"has_items": true,
"is_sponsored": true,
"results": [
{
"category_id": "<string>",
"link": "<string>",
"position": 123,
"release_date": "<string>",
"thumbnail": "<string>",
"title": "<string>"
}
],
"subtitle": "<string>",
"title": "<string>"
}
]
}请求规范
- 方法与路径: GET /apis/v1/ebay/search
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/ebay/search - advanced_filters: query; 可选
- buying_format: query; 可选
- category_id: query; 可选
- condition: query; 可选
- country: query; 可选
- delivery_country: query; 可选
- distance_radius: query; 可选
- ebay_domain: query; 可选
- engine: query; 必填
- filters: query; 可选
- include_related_results: query; 可选
- layout: query; 可选
- num: query; 可选
- page: query; 可选
- postal_code: query; 可选
- preferred_location: query; 可选
- price_max: query; 可选
- price_min: query; 可选
- product_origin_country: query; 可选
- q: query; 可选
- sort_by: query; 可选
{
"operationId": "any_youtube_apis_v1_ebay_search",
"method": "GET",
"path": "/apis/v1/ebay/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "Comma-separated list of advanced filters in key=value format",
"in": "query",
"name": "advanced_filters",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Buying format filter",
"in": "query",
"name": "buying_format",
"required": false,
"schema": {
"enum": [
"auction",
"buy_it_now",
"best_offer"
],
"type": "string"
}
},
{
"description": "Category ID to search within. Either 'q' or 'category_id' must be present",
"in": "query",
"name": "category_id",
"required": false,
"schema": {
"type": "integer"
}
},
{
"description": "Comma-separated list of item conditions",
"in": "query",
"name": "condition",
"required": false,
"schema": {
"pattern": "^(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified)(,(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified))*$",
"type": "string"
}
},
{
"description": "ISO 3166-1 alpha-2 country code",
"in": "query",
"name": "country",
"required": false,
"schema": {
"enum": [
"US",
"CA",
"GB",
"AF",
"AL",
"DZ",
"AS",
"AD",
"AO",
"AI",
"AG",
"AR",
"AM",
"AW",
"AU",
"AT",
"AZ",
"BS",
"BH",
"BD",
"BB",
"BY",
"BE",
"BZ",
"BJ",
"BM",
"BT",
"BO",
"BA",
"BW",
"BR",
"VG",
"BN",
"BG",
"BF",
"BI",
"KH",
"CM",
"CV",
"KY",
"CF",
"TD",
"CL",
"CN",
"CO",
"KM",
"CD",
"CG",
"CK",
"CR",
"CI",
"HR",
"CY",
"CZ",
"DK",
"DJ",
"DM",
"DO",
"EC",
"EG",
"SV",
"GQ",
"ER",
"EE",
"ET",
"FK",
"FJ",
"FI",
"FR",
"GF",
"PF",
"GA",
"GM",
"GE",
"DE",
"GH",
"GI",
"GR",
"GL",
"GD",
"GP",
"GU",
"GT",
"GG",
"GN",
"GW",
"GY",
"HT",
"HN",
"HK",
"HU",
"IS",
"IN",
"ID",
"IR",
"IQ",
"IE",
"IL",
"IT",
"JM",
"JP",
"JE",
"JO",
"KZ",
"KE",
"KI",
"KR",
"KW",
"KG",
"LA",
"LV",
"LB",
"LI",
"LT",
"LU",
"MO",
"MK",
"MG",
"MW",
"MY",
"MV",
"ML",
"MT",
"MH",
"MQ",
"MR",
"MU",
"YT",
"MX",
"MD",
"MC",
"MN",
"MS",
"MA",
"MZ",
"MM",
"NA",
"NR",
"NP",
"NL",
"NC",
"NZ",
"NI",
"NE",
"NG",
"NU",
"NO",
"OM",
"PK",
"PW",
"PA",
"PG",
"PY",
"PE",
"PH",
"PL",
"PT",
"PR",
"QA",
"RO",
"RU",
"RW",
"SH",
"KN",
"LC",
"PM",
"VC",
"SM",
"SA",
"SN",
"SC",
"SL",
"SG",
"SK",
"SI",
"SB",
"SO",
"ZA",
"ES",
"LK",
"SR",
"SZ",
"SE",
"CH",
"TW",
"TJ",
"TZ",
"TH",
"TG",
"TO",
"TT",
"TN",
"TR",
"TM",
"TC",
"TV",
"UG",
"UA",
"AE",
"UY",
"UZ",
"VU",
"VA",
"VE",
"VN",
"VI",
"WF",
"EH",
"WS",
"YE",
"FM",
"RE",
"ME",
"RS"
],
"type": "string"
}
},
{
"description": "Delivery country ISO 3166-1 alpha-2 code",
"in": "query",
"name": "delivery_country",
"required": false,
"schema": {
"enum": [
"US",
"CA",
"GB",
"AF",
"AL",
"DZ",
"AS",
"AD",
"AO",
"AI",
"AG",
"AR",
"AM",
"AW",
"AU",
"AT",
"AZ",
"BS",
"BH",
"BD",
"BB",
"BY",
"BE",
"BZ",
"BJ",
"BM",
"BT",
"BO",
"BA",
"BW",
"BR",
"VG",
"BN",
"BG",
"BF",
"BI",
"KH",
"CM",
"CV",
"KY",
"CF",
"TD",
"CL",
"CN",
"CO",
"KM",
"CD",
"CG",
"CK",
"CR",
"CI",
"HR",
"CY",
"CZ",
"DK",
"DJ",
"DM",
"DO",
"EC",
"EG",
"SV",
"GQ",
"ER",
"EE",
"ET",
"FK",
"FJ",
"FI",
"FR",
"GF",
"PF",
"GA",
"GM",
"GE",
"DE",
"GH",
"GI",
"GR",
"GL",
"GD",
"GP",
"GU",
"GT",
"GG",
"GN",
"GW",
"GY",
"HT",
"HN",
"HK",
"HU",
"IS",
"IN",
"ID",
"IR",
"IQ",
"IE",
"IL",
"IT",
"JM",
"JP",
"JE",
"JO",
"KZ",
"KE",
"KI",
"KR",
"KW",
"KG",
"LA",
"LV",
"LB",
"LI",
"LT",
"LU",
"MO",
"MK",
"MG",
"MW",
"MY",
"MV",
"ML",
"MT",
"MH",
"MQ",
"MR",
"MU",
"YT",
"MX",
"MD",
"MC",
"MN",
"MS",
"MA",
"MZ",
"MM",
"NA",
"NR",
"NP",
"NL",
"NC",
"NZ",
"NI",
"NE",
"NG",
"NU",
"NO",
"OM",
"PK",
"PW",
"PA",
"PG",
"PY",
"PE",
"PH",
"PL",
"PT",
"PR",
"QA",
"RO",
"RU",
"RW",
"SH",
"KN",
"LC",
"PM",
"VC",
"SM",
"SA",
"SN",
"SC",
"SL",
"SG",
"SK",
"SI",
"SB",
"SO",
"ZA",
"ES",
"LK",
"SR",
"SZ",
"SE",
"CH",
"TW",
"TJ",
"TZ",
"TH",
"TG",
"TO",
"TT",
"TN",
"TR",
"TM",
"TC",
"TV",
"UG",
"UA",
"AE",
"UY",
"UZ",
"VU",
"VA",
"VE",
"VN",
"VI",
"WF",
"EH",
"WS",
"YE",
"FM",
"RE",
"ME",
"RS"
],
"type": "string"
}
},
{
"description": "Distance radius in miles from postal code. Requires postal code to be set",
"in": "query",
"name": "distance_radius",
"required": false,
"schema": {
"minimum": 1,
"type": "number"
}
},
{
"description": "eBay domain to search on",
"in": "query",
"name": "ebay_domain",
"required": false,
"schema": {
"default": "ebay.com",
"enum": [
"ebay.com",
"ebay.com.au",
"ebay.at",
"befr.ebay.be",
"benl.ebay.be",
"ebay.ca",
"cafr.ebay.ca",
"ebay.fr",
"ebay.de",
"ebay.com.hk",
"ebay.ie",
"ebay.it",
"ebay.com.my",
"ebay.nl",
"ebay.ph",
"ebay.pl",
"ebay.com.sg",
"ebay.es",
"ebay.ch",
"ebay.co.uk"
],
"type": "string"
}
},
{
"description": "Search engine to use",
"example": "ebay_search",
"in": "query",
"name": "engine",
"required": true,
"schema": {
"enum": [
"ebay_search"
],
"type": "string"
}
},
{
"description": "Comma-separated list of filters to apply",
"in": "query",
"name": "filters",
"required": false,
"schema": {
"pattern": "^(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault)(,(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault))*$",
"type": "string"
}
},
{
"description": "When set to `true`, returns eBay's \"Results matching fewer words\" items under a separate `related_results` key, both after the exact matches and when there are none. Defaults to `false`, which leaves them out and returns an error when no exact matches are found.",
"in": "query",
"name": "include_related_results",
"required": false,
"schema": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
{
"description": "Results layout format",
"in": "query",
"name": "layout",
"required": false,
"schema": {
"enum": [
"list",
"grid"
],
"type": "string"
}
},
{
"description": "Number of results per page",
"in": "query",
"name": "num",
"required": false,
"schema": {
"enum": [
60,
120,
240
],
"type": "integer"
}
},
{
"description": "Page number (starts at 1)",
"in": "query",
"name": "page",
"required": false,
"schema": {
"minimum": 1,
"type": "integer"
}
},
{
"description": "Postal code for distance-based searches. Only supported for certain delivery countries (US, CA, GB, AU, AT, BE, CZ, FR, DE, IT, NL, PL)",
"in": "query",
"name": "postal_code",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Preferred seller location",
"in": "query",
"name": "preferred_location",
"required": false,
"schema": {
"enum": [
"domestic",
"regional",
"worldwide"
],
"type": "string"
}
},
{
"description": "Maximum price filter (must be greater than or equal to price_min)",
"in": "query",
"name": "price_max",
"required": false,
"schema": {
"minimum": 0,
"type": "number"
}
},
{
"description": "Minimum price filter",
"in": "query",
"name": "price_min",
"required": false,
"schema": {
"minimum": 0,
"type": "number"
}
},
{
"description": "Product origin country ISO 3166-1 alpha-2 code",
"in": "query",
"name": "product_origin_country",
"required": false,
"schema": {
"enum": [
"US",
"CA",
"GB",
"AF",
"AL",
"DZ",
"AS",
"AD",
"AO",
"AI",
"AG",
"AR",
"AM",
"AW",
"AU",
"AT",
"AZ",
"BS",
"BH",
"BD",
"BB",
"BY",
"BE",
"BZ",
"BJ",
"BM",
"BT",
"BO",
"BA",
"BW",
"BR",
"VG",
"BN",
"BG",
"BF",
"BI",
"KH",
"CM",
"CV",
"KY",
"CF",
"TD",
"CL",
"CN",
"CO",
"KM",
"CD",
"CG",
"CK",
"CR",
"CI",
"HR",
"CY",
"CZ",
"DK",
"DJ",
"DM",
"DO",
"EC",
"EG",
"SV",
"GQ",
"ER",
"EE",
"ET",
"FK",
"FJ",
"FI",
"FR",
"GF",
"PF",
"GA",
"GM",
"GE",
"DE",
"GH",
"GI",
"GR",
"GL",
"GD",
"GP",
"GU",
"GT",
"GG",
"GN",
"GW",
"GY",
"HT",
"HN",
"HK",
"HU",
"IS",
"IN",
"ID",
"IR",
"IQ",
"IE",
"IL",
"IT",
"JM",
"JP",
"JE",
"JO",
"KZ",
"KE",
"KI",
"KR",
"KW",
"KG",
"LA",
"LV",
"LB",
"LI",
"LT",
"LU",
"MO",
"MK",
"MG",
"MW",
"MY",
"MV",
"ML",
"MT",
"MH",
"MQ",
"MR",
"MU",
"YT",
"MX",
"MD",
"MC",
"MN",
"MS",
"MA",
"MZ",
"MM",
"NA",
"NR",
"NP",
"NL",
"NC",
"NZ",
"NI",
"NE",
"NG",
"NU",
"NO",
"OM",
"PK",
"PW",
"PA",
"PG",
"PY",
"PE",
"PH",
"PL",
"PT",
"PR",
"QA",
"RO",
"RU",
"RW",
"SH",
"KN",
"LC",
"PM",
"VC",
"SM",
"SA",
"SN",
"SC",
"SL",
"SG",
"SK",
"SI",
"SB",
"SO",
"ZA",
"ES",
"LK",
"SR",
"SZ",
"SE",
"CH",
"TW",
"TJ",
"TZ",
"TH",
"TG",
"TO",
"TT",
"TN",
"TR",
"TM",
"TC",
"TV",
"UG",
"UA",
"AE",
"UY",
"UZ",
"VU",
"VA",
"VE",
"VN",
"VI",
"WF",
"EH",
"WS",
"YE",
"FM",
"RE",
"ME",
"RS"
],
"type": "string"
}
},
{
"description": "Search query. Either 'q' or 'category_id' must be present",
"in": "query",
"name": "q",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Sort results by",
"in": "query",
"name": "sort_by",
"required": false,
"schema": {
"enum": [
"best_match",
"price_shipping_low_to_high",
"price_shipping_high_to_low",
"distance_nearest",
"time_ending_soonest",
"time_newly_listed",
"price_low_to_high",
"price_high_to_low",
"condition_new_first",
"condition_used_first"
],
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
请求费用。 默认请求预估费用:$0.001 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
查询参数
Comma-separated list of item conditions
Pattern:
^(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified)(,(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified))*$ISO 3166-1 alpha-2 country code
可用选项:
US, CA, GB, AF, AL, DZ, AS, AD, AO, AI, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, VG, BN, BG, BF, BI, KH, CM, CV, KY, CF, TD, CL, CN, CO, KM, CD, CG, CK, CR, CI, HR, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NO, OM, PK, PW, PA, PG, PY, PE, PH, PL, PT, PR, QA, RO, RU, RW, SH, KN, LC, PM, VC, SM, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, ES, LK, SR, SZ, SE, CH, TW, TJ, TZ, TH, TG, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, UY, UZ, VU, VA, VE, VN, VI, WF, EH, WS, YE, FM, RE, ME, RS Delivery country ISO 3166-1 alpha-2 code
可用选项:
US, CA, GB, AF, AL, DZ, AS, AD, AO, AI, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, VG, BN, BG, BF, BI, KH, CM, CV, KY, CF, TD, CL, CN, CO, KM, CD, CG, CK, CR, CI, HR, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NO, OM, PK, PW, PA, PG, PY, PE, PH, PL, PT, PR, QA, RO, RU, RW, SH, KN, LC, PM, VC, SM, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, ES, LK, SR, SZ, SE, CH, TW, TJ, TZ, TH, TG, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, UY, UZ, VU, VA, VE, VN, VI, WF, EH, WS, YE, FM, RE, ME, RS Comma-separated list of filters to apply
Pattern:
^(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault)(,(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault))*$When set to true, returns eBay's "Results matching fewer words" items under a separate related_results key, both after the exact matches and when there are none. Defaults to false, which leaves them out and returns an error when no exact matches are found.
可用选项:
true, false Product origin country ISO 3166-1 alpha-2 code
可用选项:
US, CA, GB, AF, AL, DZ, AS, AD, AO, AI, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, VG, BN, BG, BF, BI, KH, CM, CV, KY, CF, TD, CL, CN, CO, KM, CD, CG, CK, CR, CI, HR, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NO, OM, PK, PW, PA, PG, PY, PE, PH, PL, PT, PR, QA, RO, RU, RW, SH, KN, LC, PM, VC, SM, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, ES, LK, SR, SZ, SE, CH, TW, TJ, TZ, TH, TG, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, UY, UZ, VU, VA, VE, VN, VI, WF, EH, WS, YE, FM, RE, ME, RS 响应
成功响应