API
Quote API
Send a JSON POST to https://sitedropco.com/api/quote. The price comes from a live approved rate card for that size, material, and address. No API key is required. This page does not charge a card.
Request body
- variantId: dumpster size id
- materialClassId: material id
- rentalDays: whole number of days
- One of zip, address, or latitude plus longitude
- tons: optional estimated weight
- deliveryOn: optional date as YYYY-MM-DD
- selectedRestrictedLabels: optional list of restricted item names
Response
A successful response is ok true, with quote.customerPriceCents, quote.vendorName, quote.lines, and orderLock. An unknown size returns 404 unknown_variant. A body missing the address or size returns 400 invalid_body. No coverage returns 404 no_coverage.
Sizes and weight allowances, without dollar amounts, are at /pricing.json.