Insight Social
GET /v1/facebook/marketplace/location/searchbeta

Facebook Marketplace Location Search API

Returns Facebook Marketplace locations and cities matching a search term, each with its lat and lng coordinates.

10 credits a call · single call · failed calls free · 10 free calls to start

curl "https://api.insightsocial.app/v1/facebook/marketplace/location/search?query=Los+Angeles" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "facebook",
"endpoint": "/v1/facebook/marketplace/location/search",
"schema_version": "2",
"data": {
"<field>": "<value>"
},
"unavailable": [],
"credits_used": "<integer>"
}

When to use it

Use it first to turn a place name into coordinates, then pass those to marketplace/search.

Parameters

Query parameters for GET /v1/facebook/marketplace/location/search. Send your key in the x-api-key header.

NameRequiredDescription
queryYesLocation search query (city or area name).

Response

This endpoint returns the platform's own fields in data, in snake_case, rather than a unified post or profile. The reference page lists them.

Every field, error and example is in the Facebook Marketplace Location Search API reference.

How much does the Facebook Marketplace Location Search API cost?

10 credits per successful call.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Know the price first

    Add dry_run=1 and the response quotes the call without making it. Nothing is charged.

  • One balance

    API calls and Chrome extension exports share the same credits, on the free plan too.

Facebook Marketplace Location Search API: frequently asked questions

Send GET /v1/facebook/marketplace/location/search with the query parameter and your key in the x-api-key header. Returns Facebook Marketplace locations and cities matching a search term, each with its lat and lng coordinates.