GroundsocialDocs

API · eBay

GET /ebay/search

Search eBay listings with eBay's filters, including sold listings.

RequestGET /v1/ebay/search
Operation idebay.search.all
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search eBay listings with eBay's filters, including sold listings.

Query parameters

NameTypeRequiredDescription
querystringyesSearch keywords. Example: iphone 15.
country"US" | "GB" | "AU" | "CA" | "DE" | "FR" | "IT" | "ES" | "IE" | "AT" | "CH" | "NL" | "BE" | "PL" | "SG" | "MY" | "PH" | "HK" | "MX"noeBay site: US (default), GB, AU, CA, DE, FR, IT, ES, IE, AT, CH, NL, BE, PL, SG, MY, PH, HK, MX. One of US, GB, AU, CA, DE, FR, IT, ES, IE, AT, CH, NL, BE, PL, SG, MY, PH, HK, MX.
pageintegerno
sort_by"best_match" | "price_low" | "price_high" | "newly_listed" | "ending_soonest"noOne of best_match, price_low, price_high, newly_listed, ending_soonest.
conditionstringnoComma-separated: new, refurbished, used.
buying_formatstringnoComma-separated: auction, buy_it_now, accepts_offers.
show_onlystringnoComma-separated: free_shipping, sold, completed, returns_accepted, local_pickup, authorized_seller, free_returns.
min_pricenumber | nullno
max_pricenumber | nullno
aspectsstringnoItem aspects: Name=Value pairs separated by ;

Responses

StatusMeaningSchema
200A page of listings.EbaySearch
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The item does not exist or was removed.Error
429Too many requests. Wait for Retry-After seconds.Error
503eBay is temporarily unavailable. Retryable; nothing was charged.Error

EbaySearch fields

FieldTypeDescription
querystring
countrystring
pagenumber
next_pagenumber | null
total_resultsnumber | null
itemsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.