Skip to content
masterclass Buddy

Redis · Concept

Geospatial

Redis geospatial indexes store coordinates with named members. Search them by radius or bounding box to find nearby locations.

Last updated

Since
3.2.0

Syntax

GEOADD key longitude latitude member [longitude latitude member ...]
GEOSEARCH key FROMMEMBER member | FROMLONLAT longitude latitude BYRADIUS radius unit | BYBOX width height unit

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

Subscribe
  • GEOADD
  • GEODIST
  • GEOHASH
  • GEOPOS
  • GEOSEARCH
  • GEORADIUS
  • GEORADIUSBYMEMBER

Source: Redis geospatial. Checked 2026-11-03.