DAT Freight Rates Scraper
Pricing
from $18.75 / 1,000 result items
DAT Freight Rates Scraper
Scrape DAT Trendlines freight data: national spot and contract rates, state load-to-truck ratios, week/month/year-over-year trends, and fuel prices. Built for freight brokers and dispatchers.
Pricing
from $18.75 / 1,000 result items
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
10
Total users
3
Monthly active users
3 days ago
Last modified
Categories
Share

๐ DAT Freight Rates Scraper
๐ Pull live US and Canadian freight market rates in seconds. Filter by equipment, rate type, country, and time bucket. No API key, no registration, no manual CSV wrangling.
| Pull structured records from DAT Freight Rates โ clean fields ready as CSV, JSON, JSONL, Excel, or XML for downstream pipelines. |
Copy to your AI assistant
Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.
parseforge/dat-freight-rates-scraper on Apify. Call: ApifyClient("TOKEN").actor("parseforge/dat-freight-rates-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items for results. Key inputs: maxItems (integer, default 10), datasets (array, default ["national_history", "load_truck_ratio", "national_trends", ), equipments (array, default ["VAN", "FLATBED", "REEFER"]), rateTypes (array, default ["SHIPPER_TO_BROKER_SPOT", "BROKER_TO_CARRIER_SPOT", "CONTRA), countries (array, default ["US", "CA"]), periodTypes (array, default ["Month", "Week"]). Full actor spec: fetch build via GET https://api.apify.com/v2/acts/parseforge~dat-freight-rates-scraper (Bearer TOKEN). Get token: https://console.apify.com/account/integrations
DAT Freight & Analytics runs the largest load board in North America, and the Trendlines pages it publishes are the closest thing the trucking industry has to a public price index. This scraper turns those pages into a flat Apify dataset. Every run captures the national rate history (spot and contract, weekly and monthly, going back roughly three years), the load-to-truck ratio for every US state and Canadian province, the week, month, and year-over-year percentage moves, and the current national diesel reference price. The output is one row per data point, which is the shape spreadsheets, Postgres, and pandas already speak.
Freight brokers, dispatchers, and 3PL pricing teams check DAT daily to figure out what a lane should pay. When the dashboard hangs or the iQ subscription is between renewals, the only fallback is calling carriers one by one. This actor gives you a programmatic version of the public Trendlines view, so quotes go out backed by current numbers and contract negotiations cite the same baseline both sides reference. Pair it with a scheduled Apify run and you have a daily rate sheet feeding your CRM, BI tool, or rate sheet, with zero scraping plumbing to maintain.
| ๐ฏ Target audience | ๐ก Primary use cases |
|---|---|
| Freight brokers and dispatcher teams | Daily lane-context rate checks for shipper quotes |
| Owner-operator carriers | Verify carrier pay against published spot rates |
| 3PL pricing and procurement teams | Build a market-truth baseline for RFP responses |
| Logistics software vendors | Power rate widgets without paying a market data subscription |
| Supply chain analysts and researchers | Track freight cycle indicators alongside fuel and demand |
| Shippers verifying invoices | Spot underbid lanes and overcharged contracts |
๐ What the DAT Freight Rates Scraper does
- ๐ก National rate history. Monthly buckets back ~3 years and weekly buckets back ~1 year, with the average rate per mile in USD plus the average fuel surcharge per trip.
- ๐ Load-to-truck ratio per state. One row per US state and Canadian province for van, flatbed, and reefer, with the load count, truck count, and computed ratio.
- ๐ Trend percentages. Week, month, and year-over-year change for spot rate, load-to-truck ratio, load postings, truck postings, and fuel.
- โฝ National diesel price. The reference price per gallon DAT publishes alongside the rates.
- ๐๏ธ Smart filters. Restrict by equipment (van, flatbed, reefer, intermodal), rate type (spot shipper-to-broker, spot broker-to-carrier, contract), country (US, CA), period type (month, week), or state code.
- ๐งพ One flat row per data point. Every dataset writes to the same shape, so SQL joins and pandas pivots are trivial.
Every record carries its source URL on dat.com, the dataset tag, every relevant filter (equipment, rate type, country, state, period), the numeric values, and a precise scrape timestamp. The schema is stable, so daily appends stitch into a clean longitudinal store.
๐ก Why it matters: A broker who avoids one underquoted load per week saves hundreds of dollars in margin. Owning a current rate feed instead of refreshing a vendor dashboard ten times an hour pays for itself within the first month.
๐ Data fields
Each record includes: asOfDate, country, dataset, equipment, fuelPricePerGallonUsd, fuelSurchargePerTripUsd, loadCount, loadToTruckRatio, metric, month, monthOverMonthPct, periodStart, periodType, rateType, rateUsd, recordId, scrapedAt, sourceUrl, stateCode, truckCount, weekOverWeekPct, year, yearOverYearPct. These field names come straight from the actor's dataset schema, so what you see here is what lands in your dataset.
โ ๏ธ Good to Know: This actor pulls from the public Trendlines API that powers dat.com/trendlines. The numbers are the same ones DAT publishes to the general public. Lane-level rates (specific origin-destination city pairs) are gated behind DAT's paid iQ subscription and are not part of this scraper's scope.
๐ How to use
- ๐ Sign up for Apify. Create a free account at console.apify.com/sign-up?fpr=vmoqkp.
- ๐๏ธ Pick your datasets. Leave the defaults to grab everything, or narrow to just
national_historyfor a pure time-series pull. - ๐ Set your filters. Choose equipment, rate type, country, period granularity, and optional state codes.
- โถ๏ธ Run. Click Start and watch the dataset fill.
- ๐ค Export. Pull JSON, CSV, or XLSX, or wire the dataset into Make, Zapier, BigQuery, Postgres, or your own webhook.
โฑ๏ธ Total time: Under two minutes from sign-up to first dataset row.
๐ Recommended Actors
- ๐ฐ Freightwaves Scraper - freight news, analytics, and SONAR commentary alongside this rate feed.
- ๐ก๏ธ FMCSA Carrier Safety Scraper - safety ratings and inspection history for carriers you are about to dispatch.
- ๐ฆ UPS Package Tracking Scraper - parcel-side visibility to complement truckload rates.
- ๐ FedEx Package Tracking Scraper - second parcel network for end-to-end shipment dashboards.
- ๐ FRED Economic Data Scraper - macro indicators (fuel CPI, freight indices, GDP) to contextualise the freight cycle.
๐ก Pro Tip: browse the complete ParseForge collection for more logistics, freight, and market-data actors.
โ ๏ธ Disclaimer: This actor extracts publicly available freight market data from the DAT Trendlines pages for informational purposes only. None of the data returned constitutes pricing or financial advice. You are responsible for ensuring your use complies with DAT's terms of service and any obligations that apply in your jurisdiction, especially when redistributing data.
๐ Need Help?
If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our contact form or write to parseforge@protonmail.com. We also take on paid custom data projects.
For faster answers, join our Discord. It's the best place to get support and suggest new actors.