socialrouter search [options]
Companion to extract for services where the input is a search term rather than a URL — currently place.search on Google Maps.

Options

FlagTypeRequiredDefaultDescription
-q, --queries <list>stringYesComma-separated list of queries (terms or context-pinning URLs).
-p, --provider <slug>stringYesSearch service slug provider/platform/type[:tag] (e.g. apify/googlemaps/place.search).
-l, --limit <n>numberNo100Per-query record cap (capped at 1000).
--no-fallbackbooleanNoDisable router fallback — fail if the requested provider errors.
-j, --jsonbooleanNofalseOutput raw JSON.

Examples

Find coffee shops on Google Maps

socialrouter search \
  -q "coffee shops in Brooklyn" \
  -p apify/googlemaps/place.search \
  -l 50

Multiple queries in one call

socialrouter search \
  -q "coffee shops in Brooklyn,bakeries in Brooklyn,gyms in Brooklyn" \
  -p apify/googlemaps/place.search

Pin an actor variant

socialrouter search \
  -q "coffee shops in Brooklyn" \
  -p apify/googlemaps/place.search:compass

Pipe results to jq

socialrouter search \
  -q "coffee shops in Brooklyn" \
  -p apify/googlemaps/place.search -j \
  | jq '.data[] | {name, location}'