How to Use Facebook Marketplace location search in Muse Code
Find Facebook Marketplace places with names, location labels, page IDs, and coordinates. Use it to choose the right search location before looking for listings, especially when several places share a name.
Prompts to try with Facebook Marketplace location search in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Facebook Marketplace location search for Austin and add a location picker to this project that displays each returned name, subtitle, and city before saving the selected coordinates.
Use Facebook Marketplace location search for Springfield and inspect how this project's location resolver distinguishes the returned places using their subtitles and postal codes.
Use Facebook Marketplace location search for Dallas, Houston, and San Antonio, then write the returned names, page IDs, and coordinates to a JSON file in this project.
Use Facebook Marketplace location search for Phoenix and update this project's location display to handle an empty address array using the returned place label.
Use Facebook Marketplace location search for Portland and add the returned candidate coordinates to this project's map so I can select the intended place.
How to set up Facebook Marketplace location search in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Facebook Marketplace location search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/facebook-marketplace-location-search", "input": { "query": "Austin" } }'
Then paste one of the prompts above: Muse Code finds Facebook Marketplace location search on Spiral, shows the price and runs it.
Facebook Marketplace location search providers and prices
Spiral runs Facebook Marketplace location search through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with Facebook Marketplace location search in Muse Code?
Build a Marketplace location picker that displays place labels alongside coordinates. A coding agent can use returned place IDs and city details to add location selection to your project's search workflow.
Choose a Marketplace search center
Look up Austin and inspect the returned location labels before choosing coordinates for a used-furniture search in Texas.
Resolve ambiguous city names
Look up Springfield and compare the returned subtitles, cities, and postal codes to select the intended place.
Prepare research across several cities
Resolve Dallas, Houston, and San Antonio into separate place records before conducting Marketplace inventory research in each city.
Populate a location picker
Use returned place names and subtitles to let users choose a Marketplace search location, then retain the selected page ID and coordinates.
Check saved search locations
Look up the cities used by a resale business and compare returned place IDs and coordinates with its saved search centers.
Map sourcing markets
Plot returned coordinates for Phoenix, Tucson, and Flagstaff to review proposed Marketplace sourcing locations before researching listings.
More on Facebook Marketplace location search and Muse Code
Facebook Marketplace location search in other agents
Questions about Facebook Marketplace location search in Muse Code
Can Muse Code use Facebook Marketplace location search?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Facebook Marketplace location search like any built-in tool.
How much does Facebook Marketplace location search cost in Muse Code?
Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need a ScrapeCreators account to use Facebook Marketplace location search in Muse Code?
No. Spiral runs Facebook Marketplace location search on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up Facebook Marketplace location search in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Facebook Marketplace location search runs?
Facebook Marketplace location search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
Does location search return Marketplace listings?
It returns places and coordinates for a subsequent Marketplace listing search. The documented response contains location records rather than products or listing descriptions.
Can a place name match the wrong city?
Yes. The documented Austin example includes an Illinois match whose city is Chicago, so check the subtitle and city before selecting coordinates for Austin, Texas.
Does every location include a street address?
The documented Austin, Illinois record has an empty address array despite including coordinates and a postal code. A location result does not necessarily provide a street address.
Is the source an on-demand lookup or a historical location archive?
ScrapeCreators describes its service as retrieving publicly available information on demand. That description supports using it for place lookup, rather than treating it as a dated archive of Facebook locations.
Are the returned coordinates guaranteed to be accurate?
ScrapeCreators explicitly does not guarantee data accuracy or availability. The coordinates identify the returned Facebook place; check the accompanying location label before using them as a search center.
Start using Facebook Marketplace location search in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


