---
title: "Get Bulk Rates"
method: POST
path: "/v1/rates/bulk"
tags: ["rates"]
---

# Get Bulk Rates

`POST /v1/rates/bulk`

Get Bulk Shipment Rates

## Request body

- CompareBulkRatesRequestBody
  - `rate_options` RateRequestBody — A rate request body
    - `carrier_ids` SeId[], required — Array of carrier ids to get rates for
    - `package_types` string[]
    - `service_codes` string[]
    - `calculate_tax_amount` boolean — Calculate the duties and tariffs for cross border shipments.
    - `preferred_currency` string — The currencies that are supported by ShipEngine are the ones that specified by ISO 4217: https://www.iso.org/iso-4217-currency-codes.html
    - `is_return` boolean — Indicate if it's a return shipment
    - `rate_type` 'check' | 'shipment' | 'quick' — Indicates what type of rating to perform

## Response `200`

The request was a success.

- BulkRate[] — A bulk rate response body
  - `rate_request_id` string, required — A string that uniquely identifies a ShipEngine resource, such as a carrier, label, shipment, etc.
  - `shipment_id` string, required — A string that uniquely identifies a ShipEngine resource, such as a carrier, label, shipment, etc.
  - `created_at` string, date-time, required — An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) string that represents a date and time.
  - `status` 'working' | 'completed' | 'partial' | 'error', required — The possible rate response status values
  - `errors` Error[], required — An array of errors that were returned while retrieving the bulk rate
    - `error_source` 'carrier' | 'order_source' | 'shipengine', required — The source of the error, as indicated by the name this informs us if the API call failed because of the carrier, the order source, or the ShipEngine API itself.
    - `error_type` 'account_status' | 'business_rules' | 'validation' | 'security' | 'system' | 'integrations', required — The type of error
    - `error_code` 'auto_fund_not_supported' | 'batch_cannot_be_modified' | 'carrier_conflict' | 'carrier_disconnected' | 'carrier_not_connected' | 'carrier_not_supported' | 'confirmation_not_supported' | 'default_warehouse_cannot_be_deleted' | 'field_conflict' | 'field_value_required' | 'forbidden' | 'identifier_conflict' | 'identifiers_must_match' | 'insufficient_funds' | 'invalid_address' | 'invalid_billing_plan' | 'invalid_field_value' | 'invalid_identifier' | 'invalid_status' | 'invalid_string_length' | 'label_images_not_supported' | 'meter_failure' | 'order_source_not_active' | 'rate_limit_exceeded' | 'refresh_not_supported' | 'request_body_required' | 'return_label_not_supported' | 'settings_not_supported' | 'subscription_inactive' | 'terms_not_accepted' | 'tracking_not_supported' | 'trial_expired' | 'unauthorized' | 'unknown' | 'unspecified' | 'verification_failure' | 'warehouse_conflict' | 'webhook_event_type_conflict' | 'customs_items_required' | 'incompatible_paired_labels' | 'invalid_charge_event' | 'invalid_object' | 'no_rates_returned' | 'file_not_found' | 'shipping_rule_not_found' | 'service_not_determined' | 'no_rates_returned' | 'funding_source_registration_in_progress' | 'insurance_failure' | 'funding_source_missing_configuration' | 'funding_source_error', required — The error code specified for the failed API Call
    - `message` string, required — An error message associated with the failed API call
    - `carrier_id` string — A string that uniquely identifies a ShipEngine resource, such as a carrier, label, shipment, etc.
    - `carrier_code` string — A [shipping carrier](https://www.shipengine.com/docs/carriers/setup/), such as `fedex`, `dhl_express`, `stamps_com`, etc.
    - `field_name` string — The name of the field that caused the error

## Other responses

- `400` — The request contained errors.
- `500` — An error occurred on ShipEngine's side. > This error will automatically be reported to our engineers.

---

[API](https://skmtc.net/shipengine/apis/shipengine-api.md) · [All operations](https://skmtc.net/shipengine/apis/shipengine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipengine/shipengine-api/versions/6af91511d87e/schema)
