A rental listing recommender should first identify the bikes, e-bikes, or scooters a rider can actually use, then rank those options by factors such as pickup distance, estimated price, and vehicle preference. It also needs a final check with the operator's booking system: a vehicle shown in a public feed may be gone by the time the rider selects it.
For fleet operators and software teams, the challenge is less about choosing an advanced algorithm than connecting reliable data to sensible rules. Availability can change quickly, pricing feeds may omit charges, and a trip that starts inside a service area may end where parking is restricted.
A practical first version uses structured listings, explicit eligibility filters, and a transparent score. Start with one service area and booking flow, record what the system knows and does not know, and use real booking outcomes to improve the recommendations.
How a shared-fleet recommender chooses a rental
A useful rental recommender starts with a practical question: which vehicles can this rider actually use? Distance matters, but a nearby scooter is not helpful if it is unavailable, outside the permitted area, or too expensive for the trip.
The system first collects listings and checks their current status. It then removes unsuitable options and ranks what remains. That order matters: a high score should not rescue a vehicle that cannot be rented.
Build the decision pipeline
Start with the rider's request: pickup location, vehicle preference, trip length, and any budget or accessibility requirements. Match it against operator inventory, pricing, service areas, and vehicle status. For a station-based system, check availability at the station rather than assuming every vehicle has an individual listing.
A basic pipeline can run in four stages:
- Ingest: Fetch operator data and record when each source was last updated.
- Filter: Remove unavailable vehicles and options that violate known trip or service-area constraints.
- Rank: Score eligible results for proximity, estimated cost, and rider preferences.
- Confirm: Recheck availability through the operator's booking flow before presenting a successful reservation.
The confirmation step connects the recommendation to the real-world rental. Another rider may unlock that bike while the app is still showing it, or a vehicle may have been taken out of service. A public feed is not a reservation system.
Prepare listings for comparison
Normalize each operator's data before scoring it. Keep the provider and vehicle or station identifier together, translate vehicle types into categories your app supports, and store the currency and units attached to each price. Record both the source's update time and when your system fetched the data.
For a station listing, show the available count and vehicle types only to the extent the feed supports them. A station with available bikes does not necessarily have a particular e-bike ready for the rider.
Define the pickup distance consistently. Straight-line distance is straightforward to calculate, but it can understate the walk around a river, highway, or closed street. If you use it, label it accordingly; use a walking route estimate where suitable data is available.
What GBFS can and cannot tell you
The General Bikeshare Feed Specification, or GBFS, provides a common format for sharing the current status of shared micromobility systems. Its reference documentation describes feeds for vehicles, stations, pricing plans, and geofencing zones. GBFS is designed for current information, not primarily for historical records.
Feed coverage varies. A system may expose station-level counts, individual vehicle status, or other details depending on its configuration and the files it publishes. Pricing may also require a separate operator source before you can estimate a complete trip cost.
Treat battery or estimated range data as an indicator, not a promise. Rider weight, terrain, temperature, vehicle model, and condition can affect actual range.
Key metrics and practical targets
| Measure | Reference or practical target |
|---|---|
| Feed standard | Check each operator's supported GBFS version and published files against the reference documentation. |
| Feed timestamp | Google's GBFS integration documentation specifies last_updated as a POSIX timestamp. |
| Refresh guidance | In Google's documented feed profile, ttl is a non-negative number of seconds until refresh; it is not a booking guarantee. |
| Freshness target | Example internal target: flag data older than 60 seconds. Set the threshold against actual operator update rates. |
| Recommendation success | Track confirmed unlocks divided by recommendation clicks when those events can be linked. Report unavailable attempts separately. |
A first ranking model can stay simple. For example, assign 40% to proximity, 30% to estimated price, 20% to vehicle preference, and 10% to other preferences. These are illustrative weights, not industry benchmarks. Requirements such as a necessary accessible vehicle or a firm budget limit belong in eligibility checks, not in a preference score that another factor can outweigh.
Put each scoring factor on a consistent scale and decide how to handle missing values before comparing results. An unknown price should not receive the same score as a free rental. Show riders the main reasons for an order, such as a shorter pickup walk or a lower estimated trip cost.
Log the inputs and result of each recommendation. Then compare suggested vehicles with confirmed unlocks and adjust the filters before tuning the weights.
Where recommendations break down in practice
A technically sound ranking can still send someone toward a bike that is not there, a scooter they cannot park, or an e-bike with too little charge for their trip. To the rider, those are not separate data problems. The recommendation was simply wrong.
GBFS data-quality guidance puts completeness, accuracy, and freshness at the center of a usable feed. A listing may look valid in a database while its real-world status has already changed. Treat the following complaints as scenarios to test, not as measured complaint rates.
The listing looked better than the trip
"Available" can mean available at the last feed update. It does not guarantee a vehicle will still be there after a five-minute walk. Show the status timestamp, set a freshness limit suited to the feed and use case, and recheck availability at the point of booking. If you cannot confirm it, say so.
Price causes a different kind of disappointment. A low per-minute rate can look attractive until an unlock fee, pass requirement, or parking charge changes the estimate. Use the intended rental duration where the pricing data supports it. Otherwise, label the figure as partial rather than presenting it as the trip total.
Range is just as easy to oversimplify. A battery percentage is not a promise about miles remaining, and the usable distance can vary with the vehicle, rider, terrain, weather, and assist level. If the operator supplies a range estimate, show it as an estimate. Do not convert a raw percentage into a precise trip guarantee.
Match the fix to the failure
| Symptom | Likely issue to investigate | Practical response |
|---|---|---|
| Rider arrives and finds no vehicle | Stale status, delayed feed, or a vehicle taken by someone else | Display update time; refresh before booking; offer nearby alternatives |
| Cheap listing costs more than expected | Missing fees or pricing assumptions | Estimate the full trip cost where possible; disclose missing charges |
| Good match cannot be used | Eligibility, access, or parking constraints were not applied | Filter on confirmed constraints; flag unknown rules instead of guessing |
| Relevant vehicles do not appear | Overly strict filters, incomplete data, or poor ranking weights | Inspect excluded candidates and their missing fields; offer clearly labeled alternatives |
Keep the reasons visible to the operations team. A log entry such as "excluded: parking eligibility unknown" is more useful for troubleshooting than a score alone. Limit personal data in those logs and follow the operator's privacy and retention policies.
Treat unknowns differently from preferences
Not every missing field deserves the same response. An unknown color preference can be ignored; an unknown restriction on where a scooter can be left may make the trip unworkable. Let operators configure which constraints must be confirmed for their service area, and do not silently turn unknown into allowed.
The GBFS producer guide describes a pull-based set of JSON feeds covering aspects such as vehicle or station status, geographic rules, and pricing. Actual coverage depends on the feed and specification version. GBFS data alone should not be treated as a reservation.
For a first field test, take a small set of real trip requests and compare the displayed listings with current operator data. Record which recommendations survive the booking check, which fields were missing, and what the rider actually had to pay. Use those cases to adjust filters before tuning ranking weights.
A rollout plan for a shared-fleet recommender
Start with a small service area and one booking flow. The timeline below is a planning example, not a required schedule. Move on only when the previous step works reliably.
-
Week 1: Define eligible listings. Write down the rider's required vehicle type, pickup area, rental window, and any operator-enforced restrictions. Exclude vehicles that are unavailable, reserved, under maintenance, or outside the permitted service area. Keep unknowns visible rather than guessing.
-
Week 2: Connect and check the data. Map each listing to a stable vehicle or station ID, availability status, location, vehicle type, and price information where available. Record when each source was last updated. For example, Voi's GBFS v3.0 documentation describes vehicle status, station status, pricing, and geofencing feeds, plus
last_updatedandttlfields. Check each provider's terms and field definitions; not every feed supplies every detail. -
Week 3: Build a rules-based first version. Filter out ineligible options before ranking. Then order the remainder using factors a rider can understand, such as pickup distance and estimated rental cost. Show the price assumptions and flag missing fees or battery information instead of treating them as zero.
-
Week 4: Test the booking handoff. Recheck availability and price with the booking system when the rider selects an option, where the integration permits it. Use the operator's reservation or booking mechanism to resolve competing requests; a recommendation alone does not hold a vehicle. If the selected option disappears, offer a fresh search.
-
Month 2: Run a limited trial. Compare the new ranking with the current listing order using a randomized split, if traffic allows. Track booking completion, failed bookings after selection, and cancellations alongside utilization. Set a minimum sample size and success criteria before the test, and keep a switch to restore the old order.
Define each metric before the trial: for example, whether booking completion means a confirmed reservation or an actual unlock, and which recommendation click gets credit. Compare the same outcomes across both groups. If traffic is too low for a useful randomized comparison, review individual booking attempts and operational problems without treating the results as proof of a ranking improvement.
Assign an owner for feed failures and booking complaints. Without one, a good test can quietly become a bad rider experience.
Red flags during the trial
Fresh-looking data can still be wrong. A feed's ttl provides refresh guidance, not a guarantee that a vehicle can be booked. Choose a freshness threshold with the provider, monitor the age of each feed, and suppress affected recommendations or show a clear availability warning when data exceeds that threshold.
The ranking can improve clicks while making rentals worse. A cheap scooter may attract attention, but a late fee disclosure or an unavailable vehicle can still derail the booking. Review failed selections and rider complaints alongside conversion.
Do not present estimated range as a promise. Battery condition, terrain, weather, rider load, and model affect real-world range; if reliable range data is not available, say so. Legal riding and parking restrictions also vary by jurisdiction, so check local rules rather than assuming one geofence covers every requirement.
Questions operators ask
Do I need a vector database for a rental recommender?
No. A rules-based ranking can work well for a small fleet with structured listings. Consider similarity search later if rider preferences or listing descriptions justify the added complexity.
How often should rental availability be updated?
Set the interval with the provider and your booking system. Monitor feed age, then recheck the selected vehicle at booking because availability can change between updates.
Can I recommend a scooter with low battery?
Only if the operator permits the rental and the available battery information supports the rider's needs. Do not promise a trip distance from battery percentage alone.
What should I show when no vehicles match?
Say that no eligible vehicles are available and let the rider adjust the location, time, or vehicle type. Do not silently remove a required safety or eligibility filter.
How do I know if the recommender works?
Compare booking completion and failed selections against the existing listing order. Before launch, choose the test area, success threshold, and person responsible for reviewing the results.