# D2D (Door2Door) — משלוחים לעסקים קטנים בישראל / deliveries for small businesses in Israel > D2D collects parcels from a business and delivers them to its customers anywhere in Israel. Flat nationwide economy > price, same-day and next-day lanes, cash on delivery, live tracking. Software agents are welcome to quote, order and > track on behalf of a business. Prices are in ILS and exclude VAT unless a field says otherwise. ## For agents: three calls 1. Quote (no key): `GET https://www.d2d.co.il/api/v1/public/quote?from_city=תל אביב - יפו&to_city=חיפה` → every service with price and promised day. 2. Order (API key): `POST https://www.d2d.co.il/api/v1/external/deliveries` with header `X-API-Key` — fields: customer_name, customer_phone, customer_address, customer_city, service_type, notes, scheduled_at (pickup day), client_ref (your order id — idempotent), amount + payment_method for cash on delivery. 3. Track (API key): `GET https://www.d2d.co.il/api/v1/external/deliveries/{tracking_number}`; the customer's public page is `https://www.d2d.co.il/t/{code}`. Cities are a closed list in Hebrew: `GET https://www.d2d.co.il/api/v1/cities`. A misspelt city is refused with a suggestion. ## No key yet? Order by the business's phone number `POST https://www.d2d.co.il/api/v1/public/orders` with `sender_phone` (the business's registered phone) and the order fields above (no key). The business gets a one-tap "approve?" (console push, and WhatsApp when the office enables it); the order becomes a parcel only when the business says yes. Poll `GET https://www.d2d.co.il/api/v1/public/orders/{token}` for `status` (awaiting → confirmed, with the tracking number) — it expires without a yes. A phone that is not a registered business gets 404 with the signup link. ## MCP Tool server over HTTP: `POST https://www.d2d.co.il/mcp` (JSON-RPC 2.0, protocol 2024-11-05). Tools: list_cities, quote_delivery (no key), create_delivery, get_delivery, list_deliveries, cancel_delivery (X-API-Key header or Authorization: Bearer). ## Getting an API key A business registers at https://www.d2d.co.il/business-signup (phone verification by SMS), then creates a key at https://www.d2d.co.il/console/business/api-keys. Sandbox with the same API and prices, no real messages: https://dev.d2d.co.il (docs at https://dev.d2d.co.il/developers). ## Service lanes - `point_to_point` — D2D Express: עד 3 שעות - `same_day` — D2D Same-Day: היום (להזמנה עד 12:00) - `next_day` — D2D Next-Day: מחר (להזמנה עד 17:00) - `economy` — D2D Economy: 3-5 ימים ## Links - Agents guide (Hebrew + English): https://www.d2d.co.il/agents - OpenAPI 3.0: https://www.d2d.co.il/openapi.json - Human docs: https://www.d2d.co.il/developers - Pricing: https://www.d2d.co.il/pricing · Calculator: https://www.d2d.co.il/calculator - Support: https://www.d2d.co.il/support · Terms: https://www.d2d.co.il/terms · Privacy: https://www.d2d.co.il/privacy ## Rules an agent should know - One order = one parcel. Send `client_ref`; retrying the same ref returns the same parcel. - `scheduled_at` is the pickup day. Without it the pickup is the next working day the lane allows. - Food (perishable) needs a courier approved for fresh goods and a same-day lane; the API refuses what cannot be kept cold. - The business is billed weekly; the customer may pay the business at the door (cash on delivery add-on).