eBay Inline Categories API
eBay search results often times include inline_categories. These include category items with title, link, and thumbnail. SerpApi is able to scrape, extract, and make sense of those results.
API Examples
Inline categories for category_id 1249
{
...
"inline_categories": [
{
"title": "Find deals on all things gaming",
"position": 1,
"items": [
{
"title": "Sony PlayStation 5",
"link": "https://www.ebay.com/b/Sony-PlayStation-5-Consoles/139971/bn_7117648159",
"thumbnail": "https://i.ebayimg.com/thumbs/images/g/4rAAAOSwfCVjBVIR/s-l960.webp"
},
{
"title": "Microsoft Xbox Series X",
"link": "https://www.ebay.com/b/Microsoft-Xbox-Series-X-Video-Game-Consoles/139971/bn_7117574288",
"thumbnail": "https://i.ebayimg.com/thumbs/images/g/PB8AAOSwfJFjBVIz/s-l960.webp"
},
{
"title": "Sony PlayStation 4",
"link": "https://www.ebay.com/b/Sony-PlayStation-4-Video-Game-Consoles/139971/bn_7116320199",
"thumbnail": "https://i.ebayimg.com/thumbs/images/g/1k0AAOSwGmBjBVJZ/s-l960.webp"
},
...
},
{
"title": "Shop all your favorite brands",
"position": 2,
"items": [
{
"title": "Meta",
"link": "https://www.ebay.com/b/Meta-Virtual-Reality-Headsets-Parts-Accessories/183067/bn_7116532043",
"thumbnail": "https://i.ebayimg.com/thumbs/images/g/qZAAAOSw7fljBVQT/s-l960.webp"
},
{
"title": "Acer",
"link": "https://www.ebay.com/sch/acer/m.html?_nkw=&_armrs=1&_ipg=&_from=",
"thumbnail": "https://i.ebayimg.com/thumbs/images/g/wAYAAOSw~5ZjBVTR/s-l960.webp"
},
{
"title": "Microsoft",
"link": "https://www.ebay.com/sch/i.html?_nkw=&_in_kw=1&_ex_kw=&_sacat=0&_udlo=&_udhi=&_ftrt=901&_ftrv=1&_sabdlo=&_sabdhi=&_samilow=&_samihi=&_sadis=15&_stpos=77084&_sargn=-1%26saslc%3D1&_salic=1&_fss=1&_fsradio=%26LH_SpecificSeller%3D1&_saslop=1&_sasl=microsoft&_sop=12&_dmd=1&_ipg=60&_fosrp=1",
"thumbnail": "https://i.ebayimg.com/thumbs/images/g/HKgAAOSwsJtjBVT5/s-l960.webp"
},
...
],
},
...
],
...
}
JSON structure overview
{
...
"inline_categories": [
{
"title": "String - Title of the inline category section",
"position": "Integer - Position of the inline category section",
"items": [
{
"title": "String - Title of the category item",
"link": "String - Link to the category item",
"thumbnail": "String - Thumbnail image URL of the category item"
}
]
}
]
...
}