Skip to content
masterclass Buddy

Redis · Command

GEOADD

Adds one or more members to a Redis geospatial index. Each member has a longitude, latitude, and name; the key is created if it does not exist.

Last updated

Since
3.2.0

Syntax

GEOADD key [NX | XX] [CH] longitude latitude member [longitude latitude member ...]

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

Subscribe
  • GEOSEARCH
  • GEODIST
  • GEOHASH
  • GEOPOS

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