Playbook · Social & Media Monitoring
Find the TikTok videos posted with a hashtag on a given day
One search call returns up to 10 TikTok videos that Google has indexed for a hashtag on the day you pick: a sample of what was posted, not every video with the hashtag. Each comes with the video URL, the creator and, for many, likes and comments.
In short
Call the Real-Time Web Search /search endpoint with q=site:tiktok.com/@ #hashtag and tbs=cdr:1,cd_min:11/3/2026,cd_max:11/3/2026 to limit it to one day. Keep the results whose URL contains /video/: the URL gives the creator and the video ID. Add start=10 for the next 10.
The use case
Teams tracking a campaign hashtag or a trend want the videos posted each day, not a hashtag's all-time top posts. A Google search limited to tiktok.com and to a single day returns a sample of them, the videos Google has indexed, 10 per call and with no TikTok login. It is not every video posted with the hashtag.
Who does this: Social listening and influencer marketing teams, agencies tracking a client's campaign hashtag, brand and product teams following a trend, and researchers collecting daily samples. The creator handles can also feed an influencer outreach list.
How to do it
Uses the Real-Time Web Search API, tested live on November 4, 2026. One call per hashtag, day and page. Here, #skincare on November 3. The code tries again when a call returns no videos:
import re
import requests
def likes(snippet): # "21.3K Likes, 157 Comments..." -> 21300
m = re.search(r"([\d.]+)([KM]?) Likes", snippet or "")
return int(float(m.group(1)) * {"": 1, "K": 1000, "M": 1000000}[m.group(2)]) if m else 0
videos = {}
for attempt in range(3): # some calls return only profile pages: try again
r = requests.get(
"https://api.openwebninja.com/realtime-web-search/search",
headers={"x-api-key": "YOUR_API_KEY"},
params={"q": "site:tiktok.com/@ #skincare", "num": 10, "gl": "us",
"tbs": "cdr:1,cd_min:11/3/2026,cd_max:11/3/2026"}, # one day
)
for x in r.json()["data"]["organic_results"]:
m = re.search(r"tiktok\.com/@([^/]+)/video/(\d+)", x["url"])
if m:
videos[m.group(2)] = {"creator": m.group(1), "likes": likes(x.get("snippet")), "url": x["url"]}
if videos:
break
print("Most liked #skincare videos posted on Nov 3:")
for v in sorted(videos.values(), key=lambda v: -v["likes"])[:3]:
print(f'{v["likes"]:>6} likes @{v["creator"]} {v["url"]}')Most liked #skincare videos posted on Nov 3:
3976 likes @alayarobbins https://www.tiktok.com/@alayarobbins/video/7703994773350157598
2595 likes @sarahbabula https://www.tiktok.com/@sarahbabula/video/7704109602383711501
717 likes @callmecollins.hdc https://www.tiktok.com/@callmecollins.hdc/video/7703959470832880927{
"status": "OK",
"request_id": "0140f8c5-3b14-4569-b8e2-266110593f05",
"parameters": {
"q": "site:tiktok.com/@ #skincare",
"tbs": "cdr:1,cd_min:11/3/2026,cd_max:11/3/2026",
"nfpr": "0",
"nhr": "0",
"start": 0,
"num": 10,
"gl": "us",
"hl": "en",
"device": "desktop",
"fetch_ai_overviews": false,
"return_organic_result_video_thumbnail": false,
"deduplicate": false
},
"data": {
"total_organic_results": null,
"organic_results": [
{
"title": "How to quickly heal a rosacea flare-up overnight... - TikTok",
"url": "https://www.tiktok.com/@jordynwoodruff/video/7704029702536678669",
"snippet": "624 Likes, 48 Comments. TikTok video from Jordyn Woodruff (@jordynwoodruff): “How to quickly heal a rosacea flare-up overnight #skincare #skincareroutine...",
"displayed_link": "www.tiktok.com › Jordyn Woodruff (@jordynwoodruff) | TikTok",
"date": "19 hours ago",
"domain": "www.tiktok.com",
"position": 1,
"rank": 1
},
{
"title": "The beauty products I always travel with #skincare... - TikTok",
"url": "https://www.tiktok.com/@callmecollins.hdc/video/7703959470832880927",
"snippet": "717 Likes, TikTok video from callmeCollins.h.d.c (@callmecollins.hdc): “The beauty products I always travel with ✨ #skincare #travelskincare...",
"displayed_link": "www.tiktok.com › callmeCollins.h.d.c (@callmecollins.hdc) | TikTok",
"date": "23 hours ago",
"domain": "www.tiktok.com",
"position": 2,
"rank": 2
},
{
"title": "ultimate nighttime routinerrrr #nightshift #nightroutine #skincare...",
"url": "https://www.tiktok.com/@alayarobbins/video/7703994773350157598",
"snippet": "3976 Likes, 49 Comments. TikTok video from Alaya R Drozdowicz (@alayarobbins): “ultimate nighttime routinerrrr #nightshift #nightroutine #skincare...",
"displayed_link": "www.tiktok.com › Alaya R Drozdowicz (@alayarobbins) | TikTok",
"date": "21 hours ago",
"domain": "www.tiktok.com",
"position": 3,
"rank": 3
},
{
"title": "i'm annoyed #skincare #sunscreen #mineralsunscreen... - TikTok",
"url": "https://www.tiktok.com/@sarahbabula/video/7704109602383711501",
"snippet": "2595 Likes, 69 Comments. TikTok video from sarah | chemist (@sarahbabula): “i'm annoyed #skincare #sunscreen #mineralsunscreen #tintedsunscreen #chemist”.",
"displayed_link": "www.tiktok.com › sarah | chemist (@sarahbabula) | TikTok",
"date": "14 hours ago",
"domain": "www.tiktok.com",
"position": 4,
"rank": 4
},
{
"title": "Glass skin alwaysssss #skincare #koreanskincare #glassskin",
"url": "https://www.tiktok.com/@alissajanay1/video/7704037675665231135",
"snippet": "146 Likes, TikTok video from Alissajanay (@alissajanay1): “Glass skin alwaysssss #skincare #koreanskincare #glassskin”. Glass Skin. “Ew, you look too oily.",
"displayed_link": "www.tiktok.com › Alissajanay (@alissajanay1) | TikTok",
"date": "18 hours ago",
"domain": "www.tiktok.com",
"position": 5,
"rank": 5
},
{
"title": "Im happy with my decision #skincare - TikTok",
"url": "https://www.tiktok.com/@youngchan.moon/video/7703755966893903136",
"snippet": "190 Likes, TikTok video from Youngchan Moon (@youngchan.moon): “Im happy with my decision #skincare”. Not everyone can be a good boxer.",
"displayed_link": "www.tiktok.com › Youngchan Moon (@youngchan.moon) | TikTok",
"date": "1 day ago",
"domain": "www.tiktok.com",
"position": 6,
"rank": 6
},
{
"title": "This expensive skincare is WORTH the money (bad... - TikTok",
"url": "https://www.tiktok.com/@x_ole4ka/video/7703893913286806790",
"snippet": "TikTok video from olya (@x_ole4ka): “This expensive skincare is WORTH the money (bad news for my wallet) #skincareroutine #luxuryskincare #skincare...",
"displayed_link": "www.tiktok.com › olya 🩷🧸 (@x_ole4ka) | TikTok",
"date": "1 day ago",
"domain": "www.tiktok.com",
"position": 7,
"rank": 7
},
{
"title": "Products are linked in my ShopMy #auntie #skincare #nighttime",
"url": "https://www.tiktok.com/@auntie.pretty/video/7704089820141800712",
"snippet": "Lead A simple, esthetician-minded skincare routine that stays near $100 using accessible brands: Prequel, Cocokind, and Versed Skin. The goal is effective daily...",
"displayed_link": "www.tiktok.com › Auntie Pretty (@auntie.pretty) | TikTok",
"date": "15 hours ago",
"domain": "www.tiktok.com",
"position": 8,
"rank": 8
},
{
"title": "Sephora sale recs skincare edition #sephorasale... - TikTok",
"url": "https://www.tiktok.com/@chlogeddes/video/7704106395838270740",
"snippet": "55 Likes, TikTok video from Chloe Geddes (@chlogeddes): “Sephora sale recs skincare edition ✨ #sephorasale #skincare”. SEPHORA SALE SKINCAREBossa Nova...",
"displayed_link": "www.tiktok.com › Chloe Geddes (@chlogeddes) | TikTok",
"date": "14 hours ago",
"domain": "www.tiktok.com",
"position": 9,
"rank": 9
},
{
"title": "Réponse à @በቃኝ #skincare #ethiopian_tik_tok... - TikTok",
"url": "https://www.tiktok.com/@amy_habeshawit6/video/7703976180986154272",
"snippet": "327 j'aime,30 commentaires.Vidéo TikTok de AMYየቆዳ እንክብካቤ Skin care☘️☀️ (@amy_habeshawit6) : « Réponse à @በቃኝ #skincare...",
"displayed_link": "www.tiktok.com › video",
"date": "22 hours ago",
"domain": "www.tiktok.com",
"position": 10,
"rank": 10
}
],
"has_ai_overviews": false
}
}For a whole list
Collect a week of videos for several hashtags: two pages per day, deduplicated by video ID, into a CSV:
import csv
import re
from datetime import date, timedelta
import requests
API_KEY = "YOUR_API_KEY"
URL = "https://api.openwebninja.com/realtime-web-search/search"
HASHTAGS = ["#skincare", "#booktok"]
DAYS = [date.today() - timedelta(days=n) for n in range(7, 0, -1)] # the last 7 days
def count(word, snippet): # "21.3K Likes, 157 Comments" -> 21300 for "Likes"
m = re.search(rf"([\d.]+)([KM]?) {word}", snippet or "")
return int(float(m.group(1)) * {"": 1, "K": 1000, "M": 1000000}[m.group(2)]) if m else ""
calls, rows, seen = 0, [], set()
for tag in HASHTAGS:
for day in DAYS:
d = f"{day.month}/{day.day}/{day.year}"
for start in (0, 10): # two pages of 10
for attempt in range(3): # some calls return only profile pages: try again
calls += 1
r = requests.get(URL, headers={"x-api-key": API_KEY}, timeout=60, params={
"q": f"site:tiktok.com/@ {tag}", "num": 10, "start": start, "gl": "us",
"tbs": f"cdr:1,cd_min:{d},cd_max:{d}"})
results = (r.json().get("data") or {}).get("organic_results") or []
hits = [(x, re.search(r"tiktok\.com/@([^/]+)/video/(\d+)", x["url"])) for x in results]
hits = [(x, m) for x, m in hits if m]
if hits:
break
for x, m in hits:
if (tag, m.group(2)) not in seen:
seen.add((tag, m.group(2)))
rows.append([tag, day.isoformat(), m.group(2), m.group(1),
count("Likes", x.get("snippet")), count("Comments", x.get("snippet")), x["url"]])
with open("tiktok_hashtag_videos.csv", "w", newline="") as f:
w = csv.writer(f)
w.writerow(["hashtag", "day", "video_id", "creator", "likes", "comments", "url"])
w.writerows(rows)
print(calls, "calls,", len(rows), "unique videos")hashtag,day,video_id,creator,likes,comments,url
#skincare,2026-10-28,7701758560316804365,chenoabrookins,,,https://www.tiktok.com/@chenoabrookins/video/7701758560316804365
#skincare,2026-10-28,7701853778407918870,donnagriffin22,13600,234,https://www.tiktok.com/@donnagriffin22/video/7701853778407918870
#skincare,2026-10-28,7701836586698149151,itsstevenmitchell,,,https://www.tiktok.com/@itsstevenmitchell/video/7701836586698149151
#skincare,2026-10-28,7701849961012464928,imarian.c,30,,https://www.tiktok.com/@imarian.c/video/7701849961012464928
#skincare,2026-10-28,7701900295860751623,looksbyhala,46100,150,https://www.tiktok.com/@looksbyhala/video/7701900295860751623
#skincare,2026-10-28,7701892874886991118,tucanalglam8,72,,https://www.tiktok.com/@tucanalglam8/video/7701892874886991118
#skincare,2026-10-28,7701714615582903565,dr.ljmaxfield,,,https://www.tiktok.com/@dr.ljmaxfield/video/7701714615582903565
#skincare,2026-10-28,7701833861906320671,haileyogden,,,https://www.tiktok.com/@haileyogden/video/770183386190632067135 calls (28 plus 7 retries) collected 252 unique videos for #skincare and #booktok over 7 days in 300 seconds. 145 of them had a like count in the snippet.
Good to know
- The day filter held. TikTok video IDs carry the post time, and 245 of the 252 videos in our week were posted on the requested day (US time, UTC-8).
- Some calls come back without videos, with only profile pages or nothing: the 35-call week needed 7 retries. Calling again returned the videos, so both scripts try up to 3 times.
- Likes and comments are in the snippet text when Google shows them: 145 of 252 videos had a like count and 58 a comment count. Snippets in other languages ("j'aime", "좋아요") are not matched by the English pattern.
- Pages go deep before they run out: start=0 to start=240 gave 159 unique #skincare videos for November 3 (152 posted that day), and start=250 came back empty. Later pages thin out to 1 to 4 videos, and two calls a few seconds apart can differ by a video or two, so deduplicate by video ID. The list script reads 2 pages a day, about 18 videos a day for #skincare.
- We search site:tiktok.com/@ rather than site:tiktok.com. The broader query also returned the hashtag page and TikTok Notes and TikTok Shop pages, which are not videos.
Frequently asked questions
How do I get TikTok videos by hashtag with an API?
Search Google for site:tiktok.com/@ #yourhashtag with a one-day date range through the Real-Time Web Search API, as above. Each result is a video URL with the creator handle, and the snippet often has likes and comments.
How can I check how many views a TikTok hashtag has?
This method gives figures per video, not a total for the hashtag. Adding up likes per day gives a trend for the videos you collected, not TikTok's own total.
Do I need a TikTok developer account for this?
No. The calls go to Google search through OpenWeb Ninja, with your OpenWeb Ninja API key.
Is the TikTok data live or cached?
Queries run in real time with no caching. You get the videos Google returns for that day at the time of the call.
Match a list of company names or addresses to their Google Maps listings
Send a business name with its address or city and get back the matching Google Maps listing: place ID, phone, website, rating and whether it is still open.
Local Business Data
How many employees does a company have? Look it up by name, with the source
Ask Google AI Mode how many employees a company has on LinkedIn and get the size range, the member count when it is given and, usually, the source link, as JSON.
Real-Time Web Search
Check the Amazon buy box and every seller's price for any ASIN
One API call per ASIN returns the buy box winner and every competing offer, with shipping, FBA status and the delivery date for your ZIP code.
Real-Time Amazon Data
Start building with real-time web data
Every API includes a free tier. No credit card required, and the first request is a minute away.