TAMN
Popular in EgyptWhy book through TAMNSupport
Become a partnerPartnersالعربية

API guide

Integration contract tamn_v1 for booking sites. TAMN calls your search API when a traveller searches, shows your hotels next to the other sites, and sends the traveller to your site to book.

1. Search request

GET {api_base_url}{search_path}?destination=Cairo&checkin=2026-12-20&checkout=2026-12-22&adults=2&rooms=1&children=&currency=EGP&market=EG&max_results=30
destinationCity, area or hotel name as the traveller typed it
checkin / checkoutDates, YYYY-MM-DD
adults / roomsNumber of adults and rooms
childrenChildren's ages, comma-separated (may be empty)
currencyRequested currency (EGP, SAR…)
marketTraveller's market: EG, SA, AE, QA, KW, BH or OM
max_resultsMaximum hotels to return (usually 30)

TAMN sends the API key you gave us as a header (e.g. x-api-key), a Bearer token or a query parameter, as you choose.

2. Response

{
  "hotels": [
    {
      "id": "H-10293",
      "name": "Steigenberger Hotel El Tahrir",
      "city": "Cairo",
      "stars": 4,
      "review_score": 8.4,
      "review_count": 1260,
      "room_type": "Deluxe Double Room",
      "meal": "breakfast",
      "free_cancellation": true,
      "price_total": 8400,
      "price_per_night": 4200,
      "currency": "EGP",
      "taxes_included": true,
      "deep_link": "https://www.example.com/hotel/10293?checkin=2026-12-20&checkout=2026-12-22&adults=2&ref={click_id}"
    }
  ]
}
  • price_total is the final price for the whole stay that the customer pays on your site, including taxes and fees. Hotels sent with taxes_included: false are not shown.
  • deep_link must be https, on the booking domain you registered, and open the same offer at the same price.
  • meal is one of: room_only, breakfast, half_board, full_board, all_inclusive.
  • Answer within 5 seconds. After 8 seconds the search is shown without your results.
  • If you can't return the requested currency, return yours: TAMN converts it at the day's rate and tells the customer.

3. Clicks

When a traveller clicks “View deal” they pass through TAMN and land on your deep_link. We replace {click_id} in the link with the click id; if it isn't there we add a tamn_click parameter. Keep this id with the booking.

4. Reporting bookings

Once live, create your booking reports key in the dashboard and send each booking to:

POST /api/partner/v1/conversions
Authorization: Bearer tamn_<your key>
Content-Type: application/json

{
  "click_id": 48211,
  "booking_ref": "EX-88231",
  "status": "booked",
  "amount": 8400,
  "currency": "EGP",
  "commission": 840
}

Send the same booking_ref again to update its status to cancelled or stayed.

5. Testing and going live

  1. Enter your commercial terms and API details in the dashboard.
  2. Run the sandbox test: TAMN searches a city in your first market 30 days ahead and checks the answer.
  3. Accept the price accuracy pledge and send it for review.
  4. After the team approves, your hotels appear in search results.

Example of a valid answer: /api/partner/v1/example/search

Become a partner

TAMNTAMN compares prices and sends you to the booking site. We never take payments.Privacy policyTerms of useSupportBecome a partner

TAMN is independent and not affiliated with the booking platforms shown. Platform names are trademarks of their owners.