Get Fuel Surcharge
opa_get_fuel_surchargeRetrieve current or historical fuel surcharge percentages for LTL freight and parcel carriers, including UPS, FedEx, DHL, and more.
Instructions
Get carrier-published fuel surcharge percentages for LTL freight and parcel carriers. Use when the user asks about current or historical fuel surcharge rates for carriers like ODFL, Saia, Estes, XPO, ABF, TForce, Averitt, Southeastern Freight, UPS, FedEx, or DHL. Auto mode treats UPS/FedEx/DHL as parcel carriers and other carrier slugs as LTL. Parcel history requires a service_level such as ground, air, or international_air_export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Carrier mode: auto (UPS/FedEx/DHL route to parcel; others route to LTL), ltl, or parcel. Default: auto. | auto |
| carrier | No | Optional carrier slug or common name. Examples: odfl, saia, estes, xpo, abf, tforce, averitt, southeastern-freight, ups, fedex, dhl. Omit to list current carriers. | |
| history | No | When true, return historical surcharge rows instead of the latest rate. Parcel history requires service_level. | |
| per_page | No | History rows to return, from 1 to 100. Default: 12. | |
| service_level | No | Parcel service level such as ground, air, international_air_export, international_air_import, or international_ground. Optional for latest; required for parcel history. |