Skip to main content
GET
Reference example

Request contract

  • Method and path: GET /apis/v1/ebay/search
  • Request URL template: https://api.aisa.one/apis/v1/ebay/search
  • advanced_filters: query; optional
  • buying_format: query; optional
  • category_id: query; optional
  • condition: query; optional
  • country: query; optional
  • delivery_country: query; optional
  • distance_radius: query; optional
  • ebay_domain: query; optional
  • engine: query; required
  • filters: query; optional
  • include_related_results: query; optional
  • layout: query; optional
  • num: query; optional
  • page: query; optional
  • postal_code: query; optional
  • preferred_location: query; optional
  • price_max: query; optional
  • price_min: query; optional
  • product_origin_country: query; optional
  • q: query; optional
  • sort_by: query; optional
  • Runtime facts: 7856a6c3cdb43dbf15e31461496a037f7df2217d189dadb9d27f406316aa651d
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.001 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.001
  • Cost contract: fixed_success
  • Published reference multiplier: 1.0
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

advanced_filters
string

Comma-separated list of advanced filters in key=value format

buying_format
enum<string>

Buying format filter

Available options:
auction,
buy_it_now,
best_offer
category_id
integer

Category ID to search within. Either 'q' or 'category_id' must be present

condition
string

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))*$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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
distance_radius
number

Distance radius in miles from postal code. Requires postal code to be set

Required range: x >= 1
ebay_domain
enum<string>
default:ebay.com

eBay domain to search on

Available options:
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.pl,
ebay.com.sg,
ebay.es,
ebay.ch,
ebay.co.uk
engine
enum<string>
required

Search engine to use

Available options:
ebay_search
filters
string

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.

Available options:
true,
false
layout
enum<string>

Results layout format

Available options:
list,
grid
num
enum<integer>

Number of results per page

Available options:
60,
120,
240
page
integer

Page number (starts at 1)

Required range: x >= 1
postal_code
string

Postal code for distance-based searches. Only supported for certain delivery countries (US, CA, GB, AU, AT, BE, CZ, FR, DE, IT, NL, PL)

preferred_location
enum<string>

Preferred seller location

Available options:
domestic,
regional,
worldwide
price_max
number

Maximum price filter (must be greater than or equal to price_min)

Required range: x >= 0
price_min
number

Minimum price filter

Required range: x >= 0
product_origin_country
enum<string>

Product origin country ISO 3166-1 alpha-2 code

Available options:
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
q
string

Search query. Either 'q' or 'category_id' must be present

sort_by
enum<string>

Sort results by

Available options:
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

Response

Successful response

search_metadata
object
search_parameters
object
search_information
object
categories
object[]
filters
object[]
organic_results
object[]

eBay's "Results matching fewer words" items.

sections
object[]
pagination
object
error
string

Error message when no results are found