Home → Blog

Introduction

In the fast-paced world of logistics, visibility and accountability in freight billing are paramount. Logistics operators face numerous challenges, from fluctuating fuel prices to unpredictable port congestion, all of which can significantly impact operational costs and efficiency. Traditional methods of gathering this data often involve piecing together multiple sources, leading to inefficiencies and potential inaccuracies. This is where FreightPulse comes into play, offering a comprehensive REST API that consolidates real-time logistics intelligence into a single, easy-to-use platform.

FreightPulse provides logistics operators, freight forwarders, and supply chain teams with the tools they need to streamline their operations. By integrating various data points such as EIA fuel prices, live freight rate quotes, port congestion data, and disruption alerts, FreightPulse eliminates the need for scattered integrations and expensive paid feeds. This blog post will explore how FreightPulse drives visibility and accountability in freight billing, enabling logistics operators to make informed decisions and optimize their supply chain processes.


Why FreightPulse

FreightPulse stands out in the logistics data landscape for several reasons:


Quick Start

Getting started with FreightPulse is straightforward. The base URL for the API is:

https://freightpulsehq.com/api/v1

To make your first request, you will need to include the X-API-Key in the header. Here’s an example of how to retrieve national diesel and gasoline prices:

curl -H "X-API-Key: YOUR_API_KEY" "https://freightpulsehq.com/api/v1/fuel-prices"

The expected JSON response will look like this:

{
"success": true,
"data": {
"timestamp": "2026-07-30T12:00:00Z",
"source": "EIA (U.S. Energy Information Administration)",
"currency": "USD",
"unit": "gallon",
"data": {
"diesel": {
"national_average": 3.847,
"change_week": -0.023,
"change_percent": -0.6,
"regions": {
"east_coast": 3.912,
"midwest": 3.756,
"gulf_coast": 3.623,
"rocky_mountain": 3.891,
"west_coast": 4.456,
"california": 4.892
},
"historical": {
"30d_avg": 3.82,
"90d_avg": 3.75,
"yoy_change_percent": -8.2
}
},
"gasoline": {
"national_average": 3.156,
"historical": {
"30d_avg": 3.1,
"90d_avg": 3.05,
"yoy_change_percent": 1.1
}
}
}
}
}

This response provides a wealth of information, including national averages for diesel and gasoline prices, regional breakdowns, and historical averages, all of which are essential for making informed billing decisions.


Core Endpoints

1. GET /fuel-prices

This endpoint retrieves national diesel and gasoline prices along with a breakdown by PADD regions. It provides weekly changes and historical averages, which are crucial for calculating fuel surcharges.

Key Parameters: None required.

curl -H "X-API-Key: YOUR_API_KEY" "https://freightpulsehq.com/api/v1/fuel-prices"

Sample JSON Response:

{
"success": true,
"data": {
"timestamp": "2026-07-30T12:00:00Z",
"source": "EIA (U.S. Energy Information Administration)",
"currency": "USD",
"unit": "gallon",
"data": {
"diesel": {
"national_average": 3.847,
"change_week": -0.023,
"change_percent": -0.6,
"regions": {
"east_coast": 3.912,
"midwest": 3.756,
"gulf_coast": 3.623,
"rocky_mountain": 3.891,
"west_coast": 4.456,
"california": 4.892
},
"historical": {
"30d_avg": 3.82,
"90d_avg": 3.75,
"yoy_change_percent": -8.2
}
},
"gasoline": {
"national_average": 3.156,
"historical": {
"30d_avg": 3.1,
"90d_avg": 3.05,
"yoy_change_percent": 1.1
}
}
}
}
}

Field Explanation: The "national_average" field provides the average price of diesel or gasoline across the country, while "regions" gives a breakdown by specific areas, allowing operators to adjust their billing based on regional fuel costs.


2. GET /freight-rates

This endpoint provides live FTL truckload quotes for US lanes, enabling logistics operators to obtain real-time pricing information for their shipments.

Key Parameters: mode (trucking, ocean, air), origin_zip, destination_zip (required for trucking).

curl -H "X-API-Key: YOUR_API_KEY" "https://freightpulsehq.com/api/v1/freight-rates?mode=trucking&origin_zip=10001&destination_zip=90210"

Sample JSON Response:

{
"success": true,
"data": {
"mode": "trucking",
"service": "FTL (53' dry van)",
"source": "Warp",
"price_usd": 7207.92,
"transit_days": 4,
"pickup_date": "2026-08-24",
"delivery_date": "2026-08-28"
}
}

Field Explanation: The "price_usd" field indicates the cost of shipping, while "transit_days" provides an estimate of how long the shipment will take. This information is vital for logistics operators to provide accurate quotes to their customers.


3. GET /port-congestion

This endpoint retrieves port activity data, allowing users to assess congestion levels at various ports based on historical averages.

Key Parameters: port (name or LOCODE), country, region; congestion (optional filter).

curl -H "X-API-Key: YOUR_API_KEY" "https://freightpulsehq.com/api/v1/port-congestion?port=USLAX"

Sample JSON Response:

{
"success": true,
"data": {
"results": [
{
"port": "Los Angeles-Long Beach",
"locode": "US LAX",
"country": "United States",
"congestion": "moderate",
"as_of": "2026-08-14",
"metrics": {
"recent_avg_portcalls_per_day": 8.7,
"baseline_avg_portcalls_per_day": 10.2,
"ratio_vs_baseline": 0.85
}
}
]
}
}

Field Explanation: The "congestion" field indicates the current congestion level at the port, while "recent_avg_portcalls_per_day" provides insights into port activity compared to historical averages. This data is essential for planning shipments and avoiding delays.


Real-World Use Cases

FreightPulse's API capabilities can be leveraged in various practical applications:


FAQ

How often do FreightPulse fuel prices update?

Fuel prices are updated weekly, providing users with the most current data available for accurate billing and operational planning.

Can I look up ocean carriers as well as trucking carriers?

Yes, FreightPulse allows users to look up both ocean carriers and trucking carriers through the /carriers endpoint, providing comprehensive carrier verification options.

Does the port congestion data reflect real-time vessel wait times?

No, the port congestion data is based on a 7-day average and is not real-time. It provides a lagged approximation of port activity compared to a 90-day baseline.

What types of disruptions can I monitor with FreightPulse?

FreightPulse provides alerts for natural hazards such as cyclones, earthquakes, floods, and severe weather conditions, helping operators manage risks effectively.

Is there a limit to the number of requests I can make to the API?

FreightPulse allows users to make a certain number of requests per day, which varies based on the access level. This ensures fair usage and optimal performance for all users.


Conclusion

In conclusion, FreightPulse is revolutionizing the way logistics operators manage visibility and accountability in freight billing. By consolidating critical data points into a single API, FreightPulse empowers users to make informed decisions, optimize their supply chain processes, and ultimately drive down costs. The ability to access real-time fuel prices, freight rates, port congestion data, and disruption alerts from one source is a game-changer for the logistics industry.

For developers and logistics operators looking to enhance their operations, FreightPulse offers the fastest path from zero to production logistics data. Start exploring the API today and see how it can transform your logistics operations. Try FreightPulse for free and unlock the potential of real-time logistics intelligence.