FreightCake
API Reference

Quotes

API reference for requesting and retrieving freight rate quotes.

Create Quotes

POST /v1/quotes

Request multi-carrier rate quotes for a shipment.

Request Body

FieldTypeRequiredDescription
origin.citystringYesOrigin city
origin.statestringYes2-letter state code
origin.zipstringYesZIP code (5-10 chars)
origin.companystringNoCompany name
origin.contactstringNoContact name
destination.citystringYesDestination city
destination.statestringYes2-letter state code
destination.zipstringYesZIP code (5-10 chars)
destination.companystringNoCompany name
destination.contactstringNoContact name
items[].weightnumberYesWeight in lbs
items[].freight_classstringYesNMFC freight class
items[].lengthnumberNoLength in inches
items[].widthnumberNoWidth in inches
items[].heightnumberNoHeight in inches
accessorials.origin_liftgatebooleanNoLiftgate at pickup
accessorials.destination_liftgatebooleanNoLiftgate at delivery
accessorials.inside_pickupbooleanNoInside pickup service
accessorials.inside_deliverybooleanNoInside delivery service
accessorials.residential_pickupbooleanNoResidential pickup
accessorials.residential_deliverybooleanNoResidential delivery
accessorials.delivery_appointmentbooleanNoAppointment delivery
accessorials.notify_before_deliverybooleanNoCall before delivery
accessorials.sort_and_segregatebooleanNoSort & segregate
accessorials.hazmatbooleanNoHazardous materials
customer_idnumberNoCustomer ID to associate

Example

curl -X POST https://api.freightcake.com/api/v1/quotes \
  -H "Authorization: Bearer fk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": { "city": "Chicago", "state": "IL", "zip": "60601" },
    "destination": { "city": "Atlanta", "state": "GA", "zip": "30301" },
    "items": [{ "weight": 1000, "freight_class": "85", "length": 48, "width": 40, "height": 48 }],
    "accessorials": { "destination_liftgate": true }
  }'

Response

Returns a list of quote objects. All quotes share a quote_group_id.

{
  "object": "list",
  "url": "/v1/quotes",
  "data": [
    {
      "object": "quote",
      "id": 1,
      "carrier_name": "Sandbox Freight Co",
      "service_level": "Standard LTL",
      "quote_number": "SBX-001",
      "net_charge_cents": 35000,
      "delivery_estimate": "3-5 business days",
      "origin": { "city": "Chicago", "state": "IL", "zip": "60601" },
      "destination": { "city": "Atlanta", "state": "GA", "zip": "30301" },
      "quote_group_id": "uuid-here",
      "expires_at": "2025-07-06T00:00:00.000Z",
      "created_at": "2025-07-01T00:00:00.000Z"
    }
  ],
  "has_more": false
}

List Quotes

GET /v1/quotes

Query Parameters

ParamTypeDescription
limitnumberMax results (1-100, default 25)
starting_afterstringCursor for forward pagination
ending_beforestringCursor for backward pagination

Retrieve Quote

GET /v1/quotes/:id

Returns a single quote by ID.


Retrieve Quote Group

GET /v1/quotes/group/:groupId

Returns all quotes from a single rate request, sorted by price.

On this page