facebook-marketplace/
location-search

The Facebook Marketplace Location Search API finds Marketplace location candidates from a city, region, neighborhood, or place query, returning names, place types, addresses, and coordinates as normalized records.

Facebook Marketplace Location Search API

Place-name query
Location candidates
Latitude and longitude
0.3 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

Facebook Marketplace Location Search

Facebook Marketplace locations are place candidates identified by names, subtitles, address details, city and postal context, and geographic coordinates. These fields support location disambiguation, search-center selection, and reusable place pickers for local listing research.

Facebook Marketplace Location Search API Features

  • Place-name location resolutionSubmit a city, region, neighborhood, or place name and receive every Marketplace location candidate returned for that lookup.
  • Location disambiguation fieldsCompare candidate names, subtitles, address lines, cities, postal codes, latitude, and longitude to distinguish places that share a name.
  • Traceable normalized candidatesKeep the Facebook location ID, original search query, and collection time with each candidate so a selected place can be reviewed and reused.

Facebook Marketplace Location Search API Parameters

ParametersRequiredDescription
queryRequiredRequired non-empty city, region, neighborhood, or place name, such as Austin.

How to Use the Facebook Marketplace Location Search API

Submit one place-name query to the Facebook Marketplace Location Search API, follow the asynchronous task, and read the normalized location candidates returned for that lookup.

  1. Prepare a non-empty city, region, neighborhood, or place-name query.
  2. Submit query to /v1/facebook-marketplace/location-search and store the returned task_id.
  3. Poll /v1/tasks/{task_id} until the task succeeds or returns a failure.
  4. Read data.results.items and follow next_cursor while has_more is true.
curl -X POST "https://api.socq.ai/v1/facebook-marketplace/location-search" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"Austin"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is true

Facebook Marketplace Location Search API Use Cases

  • Listing search center resolution: Select a candidate latitude and longitude to provide the geographic center required by Facebook Marketplace Search.
  • Same-name place disambiguation: Compare subtitles, city, postal code, address, and coordinates before choosing among candidates with similar names.
  • Reusable location picker data: Store the location ID, display name, place type, and coordinates from the Facebook Marketplace Location Search API behind a picker for later local listing queries.

Facebook Marketplace Location Search API Pro Tips

  • Include region or neighborhood context when a short place name could match multiple locations.
  • Compare the subtitle, city, postal code, address, and coordinates before accepting a same-name candidate.
  • Do not send results_limit because the location lookup saves every candidate returned for the query.
  • Continue with next_cursor whenever has_more is true so task-result pagination does not hide a saved candidate.
  • Treat an empty item list as an unresolved query, not as proof that Marketplace is unavailable in that region.

Beyond the Facebook Marketplace Location Search API, use these APIs when you need a different type of public Facebook Marketplace data.

  • Facebook Marketplace Search API — Search public Marketplace listings by keyword and coordinates with price, location, media, category, delivery, and availability context.
  • Facebook Marketplace Item API — Collect detailed public Marketplace listings from known item URLs with seller, price, location, media, attributes, delivery, and availability fields.

Explore other platforms

Combine Facebook Marketplace data with public data from other supported social platforms.

Facebook Marketplace Location Search API — FAQ

Facebook Marketplace Location Search API resolves a non-empty city, region, neighborhood, or place query into normalized location candidates. It returns names, place types, address context, latitude, longitude, and the original query.

Use a non-empty city, region, neighborhood, or place name such as Austin. Adding geographic context can help when the same name is used by multiple places.

Compare the candidate name and subtitle with extra.city, extra.postal_code, extra.address, extra.latitude, and extra.longitude. The location ID and original search query provide additional traceability.

No. The submit endpoint saves every candidate returned for the query, while the completed task response can still use next_cursor and has_more to paginate stored result records.

Choose the correct candidate, then pass its extra.latitude and extra.longitude values as the search center for Facebook Marketplace Search together with a listing query.

An empty items array means the location lookup did not resolve the submitted query. It does not establish that Facebook Marketplace is unavailable in that area.

The Facebook Marketplace Location Search API charges 0.3 SocQ credits for each returned location candidate. An empty result set has no result charge under the current billing configuration.

By SocQ · Updated