Food-delivery fee comparison
Runs a free-text restaurant search on DoorDash and returns each store's own advertised delivery fee, rating and ETA — the fee shown before a cart is built.
Runs a free-text restaurant search on DoorDash and returns each store's own advertised delivery fee, rating and ETA — the fee shown before a cart is built. Uber Eats is declared but not yet wired (its search stub isn't built); a full delivery+service+tax+tip checkout TOTAL needs a real cart and address and is separately not-yet-built on both apps.
Also known as: delivery fees, doordash vs uber eats, food delivery fees, delivery app fees, hidden delivery fees
Call it
bowmark.delivery.compareDeliveryFees(query: string | { query: string; limit?: number }, options?: CallOptions): Promise<CompareDeliveryFeesResult>Functions
| Function | What it does |
|---|---|
compareDeliveryFees | Runs a free-text search — bowmark.delivery.compareDeliveryFees("pad thai austin tx") — across the delivery apps this library covers (DoorDash today) and returns every matching store… |
Types
type DeliveryFeeQuote = {
app: string // which app quoted this, e.g. "doordash"
name: string
deliveryFee: number | null // the app's own advertised delivery fee, before a cart is built
url: string
rating: number | null
}
type CompareDeliveryFeesResult = {
query: string
quotes: DeliveryFeeQuote[] // every store any queried app returned
warnings: string[] // always present; empty when nothing was dropped
}
type CallOptions = {
timeoutMs?: number // per-provider budget in ms, default 30000, clamped to 1000-55000.
// A provider slower than this is DROPPED from the results and
// NAMED in warnings — never silently absent
}Examples
// what does DoorDash advertise for pad thai near 78704?
const { quotes, warnings } = await bowmark.delivery.compareDeliveryFees("pad thai austin tx");
for (const w of warnings) log(w);
for (const q of quotes) log(`${q.app}: ${q.name} — $${q.deliveryFee ?? "?"} delivery fee`);
return { quotes };Providers behind it
| Provider | |
|---|---|
doordash | DoorDash |