FreightWaves Scraper
Extract freight market analytics, trucking spot rates, supply chain news, and carrier performance benchmarks from FreightWaves. Powered by spider-browser .
Extract data in minutes
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.freightwaves.com/news");
await page.content();
const data = await page.evaluate(`(() => {
const articles = [];
document.querySelectorAll(".post-card, article.entry").forEach(el => {
const title = el.querySelector("h2 a, .entry-title a")?.textContent?.trim();
const author = el.querySelector(".author-name, .entry-author")?.textContent?.trim();
const date = el.querySelector(".post-date, .entry-date")?.textContent?.trim();
const summary = el.querySelector("p, .excerpt")?.textContent?.trim();
const link = el.querySelector("h2 a, .entry-title a")?.href;
if (title) articles.push({ title, author, date, summary, link });
});
return JSON.stringify({ total: articles.length, articles: articles.slice(0, 15) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Structured data endpoint
Extract structured JSON from freightwaves.com with a single POST request. AI-configured selectors, cached for fast repeat calls.
/fetch/freightwaves.com/ curl -X POST https://api.spider.cloud/fetch/freightwaves.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/freightwaves.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/freightwaves.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); Data you can extract
Tracking extraction
Extract shipment status, delivery estimates, and tracking details from freightwaves.com.
Dynamic tracking
Handle real-time tracking maps and status update interfaces.
Bulk tracking
Process thousands of tracking numbers and shipment records concurrently.
More Logistics & Shipping scrapers
Extract package tracking statuses, delivery estimates, service rate comparisons, and drop-off location data from UPS.
Extract shipment tracking details, transit timelines, rate quotes, and service center locations from FedEx.
Extract mail tracking updates, postage rate calculators, ZIP code lookups, and post office location details from USPS.
Start scraping freightwaves.com
Get your API key and start extracting data in minutes.