Skip to content
masterclass Buddy

Redis · Command

GEOSEARCH

GEOSEARCH finds members in a Redis geospatial index inside a circle or box. It can return names, ordering, limits, coordinates, distances, or geohash scores.

Last updated

Since
6.2.0

Syntax

GEOSEARCH key <FROMMEMBER member | FROMLONLAT longitude latitude> <BYRADIUS radius <M | KM | FT | MI> | BYBOX width height <M | KM | FT | MI>> [ASC | DESC] [COUNT count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • GEOADD
  • GEODIST
  • GEOHASH
  • GEOPOS
  • GEORADIUS
  • GEORADIUS_RO
  • GEORADIUSBYMEMBER
  • GEORADIUSBYMEMBER_RO

Source: GEOSEARCH | Docs. Checked 2026-11-03.