home / writing / shipping apis in egypt

Shipping APIs in Egypt: Bosta vs Mylerz vs Aramex vs J&T Express

Payments get the attention, but in Egypt most orders are still paid in cash at the door, which makes your courier your real payment provider. Here is what each one costs, how fast the cash comes back, how good the API is, and when each one is the wrong choice.

The first time an Egyptian store goes live, the founder worries about the payment gateway. Six weeks later they are worried about the courier. That is because in Egypt most e-commerce orders are still paid in cash at the door, so your courier is not only moving boxes. It is collecting your revenue, holding it, and deciding when you get it back.

Bosta is the courier I use on every e-commerce build, so its API, its webhooks and its failure modes are the ones I know from production. The other three I compare from their published terms, documentation and onboarding, and I say so where it matters.

The honest summary is the same as with payment gateways: the delivery fee is rarely what decides it. What actually differs, and what hurts later, is how many orders come back, how fast the cash comes back, how well the courier handles bad addresses, and how much of your engineering time the integration eats.

The quick answer

If you want the decision without the reasoning, here it is, and the rest of the article is why:

  • Standard online store, mostly cash on delivery, mostly Cairo and Alexandria: Bosta. It publishes its prices, advertises daily cash-out, and has the most developer-friendly API of the four.
  • You need national coverage, or you also ship internationally: Aramex. Highest reach and the most mature operation, at a higher price and with surcharges.
  • You want storage and fulfilment as well as delivery: all of Bosta, Mylerz and Aramex offer fulfilment alongside last-mile delivery; compare their warehouse terms, not just their delivery fees.
  • You are on Shopify and want a second carrier to negotiate against: J&T Express. It has an official Shopify app in Egypt; outside Shopify, expect to ask for API access.
  • You ship more than a few hundred orders a month: two couriers, not one. Route by zone and keep the second one as leverage and as a fallback.

Side-by-side comparison

On the numbers: Bosta is the only courier here that publishes a rate card; the figures below are its listed prices as of December 2026. Everyone negotiates on volume, and your contract will differ from the public page. Treat this as the starting point for a conversation, and get your rate, return fee and remittance schedule in writing.

CourierPublished priceCOD cash-outDeveloper integrationStrongest at
Bosta97 EGP (Cairo) to 124 EGP (Upper Egypt) per small/medium delivery; 87 EGP returnAdvertises daily cash-out transfers and Fawry cash-outREST API with key levels, webhooks, public docsTech-first e-commerce delivery, urban COD
MylerzQuoted per merchantPer merchant agreementIntegration API, official WooCommerce pluginLast-mile plus fulfilment and warehousing
AramexQuoted per merchant; public rate calculator for cash ratesPer merchant agreementShipping, rate and tracking APIs; plugins for WooCommerce, Magento, Shopify, PrestaShop, OpenCartNational reach, international, mature operations
J&T ExpressQuoted per merchantPer merchant agreementOfficial Shopify app; API credentials on requestShopify stores, a competitive second carrier

Rates: the delivery fee is not your cost

Bosta's published card is a useful benchmark for the market, so it is worth reading closely (EGP; confirm whether VAT is added to your invoice):

Bosta order typeCairoAlexDelta-CanalUpper Egypt / Red Sea
Delivery (small & medium)97102110124
Return to origin / cash collection87878787
Customer return pickup107107107107
Exchange112117125139
Light bulky197202210224
Heavy bulky564614694834

Look at the second row. A returned order is not free: it costs almost as much as a delivered one. And in a cash-on-delivery market a lot of orders come back. Customers refuse at the door, are not at the address, gave a wrong phone number, or ordered from three stores and kept one.

So the number to compute is the cost per delivered order, not per shipment:

cost_per_delivered = (delivered * delivery_fee + returned * return_fee) / delivered

Cairo, 97 EGP delivery, 87 EGP return:
  85% delivered  →  112 EGP per delivered order
  75% delivered  →  126 EGP per delivered order
  65% delivered  →  144 EGP per delivered order

Going from 85% to 65% delivered raises your shipping cost per sale by almost 30%, before you count the product that sat in a van for a week and the ad spend that bought the order. Your delivery rate is the line item to manage, not the fee. Confirm with each courier exactly what a failed delivery is charged: the return fee only, or the delivery fee plus the return fee.

Also ask about the costs that are not on the card: the fee on high cash-on-delivery amounts, insurance on declared value, the price for packages above the small/medium size, and, at Aramex, the remote area, fuel and signature surcharges it lists separately.

Cash-on-delivery remittance: the number that matters more

This is the same lesson as payment gateway settlement, with more money at stake, because in a cash-on-delivery business the courier holds most of your revenue.

Bosta advertises daily cash-out transfers and cash-out through Fawry. The other three set remittance terms in the merchant agreement. On paper that is a difference of a few days. In practice it is your working capital.

Rule of thumb: cash held by your courier = (monthly COD revenue ÷ 30) × (days from delivery to money in your account). On 600,000 EGP a month, a 7-day remittance cycle means about 140,000 EGP of your revenue is always sitting with the courier.

Ask three questions about remittance, and get the answers in writing:

  1. How many days from successful delivery to money in my bank account?
  2. Is remittance gross, or are shipping fees deducted first? Netted payouts are convenient but make reconciliation harder.
  3. What report comes with each payout, and can I pull it through the API? You need order-level detail, not a single total.

API and webhooks: where the engineering time goes

All four will give you a way to create a shipment and get a tracking number. The differences are in how much you can automate and how much you have to build around their gaps.

Bosta

Bosta has the most complete public developer story here. Requests go to its v2 REST API with an API key in the Authorization header. Keys are generated from the business dashboard after a one-time code to your phone, at three levels: read-only, read/write, and full access. Use the lowest level that does the job, and remember the key cannot be viewed again after you create it.

Status updates arrive as webhooks, and two details matter:

  • The webhook fires on status changes, not on order creation. Your system has to record the shipment from the create response, not wait for a callback.
  • Bosta's docs describe no payload signature, only an optional static authorization header that it sends with each request. Configure it, but it is a shared secret, not a signature. Treat the webhook as a hint: verify any state that moves money (delivered, cash collected) against the tracking API before you act on it.

The payload is useful: a numeric state code, the collected COD amount on delivery, the number of delivery attempts, and an exception code when delivery fails. Those exception codes are worth storing. "Customer not answering", "wrong phone number" and "address not clear" are separate codes, and the split tells you whether your problem is the courier or your checkout.

Aramex

Aramex has the oldest and broadest API set: shipping services (create shipments, print labels, book pickups), a rate calculator, and tracking, as SOAP-style services with WSDLs. It is reliable and well documented, but it feels like enterprise software, and you need an Aramex business account and credentials before you can test anything. If you are on WooCommerce, Magento, Shopify, PrestaShop or OpenCart, its fulfilment app is the faster route, and it has a test mode.

Mylerz

Mylerz exposes an integration API for Egypt and maintains an official WooCommerce plugin that creates pickup orders, generates air waybills singly or in bulk, and attaches tracking numbers to orders. You need Mylerz credentials to start; there is no self-serve sign-up for the API. Public documentation is thin, so plan on getting the API reference from your account manager.

J&T Express

J&T Express launched its Egypt network in June 2022 and publishes an official Shopify app (order creation, pickups, tracking, reverse and exchange shipments, sub-accounts). Outside Shopify there is no public developer portal: API access, keys and documentation come through the merchant relationship. Budget time for that conversation before you budget time for the code.

Integration effort, courier by courier

Rough engineering effort for a competent backend developer adding a courier to an existing application properly: shipment creation, label printing, webhook or polling status sync, COD reconciliation, and returns. Not a plugin dropped in and hoped for.

CourierCustom integrationNotes
Bosta3–5 daysPublic docs, live API runner, clear state codes. Address formatting against its zones is where the time goes.
Mylerz4–7 daysDocs come from your account manager. The WooCommerce plugin is quicker if that is your stack.
Aramex5–8 daysSOAP-style services, more fields per shipment, surcharges to model. Use the platform app if you can.
J&T Express4–8 days, after accessThe calendar time to get API credentials and docs can exceed the build time. Shopify app if you are on Shopify.

Whichever you pick, build these five things or you will regret them:

  1. Your own shipment table. One row per shipment with the courier's tracking number, every status transition with timestamps, attempts, exception codes and the COD amount. When a courier says an order was delivered and the customer says it was not, this is your evidence.
  2. Idempotent status handling. Webhooks arrive twice and out of order. Key on the tracking number and state, ignore transitions that go backwards, and make duplicates a no-op.
  3. A polling fallback. Webhooks get missed. A job that re-checks every shipment that has not moved in 48 hours catches the ones that went quiet.
  4. COD reconciliation. Match every remittance line to a delivered order. The gap between "delivered" in your system and "paid" in the courier's report is never zero, and you want to find it weekly, not at year-end.
  5. A courier adapter. Put the courier behind your own interface (create, cancel, track, label) so adding a second courier, or swapping the first, is days of work, not a rewrite.

Fix the delivery rate before you switch couriers

Most of the returns that founders blame on the courier start at checkout. Before you change providers, fix these:

  • Addresses. Egyptian addresses are free text and landmarks. Collect governorate and city as dropdowns that match your courier's zones, and the street and building as text. Bosta has separate exception codes for an unclear address and a wrong phone number for a reason.
  • Phone numbers. Validate the Egyptian mobile format at checkout and confirm high-value orders by call or WhatsApp before you hand them to a courier. A wrong number is a guaranteed return.
  • Open-before-you-pay. Customers often ask to open the package before paying, and "customer wants to open the shipment" is its own cancellation code. Decide your policy, tell the courier, and state it on the product page.
  • Fake and impulse orders. Track return rates by customer phone number and by product. A small number of numbers and products usually drive a large share of returns.

This work raises your delivered percentage, and by the formula above every few points of delivered rate are worth more than any discount you can negotiate on the fee.

Where each one is the wrong choice

Bosta is the wrong choice when…

Most of your orders go to remote areas outside its strongest zones, or you ship bulky goods (its heavy bulky price runs from 564 to 834 EGP). Bosta is built for urban e-commerce parcels, not freight.

Mylerz is the wrong choice when…

You want to self-serve: sign up, read the docs, and integrate this afternoon. Mylerz works through account managers, and if your team expects public documentation and a sandbox on day one, the onboarding will frustrate you.

Aramex is the wrong choice when…

You are a small Cairo store shipping low-value cash-on-delivery parcels. You will pay for national and international capabilities you do not use, the surcharges add up on small baskets, and the integration is heavier than you need.

J&T Express is the wrong choice when…

You are building a custom stack and need full API documentation before you commit, or you need a single carrier with a long local track record. Its Egypt operation is the youngest of the four. That makes it a good second carrier to price against, and a riskier only carrier.

Pick by business model

If you are…Start withBecause
D2C store, COD-heavy, urban customersBostaPublished prices, daily cash-out, developer-friendly API
Shipping across all governoratesAramex (+ Bosta for Cairo)Coverage where you need it, price where you can
Holding inventory and want it fulfilled for youBosta, Mylerz or AramexWarehousing and delivery from one provider
Shopify store wanting a second carrierJ&T ExpressOfficial Shopify app, leverage on price
Bulky goods (furniture, appliances)Get quotes from all fourBulky pricing varies most and is rarely published
Selling to Gulf customers tooAramexThe most established international network of the four
Cash flow is tightThe fastest remittance you can get in writingRemittance lag is working capital you have to finance

The default I give people who just want an answer: start on Bosta if your customers are mostly in Cairo and Alexandria and pay cash, add Aramex for the governorates Bosta does not serve well, and put both behind your own shipment table and courier adapter. Then spend your energy on the delivered rate, not the fee: fixing addresses and phone numbers at checkout pays back faster than any discount you can negotiate.

Questions to ask before you sign

Ask every courier the same list, in writing.

  1. What is my price per delivery by zone and package size, and what counts as small, medium and bulky?
  2. What exactly am I charged when a delivery fails: the return fee, or delivery plus return?
  3. How many days from successful delivery to cash in my bank account?
  4. Is the remittance gross or net of fees, and what order-level report comes with it?
  5. Is there a fee on high cash-on-delivery amounts, and what does insurance cost?
  6. Which areas are outside your coverage or carry a surcharge?
  7. How many delivery attempts do you make before returning an order?
  8. What is your policy when the customer wants to open the package before paying?
  9. Is there a sandbox, and can I have API access and documentation before signing?
  10. Who do I call when a shipment with 5,000 EGP of my cash goes missing, and how fast do you pay lost-shipment claims?

The answers to questions 2, 3 and 10 will tell you more about the next two years than the answer to question 1.

Need shipping and payments wired up properly?

I build the order, payment and shipping layers for Egyptian e-commerce, including courier integrations, COD reconciliation and the adapters that let you switch providers later. If you want a recommendation for your business or an integration built right the first time, email contact@kerolosxgad.com.

Sources and last review

Rates, features and documentation checked in December 2026: Bosta pricing, Bosta API keys, Bosta webhooks, Aramex Egypt e-commerce fulfilment, Mylerz WooCommerce plugin, Mylerz, J&T Egypt Shopify app, J&T Express Egypt launch. Published rates change, and negotiated terms differ from published terms; confirm your own rate and remittance schedule with the courier.