rewardpilot-api / .env.example
sammy786's picture
flights: per-platform seller prices, round-trip resolution
a0235b7
Raw
History Blame Contribute Delete
1.05 kB
# RewardPilot backend environment
# Copy this file to ".env" and paste your real key. NEVER commit ".env".
# The key lives ONLY here on the server — never in the mobile app or git.
# OpenAI key — used only to write the natural-language "why this card" reasoning.
# The deterministic engine still computes all numbers and the ranking.
OPENAI_API_KEY=sk-paste-your-rotated-key-here
# Optional alternative for narration (not required if OPENAI_API_KEY is set)
# ANTHROPIC_API_KEY=
# SerpApi key - per-platform flight prices (what MakeMyTrip, Goibibo, EaseMyTrip
# and the airline each charge for the SAME seat, plus a booking link for each).
# Without it the app falls back to comparing every channel at one fare, which is
# the old behaviour: honest, but it can only rank on offers, not on price.
# Free tier is 250 searches a month. Budget 2 calls per user journey: one search,
# one seller lookup for the itinerary they pick.
SERPAPI_KEY=
# Set to 1 to force the per-platform price path off without removing the key.
# FLIGHT_SELLERS_MOCK=1