Facebook
GET /v1/facebook/marketplace-location-search

Facebook Marketplace Location Search API

Search Facebook programmatically and get structured, ranked results.

TL;DR
The Facebook Marketplace Location Search API (Facebook) returns search Facebook programmatically and get structured, ranked results. It's a single authenticated GET request to /v1/facebook/marketplace-location-search that responds with clean JSON, costs 17 credits, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.

What is the Facebook Marketplace Location Search API?

The Facebook Marketplace Location Search API lets you search and return matching results from Facebook with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.

What you get

  • Ranked, structured result list
  • Title, URL, author, and thumbnail per result
  • Engagement metrics where available
  • Configurable result limit

Try it

Fill in the parameters below and copy a ready-to-run request in your language of choice.

Parameters

curl "https://api.captapi.com/v1/facebook/marketplace-location-search?q=skincare" \
  -H "Authorization: Bearer capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "cached": false,
  "creditsUsed": 17,
  "data": {
    "total": 2,
    "results": [
      {
        "title": "Top result",
        "url": "https://example.com/1",
        "author": "@creator",
        "views": 530120
      },
      {
        "title": "Second result",
        "url": "https://example.com/2",
        "author": "@maker",
        "views": 210430
      }
    ]
  }
}

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Result

  • totalNumber of results returned.

Each result

Each item in results contains:

  • titleResult title.
  • urlDirect URL to the content.
  • authorCreator handle.
  • viewsView count where available.

Parameters

NameTypeRequiredDescription
qstringYesCity/place search query, e.g. Austin.
limitintegerNoMax items to return (default 10, max 50). Billed per result.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 17 credits. Repeat calls for the same request are served from cache for free.

Using an AI agent? This endpoint is the MCP tool facebook_marketplace_location_search via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/facebook/marketplace-location-search and parse the JSON response.

Use cases

Trend Discovery

Find trending content by keyword or hashtag.

Content Sourcing

Build feeds and playlists programmatically.

Monitoring

Track topics, brands, and competitors.

Research

Sample large sets of content for analysis.

Frequently asked questions

What does the Facebook Marketplace Location Search API do?+

The Facebook Marketplace Location Search API lets you search and return matching results from a public Facebook query using one GET request to /v1/facebook/marketplace-location-search. It returns clean JSON — no OAuth or scraping setup required.

How many credits does the Facebook Marketplace Location Search API cost?+

Each successful call costs 17 credits. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.

Do I need a Facebook API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, and Rumble. We handle proxies, rate limits, retries, and authentication for you.

Is the Facebook Marketplace Location Search API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.

More Facebook APIs

Ready to use the Facebook Marketplace Location Search API?

Sign up, grab your key, and make your first call in 60 seconds.