Developer Reference

ABF Freight Locations

Service coverage by ZIP code, carrier info, transit add-on days, daily pickup/delivery schedules for ABF Freight.

GET /api/abf-location?zip=:zip&city=:city

ABF Location by ZIP Code

Look up ABF Freight service coverage for a US ZIP code. Returns station info, service type, daily schedule, and transit add-on days.

Query Parameters

Parameter Type Description
zip required string 5-digit US ZIP code
city optional string City name to disambiguate multi-city ZIPs

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
zip string The queried ZIP code
status string served | multi_city | not_served
location object Location with station details (when status=served)
cities array Array of candidate cities (when status=multi_city)
message string Human-readable status message

Code Examples

curl "https://freightapis.dev/api/abf-location?zip=00501" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"

Search ABF Freight locations by city or state. Returns paginated results matching the query. Requires a Starter or higher plan.

Starter+ required

Query Parameters

Parameter Type Description
q required string Search query (minimum 2 characters). Matches city and state.
page optional integer Page number for pagination (default: 1)

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
query string The search query used
locations array Matching ABF location objects
total integer Total number of matching results
currentPage integer Current page number
totalPages integer Total number of pages

Code Examples

curl "https://freightapis.dev/api/abf-location/search?q=miami" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"
GET /api/abf-location/station/:num

Station Lookup

Retrieve all ZIP code locations served by a specific ABF Freight station number.

URL Parameters

Parameter Type Description
num required string ABF station number
page optional integer Page number for pagination (default: 1)

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
stationNumber string The queried station number
locations array Array of ABF location objects served by this station
total integer Total number of locations served
currentPage integer Current page number
totalPages integer Total number of pages

Code Examples

curl "https://freightapis.dev/api/abf-location/station/219" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"
POST /api/abf-location/batch

Batch ZIP Lookup

Look up ABF Freight coverage for multiple ZIP codes in a single request.

Request Body

Parameter Type Description
zips required string[] Array of 5-digit ZIP codes. Max 20 for Pro, 50 for Enterprise.

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
results object Map of ZIP to {status, location}
summary object {served, multi_city, not_served, total}

Code Examples

curl -X POST "https://freightapis.dev/api/abf-location/batch" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"zips": ["00501", "00907", "90001"]}'
GET /api/abf-location/coverage?state=:state

State Coverage

Retrieve ABF Freight service coverage statistics for a US state.

Query Parameters

Parameter Type Description
state required string 2-letter US state code (e.g., TX)

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
state string The queried state code
totalLocations integer Total number of served locations in the state
serviceBreakdown object {Direct, DirectViaMarketingPartner, Connect}
unservedZips integer Number of ZIP codes in the state with no ABF service

Code Examples

curl "https://freightapis.dev/api/abf-location/coverage?state=TX" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"
GET /api/abf-location/service-days?zip=:zip

Service Days

Retrieve the pickup and delivery schedule for a specific ZIP code. Requires a Starter or higher plan.

Starter+ required

Query Parameters

Parameter Type Description
zip required string 5-digit US ZIP code
city optional string City name to disambiguate multi-city ZIPs

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
zip string The queried ZIP code
city string City name for this location
state string 2-letter state code
schedule object 7-day pickup/delivery schedule keyed by day name
nextPickupDay string Next available pickup day
nextDeliveryDay string Next available delivery day

Code Examples

curl "https://freightapis.dev/api/abf-location/service-days?zip=47524" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"
GET /api/abf-location/transit-info?origin_zip=:zip&dest_zip=:zip

Transit Info

Retrieve transit add-on day information between an origin and destination ZIP code pair. Requires a Starter or higher plan.

Starter+ required

Query Parameters

Parameter Type Description
origin_zip required string 5-digit origin ZIP code
dest_zip required string 5-digit destination ZIP code

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
origin object Origin location details with station info
destination object Destination location details with station info
totalAddOnDays integer | null Sum of inbound and outbound add-on days, or null if either ZIP is unserved
bothServed boolean Whether both origin and destination are served by ABF

Code Examples

curl "https://freightapis.dev/api/abf-location/transit-info?origin_zip=00501&dest_zip=87012" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"
GET /api/abf-location/carriers?zip=:zip

Carrier Info

Retrieve carrier and service type details for a ZIP code, including SCAC code, service classification, and add-on day counts.

Query Parameters

Parameter Type Description
zip required string 5-digit US ZIP code
city optional string City name to disambiguate multi-city ZIPs

Response Fields

Field Type Description
success boolean Indicates whether the request succeeded
zip string The queried ZIP code
city string City name for this location
state string 2-letter state code
serviceType string ABF service type (e.g., Direct, Connect)
carrier object {scac, isDirect, isPartner, isConnect}
addOnDays object {inbound, outbound}
stationNumber string Serving ABF station number

Code Examples

curl "https://freightapis.dev/api/abf-location/carriers?zip=87012" \
  -H "Authorization: Bearer nmfc_live_xxxxxxxxxxxxxxxxxxxx"