[{"data":1,"prerenderedAt":941},["ShallowReactive",2],{"content-\u002Fguides\u002Febay-scraper-count-search-results-in-google-sheets":3,"content-doc-\u002Fguides\u002Febay-scraper-count-search-results-in-google-sheets-inline":575,"hero-media-\u002Fguides\u002Febay-scraper-count-search-results-in-google-sheets":576},{"id":4,"title":5,"body":6,"date":553,"description":554,"extension":555,"meta":556,"navigation":568,"order":570,"path":571,"seo":572,"stem":573,"__hash__":574},"guides\u002Fguides\u002Febay-scraper-count-search-results-in-google-sheets.md","eBay scraper: count search results in Google Sheets",{"type":7,"value":8,"toc":542},"minimark",[9,12,25,32,48,53,56,88,91,95,102,109,113,404,408,415,419,422,426],[10,11],"hero-media",{},[13,14,15,16,20,21,24],"p",{},"This autoamtion scrapes ",[17,18,19],"strong",{},"eBay search result counting",". Every eBay search shows a total at the top of the page, like \"",[17,22,23],{},"33"," results for cord shorts\", and that number tells you how many listings compete for a keyword. Collected at scale, it's a way to gauge market saturation before you list, helps spot under-served niches, size up demand across product variations, or track how listing counts change over time. The bot reads a list of eBay search URLs from a Google Sheet, visits each search page in Chrome, scrapes the result count, and writes it back into column B of the same row.",[13,26,27],{},[28,29],"img",{"alt":30,"src":31},"Screenshot of an eBay search results page showing the search count","\u002Fguides\u002Fsearch-count-ebay.webp",[13,33,34,35,40,41,44,45,47],{},"When building this automation, I triggered eBay's Cloudflare bot detection, so turn on the ",[36,37,39],"a",{"href":38},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fbypass-bot-detection\u002F","Bypass bot detection"," setting before you run. Click the ",[17,42,43],{},"Cog"," icon in the left toolbar, and select ",[17,46,39],{},". This setting works on the cloud or desktop.",[49,50,52],"h2",{"id":51},"get-started-set-up-your-google-sheet","Get started: Set up your Google Sheet",[13,54,55],{},"Before you configure the bot, prepare the Google Sheet it reads from and writes to:",[57,58,59,67,70,81],"ol",{},[60,61,62,63,66],"li",{},"Create a new Google Sheet at ",[17,64,65],{},"sheet.new",".",[60,68,69],{},"Name it something descriptive, like \"eBay search counts\".",[60,71,72,73,76,77],{},"In ",[17,74,75],{},"column A",", paste one eBay search URL per row. For example: ",[78,79,80],"code",{},"https:\u002F\u002Fwww.ebay.com\u002Fsch\u002Fi.html?_nkw=sweat+shorts+men+medium&_sop=12",[60,82,83,84,87],{},"Leave ",[17,85,86],{},"column B"," empty. The bot writes the result count for each search there.",[13,89,90],{},"The bot matches each URL back to its own row, so keep the URLs in column A and don't reorder the sheet while the bot is running.",[49,92,94],{"id":93},"install-axiomai","Install axiom.ai",[13,96,97,98,101],{},"If you're a new user, click ",[17,99,100],{},"Install Chrome extension"," and create a free axiom.ai account.",[13,103,104,105,108],{},"Once installed, open axiom.ai in Chrome and click ",[17,106,107],{},"New bot",", then add the steps below in order.",[49,110,112],{"id":111},"build-your-ebay-scraper-search-count-bot-in-7-steps","Build your eBay scraper search count bot in 7 steps",[114,115,116],"guide",{},[117,118,119,167,196,217,261,295,353],"ul",{},[60,120,121,124,125,128],{},[17,122,123],{},"1.0"," ",[78,126,127],{},"Read data from a Google Sheet",[117,129,130,136,142,156],{},[60,131,132,135],{},[78,133,134],{},"Spreadsheet",": Search for the Google Sheet you created, then click to select it.",[60,137,138,141],{},[78,139,140],{},"Sheet name",": Choose the tab that contains your eBay search URLs. These are the tabs at the bottom of the spreadsheet.",[60,143,144,147,148],{},[78,145,146],{},"First cell",": ",[149,150,151,152,155],"em",{},"Optional. The bot reads from ",[78,153,154],{},"A1"," if you leave this blank.",[60,157,158,147,161],{},[78,159,160],{},"Last cell",[149,162,163,164,155],{},"Optional. The bot reads to ",[78,165,166],{},"ZZ",[60,168,169,124,172,175],{},[17,170,171],{},"2.0",[78,173,174],{},"Loop through data",[117,176,177,190],{},[60,178,179,181,182,185,186,189],{},[78,180,174],{},": Click ",[17,183,184],{},"Insert data"," and select ",[78,187,188],{},"[google-sheet-data]",". The bot repeats the sub-steps below once for each row in your sheet.",[60,191,192,195],{},[78,193,194],{},"Loop through all",": Leave this toggled on to process every row.",[60,197,198,124,201,204],{},[17,199,200],{},"2.1",[78,202,203],{},"Go to page",[117,205,206],{},[60,207,208,181,211,185,213,216],{},[78,209,210],{},"Enter URL",[17,212,184],{},[78,214,215],{},"[google-sheet-data?*&0]",". This pulls the eBay search URL from column A of the current row, so the bot visits a new search on every loop.",[60,218,219,124,222,225],{},[17,220,221],{},"2.2",[78,223,224],{},"Get data from bot's current page",[117,226,227,245,251],{},[60,228,229,232,233,236,237,147,241,244],{},[78,230,231],{},"Select",": With an eBay search page open, click ",[17,234,235],{},"Select data"," and choose the result count. It's the bold number in the \"X results for …\" header at the top of the results list. If the visual selector doesn't pick it up cleanly, use this ",[36,238,240],{"href":239},"\u002Fdocs\u002Fno-code-tool\u002Fthe-builder\u002Fselector-tool\u002Fcustom-css-selectors\u002F","custom CSS selector",[78,242,243],{},"[class*=\"center-top\"] h1 .BOLD:first-child",". This selector worked at the time of writing, but eBay updates its page layout from time to time, so it may need re-selecting.",[60,246,247,250],{},[78,248,249],{},"Find pager (if any)",": Leave blank. You only need the count from the first page.",[60,252,253,256,257,260],{},[78,254,255],{},"Max results",": Enter ",[78,258,259],{},"1",". The bot scrapes a single value per page, and a higher number slows the scraper down.",[60,262,263,124,266,269],{},[17,264,265],{},"2.3",[78,267,268],{},"Replace text",[117,270,271,280,289],{},[60,272,273,147,276,279],{},[78,274,275],{},"Data to replace words",[78,277,278],{},"[scrape-data]",", the result count scraped from the eBay page.",[60,281,282,256,285,288],{},[78,283,284],{},"Text to replace",[78,286,287],{},","," to strip the thousands separator, so \"1,234\" becomes \"1234\".",[60,290,291,294],{},[78,292,293],{},"Replace with",": Leave this empty to remove the commas entirely.",[60,296,297,124,300,303],{},[17,298,299],{},"2.4",[78,301,302],{},"Find row in a Google Sheet",[117,304,305,310,315,325,331,341],{},[60,306,307,309],{},[78,308,134],{},": Select the same Google Sheet you chose in step 1.0.",[60,311,312,314],{},[78,313,140],{},": Choose the same tab that holds your search URLs.",[60,316,317,181,320,185,322,324],{},[78,318,319],{},"Values (comma separated)",[17,321,184],{},[78,323,215],{},". The bot searches the sheet for the current row's URL and returns its row number.",[60,326,327,330],{},[78,328,329],{},"Exact match",": Leave unchecked to allow partial matches.",[60,332,333,336,337,340],{},[78,334,335],{},"Value matching mode",": Leave set to ",[17,338,339],{},"any",". The row matches if any value is found.",[60,342,343,147,346],{},[78,344,345],{},"Columns (optional)",[149,347,348,349,352],{},"Optional. Leave blank to search every column, or enter column numbers like ",[78,350,351],{},"1,2"," to narrow the search.",[60,354,355,124,358,361],{},[17,356,357],{},"2.5",[78,359,360],{},"Write data to a Google Sheet",[117,362,363,368,373,381,391],{},[60,364,365,367],{},[78,366,134],{},": Select the same Google Sheet again.",[60,369,370,372],{},[78,371,140],{},": Choose the same tab.",[60,374,375,147,378,380],{},[78,376,377],{},"DATA",[78,379,278],{},", the result count to write.",[60,382,383,386,387,390],{},[78,384,385],{},"Write options",": Set the starting cell to ",[78,388,389],{},"B[find-row-google-sheet]",". This writes the count into column B of the row the previous step found, keeping each count next to its own URL.",[60,392,393,336,396,399,400,403],{},[78,394,395],{},"Write method",[17,397,398],{},"Raw",". Only choose ",[17,401,402],{},"User Entered"," if you want to write formulas to the sheet.",[49,405,407],{"id":406},"run-your-ebay-scraper-search-count-bot","Run your eBay scraper search count bot",[13,409,410,411,66],{},"To test this bot, start it with the desktop runner and let it run a few loops. Stop it and review the data in your linked Google Sheet for accuracy and completeness. To schedule the bot, ",[36,412,414],{"href":413},"\u002Fdocs\u002Ftutorials\u002Flogin","add login steps",[49,416,418],{"id":417},"customize-your-bot","Customize your bot",[13,420,421],{},"You can use the no-code bot builder to adapt this bot to your requirements. Scrape extra fields from each search page, add more replace steps to clean the data, or point it at a different marketplace.",[49,423,425],{"id":424},"troubleshooting","Troubleshooting",[114,427,428],{},[117,429,430,448,472,486,505,527],{},[60,431,432,435,438,439,441,442,444,445,447],{},[17,433,434],{},"Cloudflare challenge or \"Verify you are human\" page appears?",[436,437],"br",{},"\neBay's bot detection has been triggered. Turn on the ",[36,440,39],{"href":38}," setting. Click the ",[17,443,43],{}," icon in the left toolbar of your automation and select ",[17,446,39],{},". This requires the desktop app.",[60,449,450,453,455,456,459,460,462,463,465,466,468,469,471],{},[17,451,452],{},"Result count comes back empty?",[436,454],{},"\nIn ",[78,457,458],{},"Step 2.2 – Get data from bot's current page",", the scraper targets the results header on eBay's search page. This guide uses the custom selector ",[78,461,243],{},", which worked at the time of writing, but eBay changes its page layout from time to time and the selector may stop matching. If that happens, open an eBay search page and re-select the result count element, or update the ",[36,464,240],{"href":239}," to match the new layout. Also check that ",[17,467,255],{}," is set to ",[78,470,259],{},". This bot only needs the single count value per page.",[60,473,474,477,455,479,482,483,485],{},[17,475,476],{},"Counts written to the wrong row?",[436,478],{},[78,480,481],{},"Step 2.4 – Find row in a Google Sheet",", the bot matches the current URL against your sheet. If two URLs are very similar, turn on ",[17,484,329],{}," so a partial match doesn't return the wrong row number.",[60,487,488,491,455,493,496,497,468,499,501,502,504],{},[17,489,490],{},"Counts include commas or extra text?",[436,492],{},[78,494,495],{},"Step 2.3 – Replace text",", confirm ",[17,498,284],{},[78,500,287],{}," and ",[17,503,293],{}," is empty. Add further replace steps if you want to strip text like \"results\".",[60,506,507,510,455,512,515,516,518,519,522,523,526],{},[17,508,509],{},"Want the count written to a different column?",[436,511],{},[78,513,514],{},"Step 2.5 – Write data to a Google Sheet",", change the letter in the starting cell. It's set to ",[78,517,389],{},", which writes to column B of the matched row. To write to column D instead, change it to ",[78,520,521],{},"D[find-row-google-sheet]",". Keep the ",[78,524,525],{},"[find-row-google-sheet]"," token in place, as that's what lines the count up with the right row.",[60,528,529,532,455,534,537,538,66],{},[17,530,531],{},"Bot stops before visiting every URL?",[436,533],{},[78,535,536],{},"Step 1.0 – Read data from a Google Sheet",", check that your URLs sit in a single continuous column with no blank rows, and that the sheet name matches the tab that holds your data.\nWe offer excellent customer support. If you need help, ",[36,539,541],{"href":540},"\u002Fcustomer-support","get in touch",{"title":543,"searchDepth":544,"depth":544,"links":545},"",3,[546,548,549,550,551,552],{"id":51,"depth":547,"text":52},2,{"id":93,"depth":547,"text":94},{"id":111,"depth":547,"text":112},{"id":406,"depth":547,"text":407},{"id":417,"depth":547,"text":418},{"id":424,"depth":547,"text":425},"2026-08-12","Learn how to scrape eBay search results in bulk using a Google Sheet and axiom.ai's no-code tool. This step-by-step guide shows how to create a bot that reads search URLs from a Google Sheet, opens each search in the browser, scrapes the total result count, and writes it back to the matching row. No API required.","md",{"logoFile":557,"read":558,"type":559,"format":114,"intent_type":560,"intent":561,"tags":562,"platfrom":565,"pinned":568,"video":569},"\u002Ftemplates\u002Febay-logo.png","3 minutes","no-code","usacase","Scrape data from pages",[563,564],"web scraping","ecommerce",[566,567],"eBay","Google Sheets",true,"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FHIJrjj3vuSY?si=3tjvir5smFiu2g5q",null,"\u002Fguides\u002Febay-scraper-count-search-results-in-google-sheets",{"title":5,"description":554},"guides\u002Febay-scraper-count-search-results-in-google-sheets","2EtVp6K_FHPrBxW8faigtUmk5kht6OJzppSSR9y91D0",{"id":4,"title":5,"body":6,"date":553,"description":554,"extension":555,"meta":556,"navigation":568,"order":570,"path":571,"seo":572,"stem":573,"__hash__":574,"logoFile":557,"read":558,"type":559,"format":114,"intent_type":560,"intent":561,"tags":562,"platfrom":565,"pinned":568,"video":569},{"id":4,"title":5,"body":577,"date":553,"description":554,"extension":555,"meta":937,"navigation":568,"order":570,"path":571,"seo":940,"stem":573,"__hash__":574},{"type":7,"value":578,"toc":929},[579,581,587,591,599,601,603,621,623,625,629,633,635,837,839,843,845,847,849],[10,580],{},[13,582,15,583,20,585,24],{},[17,584,19],{},[17,586,23],{},[13,588,589],{},[28,590],{"alt":30,"src":31},[13,592,34,593,40,595,44,597,47],{},[36,594,39],{"href":38},[17,596,43],{},[17,598,39],{},[49,600,52],{"id":51},[13,602,55],{},[57,604,605,609,611,617],{},[60,606,62,607,66],{},[17,608,65],{},[60,610,69],{},[60,612,72,613,76,615],{},[17,614,75],{},[78,616,80],{},[60,618,83,619,87],{},[17,620,86],{},[13,622,90],{},[49,624,94],{"id":93},[13,626,97,627,101],{},[17,628,100],{},[13,630,104,631,108],{},[17,632,107],{},[49,634,112],{"id":111},[114,636,637],{},[117,638,639,671,691,707,735,759,801],{},[60,640,641,124,643,645],{},[17,642,123],{},[78,644,127],{},[117,646,647,651,655,663],{},[60,648,649,135],{},[78,650,134],{},[60,652,653,141],{},[78,654,140],{},[60,656,657,147,659],{},[78,658,146],{},[149,660,151,661,155],{},[78,662,154],{},[60,664,665,147,667],{},[78,666,160],{},[149,668,163,669,155],{},[78,670,166],{},[60,672,673,124,675,677],{},[17,674,171],{},[78,676,174],{},[117,678,679,687],{},[60,680,681,181,683,185,685,189],{},[78,682,174],{},[17,684,184],{},[78,686,188],{},[60,688,689,195],{},[78,690,194],{},[60,692,693,124,695,697],{},[17,694,200],{},[78,696,203],{},[117,698,699],{},[60,700,701,181,703,185,705,216],{},[78,702,210],{},[17,704,184],{},[78,706,215],{},[60,708,709,124,711,713],{},[17,710,221],{},[78,712,224],{},[117,714,715,725,729],{},[60,716,717,232,719,236,721,147,723,244],{},[78,718,231],{},[17,720,235],{},[36,722,240],{"href":239},[78,724,243],{},[60,726,727,250],{},[78,728,249],{},[60,730,731,256,733,260],{},[78,732,255],{},[78,734,259],{},[60,736,737,124,739,741],{},[17,738,265],{},[78,740,268],{},[117,742,743,749,755],{},[60,744,745,147,747,279],{},[78,746,275],{},[78,748,278],{},[60,750,751,256,753,288],{},[78,752,284],{},[78,754,287],{},[60,756,757,294],{},[78,758,293],{},[60,760,761,124,763,765],{},[17,762,299],{},[78,764,302],{},[117,766,767,771,775,783,787,793],{},[60,768,769,309],{},[78,770,134],{},[60,772,773,314],{},[78,774,140],{},[60,776,777,181,779,185,781,324],{},[78,778,319],{},[17,780,184],{},[78,782,215],{},[60,784,785,330],{},[78,786,329],{},[60,788,789,336,791,340],{},[78,790,335],{},[17,792,339],{},[60,794,795,147,797],{},[78,796,345],{},[149,798,348,799,352],{},[78,800,351],{},[60,802,803,124,805,807],{},[17,804,357],{},[78,806,360],{},[117,808,809,813,817,823,829],{},[60,810,811,367],{},[78,812,134],{},[60,814,815,372],{},[78,816,140],{},[60,818,819,147,821,380],{},[78,820,377],{},[78,822,278],{},[60,824,825,386,827,390],{},[78,826,385],{},[78,828,389],{},[60,830,831,336,833,399,835,403],{},[78,832,395],{},[17,834,398],{},[17,836,402],{},[49,838,407],{"id":406},[13,840,410,841,66],{},[36,842,414],{"href":413},[49,844,418],{"id":417},[13,846,421],{},[49,848,425],{"id":424},[114,850,851],{},[117,852,853,865,881,891,905,919],{},[60,854,855,857,438,859,441,861,444,863,447],{},[17,856,434],{},[436,858],{},[36,860,39],{"href":38},[17,862,43],{},[17,864,39],{},[60,866,867,869,455,871,459,873,462,875,465,877,468,879,471],{},[17,868,452],{},[436,870],{},[78,872,458],{},[78,874,243],{},[36,876,240],{"href":239},[17,878,255],{},[78,880,259],{},[60,882,883,885,455,887,482,889,485],{},[17,884,476],{},[436,886],{},[78,888,481],{},[17,890,329],{},[60,892,893,895,455,897,496,899,468,901,501,903,504],{},[17,894,490],{},[436,896],{},[78,898,495],{},[17,900,284],{},[78,902,287],{},[17,904,293],{},[60,906,907,909,455,911,515,913,518,915,522,917,526],{},[17,908,509],{},[436,910],{},[78,912,514],{},[78,914,389],{},[78,916,521],{},[78,918,525],{},[60,920,921,923,455,925,537,927,66],{},[17,922,531],{},[436,924],{},[78,926,536],{},[36,928,541],{"href":540},{"title":543,"searchDepth":544,"depth":544,"links":930},[931,932,933,934,935,936],{"id":51,"depth":547,"text":52},{"id":93,"depth":547,"text":94},{"id":111,"depth":547,"text":112},{"id":406,"depth":547,"text":407},{"id":417,"depth":547,"text":418},{"id":424,"depth":547,"text":425},{"logoFile":557,"read":558,"type":559,"format":114,"intent_type":560,"intent":561,"tags":938,"platfrom":939,"pinned":568,"video":569},[563,564],[566,567],{"title":5,"description":554},1786550814426]