FreightCake
API Reference

Quotes

API reference for requesting and retrieving freight rate quotes.

Create Quotes

POST /api/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[].lengthnumberYesLength in inches
items[].widthnumberYesWidth in inches
items[].heightnumberYesHeight 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_REPLACE_WITH_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": "/api/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": "8f6e5c4a-3b2d-41e0-9f87-6a5b4c3d2e10",
      "expires_at": "2026-07-06T00:00:00.000Z",
      "created_at": "2026-07-01T00:00:00.000Z"
    }
  ],
  "has_more": false,
  "quote_group_id": "8f6e5c4a-3b2d-41e0-9f87-6a5b4c3d2e10"
}

List Quotes

GET /api/v1/quotes

Return active quotes for the API key's organization and mode.

Query Parameters

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

Retrieve Quote

GET /api/v1/quotes/:id

Returns a single quote by ID.


Retrieve Quote Group

GET /api/v1/quotes/group/:groupId

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

Errors

StatusWhen
400A location, item, dimension, or freight class is invalid
404The quote or quote group does not exist in the API key's organization or mode
422No enabled carrier can rate the requested shipment

See Handle API Errors for the common error envelope and retry guidance.

On this page