Skip to content
ReppREST reference · v2

Trainers

The trainers in the public index: available now first, then verified, then those who switched on most recently, then the newest profiles.

The index never carries a phone number or a trainer's free-text about. A trainer appears once the profile is complete.

GEThttps://api.dev.repp.co.il/v1/trainersPublic

Request

curl "https://api.dev.repp.co.il/v1/trainers?style=yoga&region=gush_dan"

Response

200 · application/json
{
  "items": [
    {
      "id": "3f2b9c1e-8a7d-4e6f-b5a4-1c2d3e4f5a6b",
      "name": "דנה כהן",
      "photo_url": "https://example.supabase.co/storage/v1/object/public/avatars/3f2b9c1e/photo.webp",
      "styles": [
        "yoga",
        "pilates"
      ],
      "regions": [
        "gush_dan"
      ],
      "rating": {
        "average": 4.8,
        "count": 12
      },
      "verified": true,
      "available_now": true
    }
  ],
  "more": false
}
Query parameters
NameTypeDefaultDescription
styleone of: pilates, barre, strength, crossfit, trx, calisthenics, cardio, hiit, spinning, running, aqua, yoga, mobility, meditation, personal, martial_arts, boxing, krav_maga, dance, zumba, kids, seniors, other—Only this style.
regionone of: gush_dan, shfela, sharon, haifa, jerusalem, north, south, judea_samaria—Only this region.
availablebooleanfalseOnly trainers whose "looking for work" switch is on.
limitinteger 1–10060How many to return, 1 to 100.
offsetinteger 0–50000How many to skip from the start (for the next page), up to 5000.
Response fields (12)
Response fields
FieldTypeDescription
itemsarray of TrainerThe items of this page.
items[].idstringIdentifier.
items[].namestringThe trainer's name.
items[].photo_urlstring, nullableThe trainer's photo, or null.
items[].stylesarray of StyleThe styles the trainer teaches.
items[].regionsarray of RegionThe regions the trainer works in.
items[].ratingRating, nullableThe rating, or null while nobody has rated yet.
items[].rating.averagenumberThe average stars, 1 to 5, to two decimals.
items[].rating.countintegerHow many ratings.
items[].verifiedbooleanWe checked the trainer's instructor certificate (the blue check).
items[].available_nowbooleanThe trainer's "looking for work" switch is on.
morebooleanThere is another page: ask again with a larger offset.
Errors
StatusCodeMeaning
400bad_parameterA parameter is not one the endpoint accepts. The message names it.
429too_many_requestsOver the rate limit. Wait the seconds in Retry-After (60) and go on.
500server_errorSomething failed on our side. Try again shortly.