GroundsocialDocs

API · Facebook

GET /facebook/marketplace/locations

Find Facebook Marketplace places (cities, neighbourhoods, postcodes) with coordinates.

RequestGET /v1/facebook/marketplace/locations
Operation idfacebook.marketplace.locations
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Find Facebook Marketplace places (cities, neighbourhoods, postcodes) with coordinates.

Query parameters

NameTypeRequiredDescription
qstringyesPlace name or postcode. Example: austin.

Responses

StatusMeaningSchema
200Matching places with coordinates.FacebookMarketplaceLocations
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The ad, Page or advertiser is not in the Meta Ad Library.Error
429Too many requests. Wait for Retry-After seconds.Error
503Facebook is temporarily unavailable. Retryable; nothing was charged.Error

FacebookMarketplaceLocations fields

FieldTypeDescription
locationsFacebookMarketplaceLocation[]

Errors use one shape everywhere; see Errors for every code and what to do.