Ebay Search API
Api Details
Endpoint
GET https://serpapi.abcproxy.com/search
Description Retrieve comprehensive user profile including
basic info
,account status
and optionalpermission sets
.
Request
HTTP Request
API Parameters
Search Query
_nkw
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Ebay search. _nkw parameter is optional when category_id parameter is specified.
123
Localization
ebay_domain
string
No
us
_salic
string
No
en
Pagination
_pgn
string
No
Parameter defines the page number. It's used for pagination. (e.g., 1
(default) is the first page of results, 2
is the 2nd page of results, 3
is the 3rd page of results, etc.).
1
_ipg
string
No
Parameter defines the maximum number of results to return. There are total of four options: 25
, 50
(default), 100
and 200
results.
50
Advanced Filters
_blrs
string
No
Parameter defines the exclusion of results from an auto-corrected query when the original query is spelled wrong. The recommended value for this parameter is spell_auto_correct
. Omit _blrs
if you want the search to include results for an auto-corrected query. Note that this parameter may not prevent eBay from returning results for an auto-corrected query if no other results are available.
spell_auto_correct
show_only
string
No
Parameter defines the list of filters you can apply to the results.
Available options (case-sensitive):
Complete
- Completed items
Sold
- Sold items
FR
- Free returns
RPA
- Returns accepted
AS
- Authorized seller
Savings
- Deals and savings
SaleItems
- Sale items
Lots
- Listed as lots
Charity
- Benefits charity
AV
- Authenticity Guarantee
FS
- Free shipping
LPickup
- Local pickup
You can also combine multiple filter values by joining them with a comma (value
+ ,
+ value
; eg: Sold,FS
).
-
buying_format
string
No
Parameter defines the buying format you can apply to the results.
Available options (case-sensitive):
Auction
- Auction
BIN
- Buy It Now
BO
- Accepts Offers
-
Advanced Ebay Parameters
_udlo
string
No
Parameter defines the lowest price of items that should be included in the results (e.g. 10
will only return items that have higher price than 10
).
10
_udhi
string
No
Parameter defines the highest price of items that should be included in the results (e.g. 20
will only return items that have lower price than 20
).
20
_sop
string
No
-
_dmd
string
No
Parameter defines the visual layout for displaying results. The available options are 'Grid' and 'List'.
-
category_id
string
No
Parameter defines the ID of a category where you want your search to be concentrated. ID values are accessible inside categories
array, located in our JSON output.
You can search using category_id parameter without specifying _nkw parameter.
categories[1].id
_stpos
string
No
Parameter defines the ZIP or Postal code. You can use it to filter the shipping products by a selected area.
-
LH_ItemCondition
string
No
Parameter defines one or multiple product conditions to limit the search to. Condition is represented via numeric ID, e.g. 1000
for New
. Multiple IDs should be joined with `
delimeter, e.g.
1000
Serpapi Parameters
engine
string
Yes
Set parameter to google_play
to use the Google Play API engine.
google_play
no_cache
boolean
No
Parameter will force SerpApi to fetch the Google Play results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false
(default) to allow results from the cache, or true
to disallow results from the cache.
true
orfalse
api_key
string
Yes
Parameter defines the SerpApi private key to use.
-
Response
Success 200
Response Body
Response Fields
search_metadata
object
Contains timing and status information
search_parameters
object
Contains query parameters and search context
inline_results
object[]
InlineResults
organic_results
object[]
OrganicResults
categories
object[]
Categories
Error Responses
Common Errors
200
400
API Key can not be empty
200
401
Param error
200
402
Api key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
Last updated