# Facebook Marketplace Location Search API (https://www.socialcrawl.dev/platforms/facebook/marketplace-location-search) > Searches Facebook Marketplace locations and cities, returning lat/lng coordinates you can feed into `/v1/facebook/marketplace/search`. TL;DR: `GET /v1/facebook/marketplace/location/search` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `query` | yes | Location search query (city or area name). | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/facebook/marketplace/location/search?query=Los%20Angeles" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### What is the Facebook Marketplace location search API? GET /v1/facebook/marketplace/location/search resolves a city or area name into the Facebook Marketplace location you use for a listings search. Pass a query and it returns matching places with their coordinates. It costs 1 credit per call. ### Why do I need this before searching listings? The Marketplace listings search requires lat and lng, not a plain city name. This endpoint turns a name like Austin into the coordinates you pass to /v1/facebook/marketplace/search, so you never have to guess coordinates. ### What parameters does it take? Just one required param, query, which is the place name you want to resolve. There are no other params. The response is a compact list of candidate locations, each with the fields you feed into the listings search. ### How much does it cost? Each call costs 1 credit on the standard tier. It is a lightweight lookup, so most integrations call it once per city and cache the result. New accounts get 100 free credits with no card. ### Can I resolve multiple cities? Yes. Call the endpoint once per place name. Because it is a simple resolver, you can pre-build a table of city to coordinates and reuse it across many listings searches without re-resolving each time. See the full Facebook API: https://www.socialcrawl.dev/platforms/facebook ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How do I find the Facebook Marketplace location ID for a city? - How do I convert a city name to coordinates for Facebook Marketplace search?