CEND / Developers
CEND for developersBuild delivery into your product.
Quote a real price at checkout and follow any shipment by its tracking number, with plain web requests and JSON back. Prices and tracking need no account and no key today.
curl -X POST "https://api.cend.ng/api/v1/quotes" \
-H "Accept: application/json" -H "Content-Type: application/json" \
-d '{
"origin_country": "NG",
"origin_state": "Lagos",
"origin_address": "Ikeja, Lagos",
"destination_country": "NG",
"destination_state": "FCT",
"destination_address": "Wuse 2, Abuja",
"weight_grams": 2000
}'const res = await fetch(`https://api.cend.ng/api/v1/quotes`, {
method: "POST",
headers: { "Accept": "application/json", "Content-Type": "application/json" },
body: JSON.stringify({
origin_country: "NG",
origin_state: "Lagos",
origin_address: "Ikeja, Lagos",
destination_country: "NG",
destination_state: "FCT",
destination_address: "Wuse 2, Abuja",
weight_grams: 2000,
}),
});
const quote = await res.json();$ch = curl_init("https://api.cend.ng/api/v1/quotes");
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => ["Accept: application/json", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
"origin_country" => "NG",
"origin_state" => "Lagos",
"origin_address" => "Ikeja, Lagos",
"destination_country" => "NG",
"destination_state" => "FCT",
"destination_address" => "Wuse 2, Abuja",
"weight_grams" => 2000,
]),
CURLOPT_RETURNTRANSFER => true,
]);
$quote = json_decode(curl_exec($ch), true);import requests
res = requests.post(
"https://api.cend.ng/api/v1/quotes",
json={
"origin_country": "NG",
"origin_state": "Lagos",
"origin_address": "Ikeja, Lagos",
"destination_country": "NG",
"destination_state": "FCT",
"destination_address": "Wuse 2, Abuja",
"weight_grams": 2000,
},
)
quote = res.json()What you can build today, and next.
The same four capabilities as the store connection on CEND for Business.
Prices at checkout
Show your shoppers a real CEND price before they pay.
Delivery booking
Book a delivery from an order and get the tracking number back.
Shipment tracking
Follow any shipment by its tracking number, and show progress to your customers.
Order fulfilment
Your store hears from us at every milestone, from picked up to delivered.
From first request to first price in ten minutes.
Call it
Prices and tracking need no account and no key. Send a request and read the JSON that comes back.
Ask for a quote
Send a route and a weight. Get a price in naira, what is included and when the quote expires.
Show it, then track it
Show the price at checkout. Later, use the tracking number to show progress to your customer.
Where it lives
Plain requests, plain answers.
- Prices and tracking need no key today. Booking, keys and webhooks are planned, and we will tell you first.
- Every request is rate limited. If you get a 429, wait a little and try again.
- Amounts come back in kobo and as text, such as ₦8,000.00.
| What | Address |
|---|---|
| Price a route | POST https://api.cend.ng/api/v1/quotes |
| Follow a parcel | GET https://api.cend.ng/api/v1/tracking/{code} |
Ask for API access.
Tell us what you're building. We reply within one working day, and tell you first when booking, keys and webhooks open.
Not a developer? Talk to our business team and we'll connect your store for you.