Facebook Location UID
Pricing
from $1.00 / 1,000 results
Facebook Location UID
Easily find and extract Facebook location UIDs, city IDs, and timezones by searching location names (cities, countries, or regions). Perfect for building location-targeted Facebook workflows, setting up scrapers, and geotargeting campaigns.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Sachin Kumar Yadav
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Share
π Facebook Location UID Finder
What does this actor do?
This Apify actor searches Facebook locations by name and returns their UIDs, city IDs, and timezone information.
These location UIDs can be used to filter posts by location in the Facebook Global Search actor.
β¨ Features
- π Search Facebook locations by city, country, or place name
- π Get unique location UIDs for use with other Facebook tools
- π Returns timezone and city ID for each location
- β‘ Fast, single-request lookup β no pagination needed
π₯ Input
| Field | Type | Required | Description |
|---|---|---|---|
query | String | β | Location name to search for (e.g., "Tokyo, Japan", "New York", "London, UK") |
Example Input
{"query": "Tokyo, Japan"}
π€ Output
Each result contains:
| Field | Type | Description |
|---|---|---|
source | String | Always facebook_location_search |
search_query | String | The query you searched for |
position | Number | Position in the results list |
label | String | Full location name (e.g., "Minato, Tokyo") |
uid | String | Facebook location UID β use this in Global Search |
city_id | Number | Facebook city identifier |
timezone | String | Timezone of the location (e.g., "Asia/Tokyo") |
scraped_at | String | ISO timestamp of when the data was scraped |
Example Output
{"source": "facebook_location_search","search_query": "Tokyo, Japan","position": 1,"label": "Chuo (Chuo-ku, Tokyo, Japan)","uid": "164287213617515","city_id": 2686152,"timezone": "Asia/Tokyo","scraped_at": "2026-07-04T01:50:00.000Z"}
π How to use with Facebook Global Search
- Run this actor with your desired location (e.g., "Tokyo, Japan")
- Copy the
uidfrom the result (e.g.,"164287213617515") - Use that UID as the
locationUidinput in the Facebook Global Search actor
β οΈ Notes
- The API returns up to ~10 matching locations per query
- More specific queries (e.g., "Minato, Tokyo") return more precise results
- UIDs are stable Facebook identifiers that can be reused across searches
Tags
facebook location uid, facebook scraper, facebook search location, location uid, city id, timezone, facebook location search, apify actor
Get Started Now
- Enter the Search Query (e.g.,
Tokyo, Japan) - Click Start to run the scraper
- Export your data in JSON, CSV, or Excel format
- Click "Try for free" to test the actor
Related Actors
- Facebook Page Ads Scraper - Scrape ads from specific Facebook Pages.
- Facebook Page Search Scraper - Search and find Facebook Page IDs and info.
- Facebook Page Video Downloader - Download videos from Facebook pages
- Facebook Page Details Extractor - Extract details from Facebook pages
- Facebook Page Reels Extractor - Extract reels from Facebook pages
- Facebook Search Video Scraper - Scrape Facebook Video search results
- Facebook Media Downloader - Download photos and videos from Facebook
Built using Apify Platform | Optimized for Performance & Reliability


