Skip to content
← All delivery answers

What is a same-day delivery API, and how do you integrate one?

Short answer. A same-day delivery API lets your app, online store or AI agent book a local courier in code: send a pickup and a drop-off to get a price and ETA, create the delivery, follow the driver through webhooks or live events, and read proof of delivery when it lands. RentADriver's REST API and MCP server do this in UK and US launch cities, and a sandbox key with simulated drivers is free.

Quote, book and follow a delivery in two API calls.YouTube ↗
Best for
  • ✓ On-demand delivery from a marketplace, app or point of sale
  • ✓ Online stores adding a same-day option at checkout
  • ✓ AI agents that need a price before they book
Limits and responsibilities
  • • Coverage is city-based: check the pickup address first
  • • Live bookings draw from a funded workspace
  • • Driver availability varies by city and hour

How it works

  1. 01POST /v1/quotes (no key needed) → price, ETA, quote_id
  2. 02POST /v1/deliveries with the quote_id
  3. 03Follow delivery.* webhooks or the public tracking link
  4. 04GET /v1/deliveries/{id}/proof after the drop-off
Example

Two calls, then webhooks

A quote needs no API key. Booking uses the quote_id, and every step after that arrives as a signed webhook.

1 · Quotebash · json
curl -X POST api.rentadriver.ai/v1/quotes \
  -d '{"pickup": {"address": "10 Downing St, London"},
       "dropoffs": [{"address": "British Museum"}],
       "items": [{"size_class": "M"}]}'

// 200 OK
{ "id": "406fc0a7…", "price": "29.40",
  "currency": "GBP", "duration_s": 848,
  "breakdown": { … } }
2 · Bookbash · json
curl -X POST api.rentadriver.ai/v1/deliveries \
  -H "x-api-key: rd_live_…" \
  -d '{"quote_id": "406fc0a7…"}'

// 201 Created
{ "short_code": "RD-7K2P9QX",
  "status": "dispatching",
  "tracking_url":
    "rentadriver.ai/track/RD-7K2P9QX" }
  1. delivery.assigned14:02
    01 A driver accepted
  2. delivery.picked_up14:09
    02 Pickup photo taken
  3. delivery.delivered14:31
    03 Photo and name at the door
  4. delivery.confirmed14:35
    04 Payment settled

Sample request and responses. Full API reference

Go further

check_coverageget_quotecreate_deliverytrack_deliveryget_proof_of_delivery

Related answers

Support