Summary
Users browsing the marketplace need to find creators whose keys they can afford or that fall within an investment range they are comfortable with. The creator list endpoint currently has no way to filter by key price, so every client-side price filter requires fetching all creators and discarding most of them. Price range filtering should happen in the query layer.
Scope
- Add optional
min_price and max_price query params to GET /creators
- Both params accept a positive integer representing the price in stroops
- Filter is applied against the
current_price field from the price snapshot read model
- Combine correctly with existing sort and pagination params
- Return a 400 if
min_price is greater than max_price
Acceptance Criteria
Coordinate on Telegram
Summary
Users browsing the marketplace need to find creators whose keys they can afford or that fall within an investment range they are comfortable with. The creator list endpoint currently has no way to filter by key price, so every client-side price filter requires fetching all creators and discarding most of them. Price range filtering should happen in the query layer.
Scope
min_priceandmax_pricequery params toGET /creatorscurrent_pricefield from the price snapshot read modelmin_priceis greater thanmax_priceAcceptance Criteria
min_pricealone filters out all creators with price below the valuemax_pricealone filters out all creators with price above the valuemin_price > max_pricesort,page, and existing category filtersCoordinate on Telegram