Search APIs
Loading…
← API Store
Social

Facebook

Facebook

Look up a place for Marketplace search

GET /facebook/v1/marketplace/location/search
Test this endpoint

Every response includes credits_used: the credits this call cost.

Facebook's own location picker is login-only; places come from Open-Meteo geocoding.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
qrequiredstring Example: Austin

Every endpoint also takes: raw、fields、fresh、output、records

{
  "cached": false,
  "count": 10,
  "credits_used": 1,
  "locations": [
    {
      "city": "Austin",
      "country": "United States",
      "country_code": "US",
      "county": "Travis",
      "elevation": 149,
      "feature_code": "PPLA",
      "latitude": 30.26715,
      "longitude": -97.74306,
      "marketplace_slug": "austin",
      "name": "Austin, Texas, United States",
      "population": 974447,
      "postcodes": [
        "73301",
        "73344",
        "… 69 more"
      ],
      "region": "Texas",
      "timezone": "America/Chicago"
    },
    {
      "city": "Austin",
      "country": "United States",
      "country_code": "US",
      "county": "Mower",
      "elevation": 367,
      "feature_code": "PPLA2",
      "latitude": 43.66663,
      "longitude": -92.97464,
      "marketplace_slug": "austin",
      "name": "Austin, Minnesota, United States",
      "population": 24563,
      "postcodes": [
        "55912"
      ],
      "region": "Minnesota",
      "timezone": "America/Chicago"
    },
    "… 8 more"
  ],
  "query": "Austin"
}
Response fields (22)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.cachedboolean
$.countinteger
$.credits_usedinteger
$.locationsarray
$.locations[]object | string
$.locations[].citystring
$.locations[].countrystring
$.locations[].country_codestring
$.locations[].countystring
$.locations[].elevationinteger
$.locations[].feature_codestring
$.locations[].latitudenumber
$.locations[].longitudenumber
$.locations[].marketplace_slugstring
$.locations[].namestring
$.locations[].populationinteger
$.locations[].postcodesarray
$.locations[].postcodes[]string
$.locations[].regionstring
$.locations[].timezonestring
$.querystring