Try every call in the quickstart, no setup
Ship freight from your own code.
Live rates from Mothership and its partner carriers, a booking in one call, and every status change sent to your server. 17 endpoints, all documented from the API's own OpenAPI document.
- Sandbox
- https://sandbox.api.mothership.com/beta
- Production
- https://api.mothership.com/beta
POST /quotes
2 × Pallet, 50 lb each
Griffith Observatory → LACMA
201 · 2 rates
How it fits together
One shipment, four calls
Pick a stop to see its request and the part of the response the next call needs. Every example is the one on the reference page, checked against the spec.
Quote
Send the freight, both locations and when it will be ready. Rates come back from Mothership and each partner carrier that can move it.
Keep data.id and the id of the rate you want.
Request
201The fields the next call needs
Built into the docs
Tools you would otherwise build yourself
The docs run on a server, so they can check your requests, send them for you and explain what comes back.
Quickstart playground
Quote, choose a rate, book and track, with each ID carried to the next call. Sample data or your sandbox.
Quote builder
Fill in a form and the code samples in six languages follow, checked against the spec as you type.
Responses that explain themselves
Hover any key in an example or a live response to read its description. Click to jump to the field.
Signature checker
Paste a webhook body and secret to see the X-Mothership-Signature you should expect. Runs in your browser.
Status diagram
Watch a shipment move through its statuses and see the webhook each change sends.
Ready for AI agents
llms.txt indexes every page, each page has a .md version, and Copy page hands one to your assistant.
A changelog from the contract
Every customer-visible change to the OpenAPI document, dated, with an RSS feed.
Guides
Walk through a real integration
Each guide runs against the sandbox, so you can follow along without booking anything.
Booking a shipment
Two pallets from Griffith Observatory to LACMA: describe the freight, get rates, book the same-day rate.
Start the guideTracking a shipment
Read status, estimated delivery and tracking events, and how often to check.
Start the guideConfiguring webhooks
Subscribe an endpoint to shipment and document events and verify each signature.
Start the guideAPI reference
Every endpoint, generated from the spec
Parameters, request bodies, response fields and code samples in six languages come straight from the public OpenAPI document, so they change when the API does.
Get a sandbox token and make your first request.
Organization owners create tokens in the dashboard. The sandbox validates every request like production and never purchases a shipment.
Get API keys