search_freight_rates
Search Ocean Freight Rates
Search real-time ocean freight rates (FCL & LCL) between two ports. Returns available rates with price and validity. Port names support aliases (e.g. 'Shenzhen' matches all Shenzhen terminals, 'LA' matches 'Los Angeles'). Example: search_freight_rates(origin='Shenzhen', destination='Los Angeles', container_type='40HC')
Parametersoriginrequireddestinationrequiredcontainer_type
create_booking
Submit Shipping Booking
Submit a shipping booking request (FCL or LCL). REQUIRES pin parameter (contact SHAQ at [email protected] to get your pin). REQUIRES 7 mandatory fields: contact_name, contact_phone, contact_email, supplier_name, supplier_phone, supplier_email, po_number. If any mandatory field is missing, the tool returns an error listing which fields are needed. All bookings are created with 'pending_review' status. Example: create_booking(pin='shaq2026', origin_port='Shenzhen', destination_port='Los Angeles', container_type='40HC', container_count=1, contact_name='John', contact_email='[email protected]', contact_phone='+1234567890', supplier_name='ABC Factory', supplier_phone='+8613800001111', supplier_email='[email protected]', po_number='PO-2026-0001', product_name='Electronics')
Parameterspinrequiredremarkhs_codepo_numberrequiredorigin_portrequiredcontact_namerequiredproduct_nameservice_typecontact_emailrequiredcontact_phonerequiredsupplier_namerequiredcontainer_type+6 more
track_booking
Track Shipping Booking
Track a shipping booking order by order number. Returns current status (pending_review, confirmed, shipped, etc.), timeline, and booking details. Example: track_booking(order_number='SQ-2026-001')
Parametersorder_numberrequired
List available ports with alias support. Search by name, code, or country. Returns matching ports and their aliases. Example: list_ports(query='China', limit=20) or list_ports(query='Los Angeles')
Parameterslimitquery
get_freight_index
Get Freight Rate Index
Get freight rate index data for market trends. Shows average rates for major trade lanes (e.g. China-US West Coast, China-Europe). Example: get_freight_index(route='china-us-west-coast')
Parametersroute
subscribe_rate_alert
Subscribe Rate Change Alerts
Subscribe to freight rate change alerts. Get notified by email when rates change for a specific route. Example: subscribe_rate_alert(email='[email protected]', origin='Shenzhen', destination='Los Angeles')
Parametersemailrequiredoriginrequireddestinationrequiredservice_type
get_sailing_schedule
Get Vessel Sailing Schedule
Get upcoming vessel sailing schedules between two ports. Returns vessel name, voyage number, ETD, ETA, transit time, and frequency. Use this when customers ask 'when is the next ship' or 'how long does it take'. Example: get_sailing_schedule(origin='Shenzhen', destination='Los Angeles')
Parameterslimitoriginrequireddestinationrequired
get_port_fees
Get Port Fee Types
Get port fee types for a given port. Returns fee categories, not specific amounts.
Args:
port: Port name (e.g., Shenzhen, Shanghai, Ningbo)
fee_type: Optional filter by fee type
Returns:
List of port fee types and categories
Parametersportrequiredfee_type
get_customs_info
Get Customs Import Info
Get customs compliance information for importing to a specific country. Returns required documents, special requirements, restricted items, duty/tax rates, and FTA info. Use this when customers ask about customs, documents, import requirements, or duties. Example: get_customs_info(country='Australia')
Parameterscountryrequired
rate_trends
Freight Rate Trends
Get freight rate trend for a lane: are prices rising or falling? Compares currently-valid carrier tariff windows with recently-expired windows, plus market indices (SCFI). Use this when the customer asks whether rates are going up or down, or about market direction. Example: rate_trends(origin='Busan', destination='Altamira', weeks=4)
Parametersweeksoriginrequireddestinationrequiredcontainer_type
cheapest_route
Cheapest Route Finder
Find the lowest-priced destination ports in a country from one origin, across all carriers. Returns ranked destinations with the cheapest currently-valid rate, carrier and validity. Use this when the customer asks where it is cheapest to ship within a country. Example: cheapest_route(origin='Shenzhen', country='Mexico')
Parameterslimitoriginrequiredcountryrequiredcontainer_type
analyst_chat
Freight Analyst Chat
Ask SHAQ Freight Analyst a natural-language question about ocean freight rates, routes, trends, container types, surcharges, or Incoterms. The analyst retrieves real-time SHAQ data and answers in the same language as the question. Example: analyst_chat(question='Is the rate from Shenzhen to Manzanillo rising or falling for a 40HC?')
Parametersquestionrequired
search_freight_rates_batch
Batch Search Freight Rates (Natural Language)
Search ocean freight rates for MULTIPLE routes in one call. Accepts natural-language queries: 'Shenzhen to Los Angeles 40HC', '盐田到长滩小柜', 'Shanghai to Hamburg reefer'. Understands Chinese jargon: 小柜=20GP, 大柜=40GP, 高柜=40HQ, 冷藏/冻柜=reefer. Returns a compact per-route summary (rate count, container types, lowest rates). Max 10 queries per call.
Parametersqueriesrequired