ShipEngine Rate Shoppers API

Manage rate shoppers. Rate shoppers define carrier service collections and rules for automatic rate selection when purchasing labels. Includes both default strategies (cheapest, fastest, best_value) and custom seller-configured rate shoppers.

GitHub OpenAPI

Operations 2

GET /v1/rate_shoppers List rate shoppers #
GET /v1/rate_shoppers/{rate_shopper_id} Get rate shopper by ID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shipengine:shipengine-rate-shoppers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shipengine-rate-shoppers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shipengine Rate Shoppers API
  version: 1.1.202604070904
  contact:
    name: ShipEngine Sales & Support
    email: sales@shipengine.com
    url: https://www.shipengine.com/contact/
    x-phone: 1-512-856-5379
  license:
    name: Proprietary
    url: https://www.shipengine.com/terms-of-service/
  termsOfService: https://www.shipengine.com/terms-of-service/
  x-logo:
    url: https://shipengine.github.io/img/shipengine-logo-square.png
    backgroundColor: '#FFFFFF'
    altText: ShipEngine logo
  description: 'Operations tagged rate_shoppers across 2 of this provider''s published API definitions: shipengine-openapi-docs-bundle.yaml, shipengine-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.shipengine.com
security:
- api_key: []
tags:
- name: rate_shoppers
  description: Manage rate shoppers. Rate shoppers define carrier service collections and rules for automatic rate selection when purchasing labels. Includes both default strategies (cheapest, fastest, best_value) and custom seller-configured rate shoppers.
  x-displayName: Rate Shoppers
paths:
  /v1/rate_shoppers:
    summary: Rate Shoppers
    description: 'Manage rate shoppers. Rate shoppers define a set of carrier services

      and rules used to automatically select the best rate when purchasing labels.

      This includes both default rate shoppers (cheapest, fastest, best_value)

      and custom rate shoppers configured by the seller.

      '
    get:
      summary: List rate shoppers
      description: 'Retrieve rate shoppers for the authenticated seller. By default this

        returns both the default rate shoppers (cheapest, fastest, best_value)

        and any custom rate shoppers. Use the `type` parameter to filter.'
      tags:
      - rate_shoppers
      operationId: list_rate_shoppers
      parameters:
      - name: type
        in: query
        required: false
        schema:
          type: string
          enum:
          - custom
        description: 'Filter rate shoppers by type. When set to `custom`, only

          seller-created rate shoppers are returned (excludes defaults).

          When omitted, both default and custom rate shoppers are returned.

          '
      - name: sort_by
        in: query
        required: false
        schema:
          type: string
          enum:
          - name
          - created_at
          default: name
        description: 'Field to sort results by. Sorting only applies to custom rate

          shoppers; default rate shoppers are always listed first.

          '
      - name: sort_dir
        in: query
        required: false
        schema:
          type: string
          enum:
          - asc
          - desc
          default: asc
        description: Sort direction.
      responses:
        '200':
          description: The request was a success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rate_shopper_list_response_body'
        '400':
          $ref: '#/components/responses/400_error_response'
        '500':
          $ref: '#/components/responses/500_error_response'
    servers:
    - url: https://api.shipengine.com
  /v1/rate_shoppers/{rate_shopper_id}:
    summary: Rate Shopper
    description: Get an individual rate shopper by ID or strategy name.
    parameters:
    - name: rate_shopper_id
      in: path
      required: true
      schema:
        type: string
      description: 'The rate shopper identifier. Can be one of:


        **Default rate shoppers (strategy name):**

        - `cheapest`: Lowest cost option

        - `fastest`: Fastest option at the lowest price

        - `best_value`: Lowest cost option arriving within 4 days


        **Custom rate shoppers:**

        A UUID (e.g., `f47ac10b-58cc-4372-a567-0e02b2c3d479`) identifying

        a seller-created rate shopper.

        '
      examples:
        default_strategy:
          value: cheapest
          summary: Default rate shopper using the cheapest strategy
        custom_uuid:
          value: f47ac10b-58cc-4372-a567-0e02b2c3d479
          summary: Custom rate shopper by UUID
    get:
      summary: Get rate shopper by ID
      description: 'Retrieve a single rate shopper by its identifier. Accepts both

        default strategy names (`cheapest`, `fastest`, `best_value`) and

        custom rate shopper UUIDs.'
      tags:
      - rate_shoppers
      operationId: get_rate_shopper_by_id
      responses:
        '200':
          description: The request was a success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rate_shopper_response'
        '404':
          $ref: '#/components/responses/404_error_response'
        '500':
          $ref: '#/components/responses/500_error_response'
    servers:
    - url: https://api.shipengine.com
components:
  schemas:
    error_code:
      title: error_code
      type: string
      example: invalid_field_value
      enum:
      - auto_fund_not_supported
      - batch_cannot_be_modified
      - bring_your_own_label_not_supported
      - 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
      - multiple_sales_orders
      - order_source_not_active
      - rate_limit_exceeded
      - refresh_not_supported
      - request_body_required
      - return_label_not_supported
      - sales_order_link_required
      - 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
      - funding_source_registration_in_progress
      - insurance_failure
      - funding_source_missing_configuration
      - funding_source_error
      - freight_connection_inactive
      - freight_provider_id_required
      - freight_provider_already_connected
      - freight_shipment_not_found
      - freight_tracking_not_available
      - freight_tracking_not_found
      - freight_shipment_not_batchable
      description: The error code specified for the failed API Call
    error_response_body:
      title: error_response_body
      type: object
      description: An error response body
      required:
      - request_id
      - errors
      additionalProperties: false
      properties:
        request_id:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: 'A UUID that uniquely identifies the request id.

            This can be given to the support team to help debug non-trivial issues that may occur

            '
        errors:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/error'
          description: The errors associated with the failed API call
    rate_shopper_transit_time:
      title: rate_shopper_transit_time
      type: object
      description: Transit time constraints for rate selection.
      additionalProperties: false
      properties:
        max_days:
          type:
          - integer
          - 'null'
          description: Maximum transit days for domestic shipments.
          example: 5
        max_days_international:
          type:
          - integer
          - 'null'
          description: Maximum transit days for international shipments.
          example: 14
        use_deliver_by_date:
          type: boolean
          description: Whether to use the order's deliver-by date for filtering.
          example: false
    rate_shopper_service_preference:
      title: rate_shopper_service_preference
      type: object
      description: Preferred service and price tolerance settings.
      additionalProperties: false
      properties:
        service:
          $ref: '#/components/schemas/rate_shopper_service'
        price_tolerance:
          $ref: '#/components/schemas/rate_shopper_price_tolerance'
    rate_shopper_service:
      title: rate_shopper_service
      type: object
      description: A carrier service entry in a rate shopper.
      additionalProperties: false
      required:
      - service_code
      - carrier_id
      properties:
        service_code:
          type: string
          description: The carrier service code.
          example: usps_priority_mail
        carrier_id:
          type: string
          description: The carrier account ID (prefixed with `se-`).
          example: se-28529731
    rate_shopper_list_response_body:
      title: rate_shopper_list_response_body
      type: object
      description: A list of rate shoppers (both default and custom) for the authenticated seller.
      additionalProperties: false
      required:
      - rate_shoppers
      properties:
        rate_shoppers:
          type: array
          description: The list of rate shoppers. Default rate shoppers appear first, followed by custom ones.
          items:
            $ref: '#/components/schemas/rate_shopper_response'
    uuid:
      title: uuid
      type: string
      format: uuid
      minLength: 36
      maxLength: 36
      pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
      example: aa3d8e8e-462b-4476-9618-72db7f7b7009
      description: A UUID (a.k.a. GUID) that uniquely identifies a resource
    error_type:
      title: error_type
      type: string
      example: validation
      enum:
      - account_status
      - business_rules
      - validation
      - security
      - system
      - integrations
      - funding_sources
      description: 'The type of error

        '
    se_id:
      title: se_id
      type: string
      minLength: 1
      maxLength: 25
      pattern: ^se(-[a-z0-9]+)+$
      example: se-28529731
      description: A string that uniquely identifies a ShipEngine resource, such as a carrier, label, shipment, etc.
    error:
      title: error
      type: object
      description: 'The error structure that gets returned with almost all failed API calls

        '
      required:
      - error_source
      - error_type
      - error_code
      - message
      additionalProperties: false
      properties:
        error_source:
          $ref: '#/components/schemas/error_source'
        error_type:
          $ref: '#/components/schemas/error_type'
        error_code:
          $ref: '#/components/schemas/error_code'
        message:
          type: string
          readOnly: true
          example: Body of request cannot be null.
          minLength: 1
          description: An error message associated with the failed API call
        carrier_id:
          readOnly: true
          allOf:
          - $ref: '#/components/schemas/se_id'
          description: A string that uniquely identifies the carrier that generated the error.
        carrier_code:
          readOnly: true
          allOf:
          - $ref: '#/components/schemas/carrier_code'
          description: 'The name of the shipping carrier that generated the error, such as `fedex`, `dhl_express`, `stamps_com`, etc.

            '
        field_name:
          type: string
          readOnly: true
          example: shipment.ship_to.phone_number
          description: The name of the field that caused the error
    carrier_code:
      title: carrier_code
      type: string
      pattern: ^[a-z0-9]+(_[a-z0-9]+)*$
      example: dhl_express
      description: 'A shipping carrier, such as `fedex`, `dhl_express`, `stamps_com`, etc.

        '
    rate_shopper_price_tolerance:
      title: rate_shopper_price_tolerance
      type: object
      description: Price tolerance thresholds for the preferred service.
      additionalProperties: false
      required:
      - amount
      - percentage
      properties:
        amount:
          type: number
          format: decimal
          description: Maximum absolute price difference allowed.
          example: 2.5
        percentage:
          type: number
          format: decimal
          description: Maximum percentage price difference allowed.
          example: 10
    error_source:
      title: error_source
      type: string
      example: shipengine
      enum:
      - carrier
      - order_source
      - shipengine
      description: '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.

        '
    rate_shopper_response:
      title: rate_shopper_response
      type: object
      description: 'A rate shopper configuration. Can be a default rate shopper (cheapest,

        fastest, best_value) or a seller-created custom rate shopper.

        '
      additionalProperties: false
      required:
      - rate_shopper_id
      - name
      - services
      - is_active
      - created_at
      - updated_at
      properties:
        rate_shopper_id:
          type: string
          description: 'Identifier for the rate shopper. For default rate shoppers this is

            a strategy name (`cheapest`, `fastest`, `best_value`). For custom

            rate shoppers this is a UUID.

            '
          example: cheapest
        name:
          type: string
          description: Display name of the rate shopper.
          example: Cheapest
        services:
          type: array
          description: The carrier services included in this rate shopper.
          items:
            $ref: '#/components/schemas/rate_shopper_service'
        transit_time:
          $ref: '#/components/schemas/rate_shopper_transit_time'
        service_preference:
          $ref: '#/components/schemas/rate_shopper_service_preference'
        is_active:
          type: boolean
          description: Whether the rate shopper is currently active.
          example: true
        created_at:
          type: string
          format: date-time
          description: Timestamp when the rate shopper was created.
          example: '2025-01-15T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          description: Timestamp when the rate shopper was last updated.
          example: '2025-03-20T14:45:00Z'
  responses:
    400_error_response:
      description: The request contained errors.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error_response_body'
    404_error_response:
      description: The specified resource does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error_response_body'
    500_error_response:
      description: 'An error occurred on ShipStation API''s side.


        > This error will automatically be reported to our engineers.

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error_response_body'
  securitySchemes:
    api_key:
      type: apiKey
      name: API-Key
      in: header
      description: 'To authenticate yourself to ShipEngine, you need to include an `API-Key` header in each API call. If you don''t include a key when making an API request, or if you use an incorrect or expired key, then ShipEngine will respond with a `401 Unauthorized` error.

        Learn more about API keys in our [authentication guide](https://docs.shipstation.com/apis/shipengine/docs/guides/auth).

        '
x-refined-from:
- shipengine-openapi-docs-bundle.yaml
- shipengine-openapi.yml