Core APIs
...
Ebay
Core Requests
Search
3min
ebay search parameters get get /search?engine=ebay the ebay search parameters are applicable when making a request with engine=ebay to retrieve ebay search results for a given search term the search term is specified in the q parameter and the optional ebay domain parameter can be used to specify the ebay domain used for the request a full list of supported ebay domains can be found here https //docs trajectdata com/serpwow/search api/reference/ebay domains for example, to request ebay search results for the keyword playing cards on ebay com , the request would be http https //api serpwow\ com/live/search?api key=demo\&engine=ebay\&ebay domain=ebay com\&q=playing+cardscurl l get https //api serpwow\ com/live/search \\ d api key="demo" \\ d engine="ebay" \\ d ebay domain="ebay com" \\ d q="playing cards"const axios = require('axios'); // set up the request parameters const params = { api key "demo", engine "ebay", ebay domain "ebay com", q "playing cards" } // make the http get request axios get('https //api serpwow\ com/live/search', { params }) then(response => { // print the json response console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'engine' 'ebay', 'ebay domain' 'ebay com', 'q' 'playing cards' } \# make the http get request api result = requests get('https //api serpwow\ com/live/search', params) \# print the json response print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'engine' => 'ebay', 'ebay domain' => 'ebay com', 'q' => 'playing cards' ]); \# make the http get request $ch = curl init(sprintf('%s?%s', 'https //api serpwow\ com/live/search', $querystring)); curl setopt($ch, curlopt returntransfer, true); curl setopt($ch, curlopt followlocation, true); \# the following options are required if you're using an outdated openssl version \# more details https //www openssl org/blog/blog/2021/09/13/letsencryptrootcertexpire/ curl setopt($ch, curlopt ssl verifyhost, false); curl setopt($ch, curlopt ssl verifypeer, false); curl setopt($ch, curlopt timeout, 180); $api result = curl exec($ch); curl close($ch); \# print the json response echo $api result; ?> ebay search parameters the following parameters are available for all requests made when engine=ebay parameter required description engine required should be set to engine=ebay q required the keyword you want to use to perform the search ebay domain optional the ebay domain to retrieve search results from for a full list of supported ebay domains see supported ebay domains https //docs trajectdata com/serpwow/search api/reference/ebay domains page optional determines the page of results to return, defaults to 1 max page optional use the max page parameter to get multiple pages of results in one request the api will automatically paginate through pages and concatenate the results into one response see the pagination https //docs trajectdata com/serpwow/search api/pagination docs for more information sold items optional determines whether to filter ebay search results to just 'sold items' valid values are true or false (default) completed items optional determines whether to filter ebay search results to just 'completed items' valid values are true or false (default) authorized sellers optional determines whether to filter ebay search results to just items offered by 'authorized sellers' valid values are true or false (default) returns accepted optional determines whether to filter ebay search results to just 'returns accepted items' valid values are true or false (default) free returns optional determines whether to filter ebay search results to just 'free returns items' valid values are true or false (default) authenticity verified optional determines whether to filter ebay search results to just 'authenticity verified items' valid values are true or false (default) deals and savings optional determines whether to filter ebay search results to just 'deals and savings items' valid values are true or false (default) sale items optional determines whether to filter ebay search results to just 'sale items' valid values are true or false (default) page optional determines the page of results to return, defaults to 1 use in combination with the num parameter to implement pagination max page optional use the max page parameter to get multiple pages of results in one request the api will automatically paginate through pages and concatenate the results into one response see the pagination https //docs trajectdata com/serpwow/search api/pagination docs for more information next steps ebay search results https //docs trajectdata com/serpwow/search api/results/ebay/search