Meta interview question

Design API for bidding system