← API Store
SocialFacebook
Look up a place for Marketplace search
GET /facebook/v1/marketplace/location/searchEvery 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
| Name | Type | Description |
|---|---|---|
qrequired | string | 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 |
$.cached | boolean |
$.count | integer |
$.credits_used | integer |
$.locations | array |
$.locations[] | object | string |
$.locations[].city | string |
$.locations[].country | string |
$.locations[].country_code | string |
$.locations[].county | string |
$.locations[].elevation | integer |
$.locations[].feature_code | string |
$.locations[].latitude | number |
$.locations[].longitude | number |
$.locations[].marketplace_slug | string |
$.locations[].name | string |
$.locations[].population | integer |
$.locations[].postcodes | array |
$.locations[].postcodes[] | string |
$.locations[].region | string |
$.locations[].timezone | string |
$.query | string |