> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goshippo.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Shippo is a multi-carrier shipping API. For agent integrations that execute shipping operations (rates, labels, tracking, address validation, customs), connect the hosted Shippo MCP server at https://mcp.shippo.com (per-user OAuth; setup at /guides/mcp-server). To search and read this documentation from an agent, a docs search MCP is available at https://docs.goshippo.com/mcp. Shipping workflow knowledge (agent skills and a knowledge pack) is published at https://github.com/goshippo/ai. For REST integrations start at /guides/api-quickstart; test mode uses shippo_test_ API keys.

# Create Estimates



## OpenAPI

````yaml /api-reference/estimateapi/openapi.yaml post /v2/estimates
openapi: 3.1.0
info:
  title: Estimates API
  version: 0.1.0
servers:
  - url: https://api.goshippo.com
security:
  - Shippo_Token: []
paths:
  /v2/estimates:
    post:
      tags:
        - Estimates
      summary: Create Estimates
      operationId: create_estimates
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EstimatesV2Request'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EstimatesV2Response'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EstimatesV2Request:
      properties:
        origin:
          $ref: '#/components/schemas/Origin'
        destination:
          $ref: '#/components/schemas/Destination'
        parcel:
          $ref: '#/components/schemas/Parcel'
        planned_ship_date:
          type: string
          format: date-time
          title: Planned Ship Date
        latest_delivery_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Latest Delivery Date
        servicelevel_tokens:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Servicelevel Tokens
          default: []
      type: object
      required:
        - origin
        - destination
        - parcel
        - planned_ship_date
      title: EstimatesV2Request
    EstimatesV2Response:
      properties:
        object_id:
          type: string
          format: uuid
          title: Object Id
        created_at:
          type: string
          format: date-time
          title: Created At
        origin:
          $ref: '#/components/schemas/Origin'
        destination:
          $ref: '#/components/schemas/Destination'
        parcel:
          $ref: '#/components/schemas/Parcel'
        planned_ship_date:
          type: string
          format: date-time
          title: Planned Ship Date
        latest_delivery_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Latest Delivery Date
        confidence_level:
          $ref: '#/components/schemas/ConfidenceLevel'
        servicelevel_tokens:
          items:
            type: string
          type: array
          title: Servicelevel Tokens
        test:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Test
        predictions:
          items:
            $ref: '#/components/schemas/Prediction'
          type: array
          title: Predictions
      type: object
      required:
        - object_id
        - created_at
        - origin
        - destination
        - parcel
        - planned_ship_date
        - servicelevel_tokens
        - confidence_level
        - predictions
      title: EstimatesV2Response
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Origin:
      properties:
        zip:
          type: string
          title: Zip
      type: object
      required:
        - zip
      title: Origin
    Destination:
      properties:
        zip:
          type: string
          title: Zip
      type: object
      required:
        - zip
      title: Destination
    Parcel:
      properties:
        length:
          type: number
          exclusiveMinimum: 0
          title: Length
          description: >-
            Positive number. Up to 6 digits before and 4 digits after the
            decimal point.
        width:
          type: number
          exclusiveMinimum: 0
          title: Width
          description: >-
            Positive number. Up to 6 digits before and 4 digits after the
            decimal point.
        height:
          type: number
          exclusiveMinimum: 0
          title: Height
          description: >-
            Positive number. Up to 6 digits before and 4 digits after the
            decimal point.
        distance_unit:
          $ref: '#/components/schemas/DistanceUnit'
        weight:
          type: number
          exclusiveMinimum: 0
          title: Weight
          description: >-
            Positive number. Up to 6 digits before and 4 digits after the
            decimal point.
        mass_unit:
          $ref: '#/components/schemas/MassUnit'
      type: object
      required:
        - length
        - width
        - height
        - distance_unit
        - weight
        - mass_unit
      title: Parcel
    ConfidenceLevel:
      type: string
      enum:
        - TYPICAL
        - DEFAULT
        - HIGH
      title: ConfidenceLevel
    Prediction:
      properties:
        provider:
          type: string
          title: Provider
        servicelevel:
          $ref: '#/components/schemas/ServiceLevel'
        estimated_delivery_date_utc:
          type: string
          format: date-time
          title: Estimated Delivery Date Utc
        estimated_transit_days:
          type: number
          title: Estimated Transit Days
      type: object
      required:
        - provider
        - servicelevel
        - estimated_delivery_date_utc
        - estimated_transit_days
      title: Prediction
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    DistanceUnit:
      type: string
      enum:
        - mm
        - cm
        - m
        - in
        - ft
        - yd
      title: DistanceUnit
      description: Enumeration for distance units used in parcel details.
    MassUnit:
      type: string
      enum:
        - g
        - kg
        - lb
        - oz
      title: MassUnit
      description: Enumeration for mass units used in package weight specifications.
    ServiceLevel:
      properties:
        name:
          type: string
          title: Name
        token:
          type: string
          title: Token
      type: object
      required:
        - name
        - token
      title: ServiceLevel
  securitySchemes:
    Shippo_Token:
      description: |
        Enter your shippo token with the ShippoToken prefix.

        Example: `ShippoToken shippo_live_xxxx`
      in: header
      name: Authorization
      type: apiKey
      x-default: ShippoToken shippo_test_d41a6f04796998570c521a50828eae8e3cccf0eb

````

## Related topics

- [Shippo API release notes](/api-concepts/api-change-log.md)
- [Create a refund](/api-reference/refunds/create-a-refund.md)
- [Create shipment](/carriers/integration-guides/apg/create-shipment.md)
