FACEBOOK MARKETPLACE API
Marketplace Location Search
Retrieve marketplace location search from Facebook Marketplace with a single API request.
GET
/api/data/v1/facebook/marketplace/location/search1credit base cost
Request parameters
Up to 1 creditLocation search query
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/facebook/marketplace/location/search?query=Austin' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"locations": [
{
"name": "Austin",
"subtitle": "Austin, IL · 22,116 people checked in here",
"multi_line_address": [],
"page_id": "108120015875983",
"latitude": 41.894086,
"longitude": -87.763202,
"city": "Chicago",
"postal_code": "60644-1112"
}
],
"credits_charged": 1,
"credits_remaining": 1000,
"request_id": "00000000-0000-4000-8000-000000000000"
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"locations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"subtitle": {
"type": "string"
},
"multi_line_address": {
"type": "array"
},
"page_id": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"city": {
"type": "string"
},
"postal_code": {
"type": "string"
}
}
}
},
"credits_charged": {
"type": "integer",
"minimum": 0,
"description": "FetchGoblin credits charged for this request."
},
"credits_remaining": {
"type": "integer",
"description": "Your FetchGoblin credit balance after this request."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "FetchGoblin request identifier."
}
}
}