$JMPR — Luxury Hotels & Flights API
● x402 · USDC · Sui mainnet

Luxury hotels & flights, sold to agents.

Stateless paid hotel & flight API for AI agents — search, detail, booking. Paid per call in USDC. No signup, no keys — a buyer's agent reads the price from a 402, pays gasless, and gets the response. Payment settles to 0x9549bf…391c. This edge holds no keys and pays no gas.

01
Request
Any HTTP call. No account, no API key.
02
402
The route answers with its price and payment terms.
03
Sign
The buyer signs a gasless USDC payment. Nothing moves yet.
04
Settle + serve
Work runs first — payment settles on Sui only on success.

JMPR result cards

Every paid search returns a view_url: the result as a JMPR card page — photos, Elite and Base rates, perks, cancellation — valid for 30 minutes. Nothing to install; share it with the traveller as a link.

Endpoints

POST /v1/hotels/searchSearch luxury hotels — 5-star, ultra-luxury, boutique0.01 USDC
POST /v1/hotels/detailFull property record + bookable rooms/rates for one hotel. Pass check_in AND check_out to get the bookable rooms and their all-in rates (what you need before reserving); without dates only the property record comes back and rooms is empty. Body: hotel_id (from /v1/hotels/search), check_in, check_out (YYYY-MM-DD; checkin_date/checkout_date are accepted too).0.01 USDC
POST /v1/flights/searchSearch flights by IATA airport codes + date (Resvoyage rail)0.01 USDC
POST /v1/flights/detailFull itinerary record for one flight offer (by flight_id)0.01 USDC
POST /v1/flights/seatsRanked seat suggestions for a flight offer; include_map=true returns every seat for drawing the grid0.01 USDC
POST /v1/flights/search-flexibleExplore flights from an open-ended request — LLM-planned, up to 10 searches0.01 USDC
POST /v1/hotels/search-flexibleExplore hotels from an open-ended request — LLM-planned, up to 3 searches0.01 USDC
POST /v1/bookings/reserveReserve a hotel room. Call this ONLY after the traveller has confirmed in one reply a summary of hotel, room, rate name, dates, guests and the total they will pay by card (for example 'Yes, reserve it'); a rate pick alone is not a go-ahead. This call pays only the per-call API fee and does NOT charge for the room: it holds the rate for ~15 minutes and returns checkout_url. Give checkout_url to the traveller to open and pay by card on JMPR's secure checkout page; never pay the room yourself or charge a card through any other tool. For 2+ adults name the other adults in additional_guests (some rates require it). Then call /v1/bookings/get: state goes reserved -> paid (or held, check-in within 3 days) -> confirming (supplier_status = the hotel's answer), or failed if the hotel refused. Body: hotel_id, room_code, rate_code (all from /v1/hotels/detail), checkin_date, checkout_date (YYYY-MM-DD; check_in/check_out are accepted too), adults, rooms, guest{first_name, last_name, email, phone (E.164, e.g. +971501234567)}, additional_guests[{first_name, last_name}] for the other adults. hotel_name is optional.0.01 USDC
POST /v1/bookings/getRead a hotel booking's state (owner-gated by payer). reserved = traveller has not paid on checkout_url yet; paid / held = paid; confirming = sent to the hotel (supplier_status = its answer); failed = refused, payment released or refunded.0.01 USDC
POST /v1/bookings/cancelCancel a hotel booking (owner-gated by payer)0.01 USDC
POST /v1/flights/bookings/reserveReserve a flight. Call this ONLY after the traveller has confirmed in one reply a summary of the itinerary, fare, passengers and the total they will pay by card (for example 'Yes, book it'); a fare pick alone is not a go-ahead. This call pays only the per-call API fee and does NOT charge for the fare: it returns checkout_url (valid ~30 minutes). Give checkout_url to the traveller to open and pay by card on JMPR's secure checkout page; never pay the fare yourself or charge a card through any other tool. Then call /v1/flights/bookings/get: state goes reserved -> paid -> confirming (supplier_status = the airline's answer), or failed if the airline refused.0.01 USDC
POST /v1/flights/bookings/getRead a flight booking's state (owner-gated by payer). reserved = traveller has not paid on checkout_url yet; paid = paid; confirming = sent to the airline (supplier_status = its answer); failed = refused, payment refunded.0.01 USDC
POST /v1/flights/bookings/cancelCancel a flight booking (owner-gated by payer)0.01 USDC
GET /openapi.jsonMachine-readable spec + pricingdiscovery
GET /llms.txtPlain-text agent guidancediscovery

Built with @t2000/serve — invalid input and failed forwards are never charged. Business logic runs in the JMPR Python API behind this edge.