EgyptLimo

Partner API & price feed

Use server-to-server pricing for route pages, platforms, and back-office workflows.

The Partner API is for approved server-to-server integrations. It is ideal for an OTA, a custom booking platform, or a route-price feed on your own pages. Never send its OAuth credentials, signing secrets, or merchant identifiers to a browser or mobile app.

For public route pages, refresh a controlled set of approved routes on a schedule—typically weekly—then store the result in your own database or cache. Do not call the API on every page view.

Scheduled job → authenticated quote → partner cache → public route page → Booking Widget for final checkout

The cached amount is indicative. When the customer starts a booking, the widget or booking flow always fetches a new price. Never reuse an old quote_id for a later customer booking.

Do not publish a route if the quote has no positively priced vehicle option, is expired, or returns 422 quote_unavailable. Keep the last known indicative price only if you label its timestamp and make clear that checkout refreshes availability and amount.

Authenticate with OAuth

Use the merchant-specific Sandbox host while testing, and move to the merchant-specific Production host only after approval.

curl --request POST 'https://{merchant}.partner-api.egyptlimo.com/api/v1/integration/oauth2/token' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "grant_type": "client_credentials",
    "client_id": "<client_id>",
    "client_secret": "<client_secret>"
  }'

Cache the returned access token only until its expires_in value. Do not hard-code it.

Request a quote

POST /integration/quotes (relative to your merchant base URL)

Authorization: Bearer <access_token>
X-Merchant-Id: <merchant_id>
X-Key-Id: <signing_key_id>
X-Timestamp: 2026-10-02T10:00:00Z
X-Nonce: <new-random-value>
X-Signature: <hmac-signature>
Content-Type: application/json
{
  "pickup_location": { "lat": 30.1219, "lng": 31.4056, "address": "Cairo International Airport (CAI)" },
  "dropoff_location": { "lat": 29.9773, "lng": 31.1325, "address": "Giza Pyramids" },
  "pickup_datetime": "2026-11-10T10:00:00Z",
  "passengers": 2
}
{
  "quote_id": "qte_…",
  "status": "active",
  "expires_at": "2026-11-10T10:15:00Z",
  "currency": "USD",
  "options": [
    { "vehicle_class": "Sedan", "vehicle_name": "Business Sedan", "price": "35.00", "estimated_duration_mins": 60 }
  ]
}

Signing and retries

Use the canonical HMAC specification in Authentication. Generate a new nonce per request and use the current UTC timestamp to prevent replay.

ResponseAction
401Refresh the access token or correct signing/clock skew; do not blindly retry.
403Check scope, environment host, and production IP allowlist.
422Review route/date/passengers. quote_unavailable means no sellable priced vehicle; do not invent a price.
429Keep your latest cached record; retry later with backoff.
5xx / timeoutRetain the last successful cache and retry later.

For a full booking workflow rather than a price feed, contact the integrations team to enable the appropriate booking scope and webhook events for your partner account.

On this page