# SocialFetch Facebook Marketplace Location Search

> SocialFetch Facebook Marketplace Location Search is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-15).

Searches Facebook Marketplace location names to return geographic coordinates usable for scoped listing searches.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/facebook/marketplace/locations/search
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-facebook-marketplace-location-search-7527b085
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-IILVND7jXXRN418xPBcK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability socialfetch-facebook-marketplace-location-search-7527b085
```

Example prompt: Search Facebook Marketplace for the location coordinates for 'Austin, Texas' so I can use them to pull listings in that area.

## When to prefer this

Use this endpoint as a prerequisite step before searching Facebook Marketplace listings when you have only a human-readable city or place name and need the corresponding coordinates or location identifiers that the Marketplace listing search API requires. Prefer this over hardcoding coordinates or using a generic geocoding API because it resolves to Facebook's own internal location taxonomy.

## Known failure modes

- No matching location found for the query string — returns empty results or 404
- Ambiguous city name matches multiple locations — returns a list of candidates requiring disambiguation
- Query string too short or empty — returns validation error
- Rate limiting or payment failure — returns 402 or 429 error
- Facebook Marketplace location data unavailable or changed — returns stale or partial data

## How this service works

Search Facebook Marketplace locations to obtain coordinates for listing search.

## Output

Returns geographic coordinates (latitude/longitude) and Facebook Marketplace location metadata for the matched city or place, which can then be used as parameters in subsequent marketplace listing searches.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "maxLength": 512,
       "minLength": 1,
       "description": "City or place name to search for Facebook Marketplace locations."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-facebook-marketplace-location-search-7527b085/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
