Pie Insurance Quotes API

The Quotes API from Pie Insurance — 2 operation(s) for quotes.

Operations 3

POST /Quotes
GET /Quotes/{id}
PUT /Quotes/{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/pie-insurance-quotes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

pie-insurance-quotes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pie Insurance Quote Api Appetite Quotes API
  version: v1
servers:
- url: https://api.post-prod.pieinsurance.com/api/v1
security:
- bearer: []
tags:
- name: Quotes
paths:
  /Quotes:
    post:
      tags:
      - Quotes
      summary: ''
      parameters:
      - name: agencyCode
        in: query
        description: An optional query param to submit an Agency Code in addition to the IdToken
        schema:
          type: string
      requestBody:
        description: QuoteRequestPost
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequestPost'
            example:
              namedInsured: Example Company
              effectiveDate: Wednesday, May 27, 2026
              expirationDate: Thursday, May 27, 2027
              description: A very useful company
              workersCompensation:
                currentlyCovered: true
                legalEntities:
                - businessType: Corporation
                  states:
                  - code: MD
                    experienceModification:
                      factor: 1.0
                      type: Actual
                      date: '2014-05-20'
                      riskId: RiskId
                    locations:
                    - address:
                        state: MD
                        country: US
                        shortZipCode: '21201'
                        line1: 123 Main St.
                        line2: Suite 300
                        city: Baltimore
                        zip: '21201'
                      exposure:
                      - payroll: 10000
                        class: '9083'
                      - payroll: 10000
                        class: '9083'
                      officers:
                      - ownershipPercentage: 50.0
                        birthDate: '1969-01-20'
                        name: Bob Businessman
                      - ownershipPercentage: 50.0
                        birthDate: '1996-01-20'
                        name: John Doe
                      fullTimeEmployeeCount: 25
                      partTimeEmployeeCount: 5
                    - address:
                        state: MD
                        country: US
                        shortZipCode: '21217'
                        line1: 456 2nd St.
                        line2: Suite 400
                        city: Baltimore
                        zip: '21217'
                      exposure:
                      - payroll: 10000
                        class: '9083'
                      - payroll: 10000
                        class: '9083'
                      officers:
                      - ownershipPercentage: 50.0
                        birthDate: '1969-01-20'
                        name: John Franchisee
                      fullTimeEmployeeCount: 25
                      partTimeEmployeeCount: 5
                    uian: '1111'
                  name: Bob Businessman
                  doingBusinessAs:
                  - Bob's Burgers
                  taxId: '951234567'
                employersLiability:
                  eachAccident: 100000
                  eachEmployee: 100000
                  eachPolicy: 500000
                priorCarriers:
                - effectiveDate: '2023-05-27'
                  expirationDate: '2024-05-27'
                  totalPremium: 20420.75
                  lapseInPeriod: false
                  nonZeroClaimCount: 1
                  zeroClaimCount: 0
                  amountPaid: 10000.0
                  amountReserved: 10000.0
                  amountIncurred: 100.0
                  modificationFactor: 0.5
                  name: Brownie Insurance
                  policyNumber: '1234567890'
                - effectiveDate: '2025-05-27'
                  expirationDate: '2026-05-27'
                  totalPremium: 5000.75
                  lapseInPeriod: false
                  nonZeroClaimCount: 0
                  zeroClaimCount: 0
                  amountPaid: 0.0
                  amountReserved: 0.0
                  amountIncurred: 100.0
                  modificationFactor: 0.5
                  name: Cookie Insurance
                  policyNumber: 0987654321
              mailingAddress:
                state: MD
                country: US
                shortZipCode: '21201'
                line1: 123 Main St.
                line2: Suite 300
                city: Baltimore
                zip: '21201'
              contacts:
              - type: Claims
                firstName: John
                lastName: Doe
                phone: 555-555-5555
                email: test@email.com
              - type: Accounting
                firstName: Jane
                lastName: Doe
                phone: 555-555-5555
                email: jane@email.com
              eligibilityAnswers:
              - id: 3ce48d82-963d-4477-a850-2f34d7df0583
                answer: 'No'
              - id: 6936feea-92eb-426c-ad36-3e195652801d
                answer: 'No'
              - id: a4943dd7-2e04-41ad-8d49-f0353517f3be
                answer: 'No'
              - id: c245550f-7722-4e2e-9d49-bfef864ff1ae
                answer: 'No'
              - id: d3985c52-9012-4278-9649-23b33da936b5
                answer: 'No'
              - id: ee222b96-45f3-4843-a2dd-7514c182b05d
                answer: 'No'
              - id: fa056329-55ff-49bf-97b5-f50a59fa94a6
                answer: 'No'
      responses:
        '500':
          description: Internal Server Error
        '501':
          description: Not Implemented
        '502':
          description: Bad Gateway
        '503':
          description: Service Unavailable
        '504':
          description: Gateway Timeout
        '505':
          description: HTTP Version Not Supported
        '200':
          description: Valid Request - But we can’t generate a quote bid for the given reason
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDeclineResponse'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
              example:
                referReasons:
                - no ReferReasons
                declineReasons:
                - no DeclineReasons
                namedInsured: MSF Hotdog LTD
                insuredAddress:
                  line1: 40 W Littleton Blvd Ste 211
                  city: Beverly Hills
                  state: CA
                  zip: '90210'
                agencyId: 08deba69-6030-fbd6-a82b-ef00017ebf40
                effectiveDate: '2026-05-30'
                employersLiabilityLimits:
                  eachAccident: 1000000
                  eachEmployee: 1000000
                  eachPolicy: 1000000
                quoteDate: '2026-05-25'
                insuranceCompany: Insurance Company
                classCodeQuotes:
                - classCode: '2759'
                  description: BOX OR BOX SHOOK MFG
                  payroll: 300000
                  premium: 0
                  rate: 0.0
                  percentageOfPayroll: 0.0
                stateQuotes:
                - experienceModifierInput: 0.0
                  scheduleModifierFactor: 0.0
                  catastrophe: 30.0
                  classPremium: 30930.0
                  expenseConstant: 0.0
                  minimumPremium: 0
                  modifiedPremium: 0
                  policyTotalEstimatedCost: 29588.0
                  premiumDiscount: 200
                  scheduleModifier: 0.0
                  standardPremium: 0
                  subjectPremium: 0
                  totalTaxesAndAssessments: 0.0
                  terrorism: 90.0
                  totalEstimatedPremium: 29292.0
                premiumDetails:
                  catastrophe: 13.0
                  classPremium: 1787.0
                  expenseConstant: 160.0
                  experienceModifier: 0.0
                  liabilityLimits: 120
                  minimumPremium: 1805
                  modifiedPremium: 2264
                  policyTotalEstimatedCost: 2081.0
                  premiumDiscount: 0
                  scheduleModifier: -453.0
                  standardPremium: 1811
                  subjectPremium: 2264
                  taxesAndAssessments:
                  - code: CAWCARF
                    description: Workers' Compensation Administration Revolving Fund
                    rate: 0.01704
                    premium: 34
                  totalTaxesAndAssessments: 70.0
                  terrorism: 27.0
                  totalEstimatedPremium: 2011.0
                  blanketWaiver: 0
                  specificWaiver: 0
                  territoryModifier: 357
                installments:
                  full:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  monthly:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  quarterly:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  semiannual:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                isDirty: false
                instantBindStatus: Unspecified
                bindStatus: Quotable
        '400':
          description: Bad request - usually malformed message or header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthorized - Invalid agency code provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
      security:
      - bearer: []
  /Quotes/{id}:
    get:
      tags:
      - Quotes
      summary: ''
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '500':
          description: Internal Server Error
        '501':
          description: Not Implemented
        '502':
          description: Bad Gateway
        '503':
          description: Service Unavailable
        '504':
          description: Gateway Timeout
        '505':
          description: HTTP Version Not Supported
        '200':
          description: Returns QuoteResponse object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
              example:
                referReasons:
                - no ReferReasons
                declineReasons:
                - no DeclineReasons
                namedInsured: MSF Hotdog LTD
                insuredAddress:
                  line1: 40 W Littleton Blvd Ste 211
                  city: Beverly Hills
                  state: CA
                  zip: '90210'
                agencyId: 08deba69-6031-5aea-a82b-ef00017ebf42
                effectiveDate: '2026-05-30'
                employersLiabilityLimits:
                  eachAccident: 1000000
                  eachEmployee: 1000000
                  eachPolicy: 1000000
                quoteDate: '2026-05-25'
                insuranceCompany: Insurance Company
                classCodeQuotes:
                - classCode: '2759'
                  description: BOX OR BOX SHOOK MFG
                  payroll: 300000
                  premium: 0
                  rate: 0.0
                  percentageOfPayroll: 0.0
                stateQuotes:
                - experienceModifierInput: 0.0
                  scheduleModifierFactor: 0.0
                  catastrophe: 30.0
                  classPremium: 30930.0
                  expenseConstant: 0.0
                  minimumPremium: 0
                  modifiedPremium: 0
                  policyTotalEstimatedCost: 29588.0
                  premiumDiscount: 200
                  scheduleModifier: 0.0
                  standardPremium: 0
                  subjectPremium: 0
                  totalTaxesAndAssessments: 0.0
                  terrorism: 90.0
                  totalEstimatedPremium: 29292.0
                premiumDetails:
                  catastrophe: 13.0
                  classPremium: 1787.0
                  expenseConstant: 160.0
                  experienceModifier: 0.0
                  liabilityLimits: 120
                  minimumPremium: 1805
                  modifiedPremium: 2264
                  policyTotalEstimatedCost: 2081.0
                  premiumDiscount: 0
                  scheduleModifier: -453.0
                  standardPremium: 1811
                  subjectPremium: 2264
                  taxesAndAssessments:
                  - code: CAWCARF
                    description: Workers' Compensation Administration Revolving Fund
                    rate: 0.01704
                    premium: 34
                  totalTaxesAndAssessments: 70.0
                  terrorism: 27.0
                  totalEstimatedPremium: 2011.0
                  blanketWaiver: 0
                  specificWaiver: 0
                  territoryModifier: 357
                installments:
                  full:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  monthly:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  quarterly:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  semiannual:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                isDirty: false
                instantBindStatus: Unspecified
                bindStatus: Quotable
        '404':
          description: Quote can't be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      security:
      - bearer: []
    put:
      tags:
      - Quotes
      summary: ''
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      - name: agencyCode
        in: query
        description: An optional query param to submit an AgencyCode in addition to the IdToken
        schema:
          type: string
      requestBody:
        description: QuoteRequestPost
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequestPut'
      responses:
        '500':
          description: Internal Server Error
        '501':
          description: Not Implemented
        '502':
          description: Bad Gateway
        '503':
          description: Service Unavailable
        '504':
          description: Gateway Timeout
        '505':
          description: HTTP Version Not Supported
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
              example:
                referReasons:
                - no ReferReasons
                declineReasons:
                - no DeclineReasons
                namedInsured: MSF Hotdog LTD
                insuredAddress:
                  line1: 40 W Littleton Blvd Ste 211
                  city: Beverly Hills
                  state: CA
                  zip: '90210'
                agencyId: 08deba69-6031-f46c-a82b-ef00017ebf44
                effectiveDate: '2026-05-30'
                employersLiabilityLimits:
                  eachAccident: 1000000
                  eachEmployee: 1000000
                  eachPolicy: 1000000
                quoteDate: '2026-05-25'
                insuranceCompany: Insurance Company
                classCodeQuotes:
                - classCode: '2759'
                  description: BOX OR BOX SHOOK MFG
                  payroll: 300000
                  premium: 0
                  rate: 0.0
                  percentageOfPayroll: 0.0
                stateQuotes:
                - experienceModifierInput: 0.0
                  scheduleModifierFactor: 0.0
                  catastrophe: 30.0
                  classPremium: 30930.0
                  expenseConstant: 0.0
                  minimumPremium: 0
                  modifiedPremium: 0
                  policyTotalEstimatedCost: 29588.0
                  premiumDiscount: 200
                  scheduleModifier: 0.0
                  standardPremium: 0
                  subjectPremium: 0
                  totalTaxesAndAssessments: 0.0
                  terrorism: 90.0
                  totalEstimatedPremium: 29292.0
                premiumDetails:
                  catastrophe: 13.0
                  classPremium: 1787.0
                  expenseConstant: 160.0
                  experienceModifier: 0.0
                  liabilityLimits: 120
                  minimumPremium: 1805
                  modifiedPremium: 2264
                  policyTotalEstimatedCost: 2081.0
                  premiumDiscount: 0
                  scheduleModifier: -453.0
                  standardPremium: 1811
                  subjectPremium: 2264
                  taxesAndAssessments:
                  - code: CAWCARF
                    description: Workers' Compensation Administration Revolving Fund
                    rate: 0.01704
                    premium: 34
                  totalTaxesAndAssessments: 70.0
                  terrorism: 27.0
                  totalEstimatedPremium: 2011.0
                  blanketWaiver: 0
                  specificWaiver: 0
                  territoryModifier: 357
                installments:
                  full:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  monthly:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  quarterly:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                  semiannual:
                    '2026-05-30':
                      premiumAmount: 2011
                      surchargeAmount: 70
                      totalAmount: 2081
                isDirty: false
                instantBindStatus: Unspecified
                bindStatus: Quotable
        '400':
          description: Bad request - usually malformed message or header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthorized - Invalid agency code provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '404':
          description: Quote can't be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '200':
          description: Returns QuoteResponse object
      security:
      - bearer: []
components:
  schemas:
    ValidationProblemDetails:
      type: object
      properties:
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type: array
            items:
              type: string
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
        extensions:
          type:
          - object
          - 'null'
          additionalProperties: {}
      additionalProperties: false
    QuoteLocationPost:
      title: Location
      type: object
      properties:
        address:
          $ref: '#/components/schemas/QuoteAddressPost'
        exposure:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QuoteExposurePost'
          description: Officers class payroll should also be included here
        officers:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QuoteOfficerPost'
          description: If Officer has payroll, please add it to the array of Exposure as any other exposure.
        fullTimeEmployeeCount:
          type:
          - integer
          - 'null'
          format: int32
        partTimeEmployeeCount:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    QuoteRequestPut:
      title: PutRequest
      type: object
      properties:
        namedInsured:
          type:
          - string
          - 'null'
          description: Do not include the 'doing business as' name in this field.  Use the DBA field in the LegalEntity Object.
        effectiveDate:
          type:
          - string
          - 'null'
          description: " Format YYYY-MM-DD\nMust be between tomorrow's date and 120 from current date\n (today + 120 days >= effectiveDate >= tomorrow)"
          format: date
        partnerAgentFirstName:
          type:
          - string
          - 'null'
        partnerAgentLastName:
          type:
          - string
          - 'null'
        partnerAgentEmail:
          type:
          - string
          - 'null'
        expirationDate:
          type:
          - string
          - 'null'
          description: 'Format YYYY-MM-DD

            Must be exactly one year after effectiveDate'
          format: date
        description:
          type:
          - string
          - 'null'
        workersCompensation:
          $ref: '#/components/schemas/WorkCompPolicyPost'
        mailingAddress:
          $ref: '#/components/schemas/QuoteAddressPost'
        contacts:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QuoteContactPost'
        eligibilityAnswers:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EligibilityAnswerPost'
      additionalProperties: false
    EmployersLiabilityLimitsPost:
      title: EmployersLiabilityLimits
      type: object
      properties:
        eachAccident:
          type:
          - integer
          - 'null'
          description: 'Valid values are:

            100000, 500000, 1000000, 2000000.

            Valid Combinations across

            eachAccident / eachEmployee / eachPolicy are:

            100/500/100, 500/500/500, 1M/1M/1M, 2M/2M/2M.

            If the state is CA, must select limits of 1M or greater.'
        eachEmployee:
          type:
          - integer
          - 'null'
          description: 'Valid values are:

            500000, 1000000, 2000000.

            Valid Combinations across

            eachAccident / eachEmployee / eachPolicy are:

            100/500/100, 500/500/500, 1M/1M/1M, 2M/2M/2M.

            If the state is CA, must select limits of 1M or greater.'
        eachPolicy:
          type:
          - integer
          - 'null'
          description: 'Valid values are:

            100000, 500000, 1000000, 2000000.

            Valid Combinations across

            eachAccident / eachEmployee / eachPolicy are:

            100/500/100, 500/500/500, 1M/1M/1M, 2M/2M/2M.

            If the state is CA, must select limits of 1M or greater.'
      additionalProperties: false
    ContactTypes:
      enum:
      - Accounting
      - Claims
      - Inspection
      - Client
      - Other
      type: string
    QuoteStatePost:
      title: State
      type: object
      properties:
        code:
          $ref: '#/components/schemas/States'
        experienceModification:
          $ref: '#/components/schemas/ExperienceModificationPost'
        uian:
          type:
          - integer
          - 'null'
          description: Required by some states
        blanketWaiver:
          type:
          - boolean
          - 'null'
        locations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QuoteLocationPost'
      additionalProperties: false
    NotCoveredReason:
      enum:
      - NonPayment
      - AuditNonCompliance
      - NoEmployees
      - Other
      - NewBusiness
      type: string
    Countries:
      enum:
      - US
      - USA
      type: string
    QuoteContactPost:
      title: QuoteContact
      type: object
      properties:
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        phone:
          type:
          - string
          - 'null'
          description: Must match pattern 012-345-6789 or 0123456789
        email:
          type:
          - string
          - 'null'
          description: Must be valid email format e.g. email@domain.com
        type:
          $ref: '#/components/schemas/ContactTypes'
      additionalProperties: false
    QuoteAddressPost:
      title: Address
      type: object
      properties:
        line1:
          type:
          - string
          - 'null'
        line2:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        state:
          $ref: '#/components/schemas/States'
        zip:
          type:
          - string
          - 'null'
          description: "Send 5 digit zip code format e.g. 12345\n (9 digit zip is not accepted)"
        country:
          $ref: '#/components/schemas/Countries'
      additionalProperties: false
    PriorCarrierPost:
      title: PriorCarrier
      required:
      - effectiveDate
      - expirationDate
      - lapseInPeriod
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        effectiveDate:
          type: string
          description: Format YYYY-MM-DD
          format: date
        expirationDate:
          type: string
          description: Format YYYY-MM-DD
          format: date
        lapseInPeriod:
          type: boolean
          description: Was there a lapse in coverage
        lapseReason:
          $ref: '#/components/schemas/LapseReason'
        lapseReasonDescription:
          type:
          - string
          - 'null'
          description: Provide description when lapseReason is ‘Other’ or when there is additional lapse information available.
        policyNumber:
          type:
          - string
          - 'null'
        modificationFactor:
          type:
          - number
          - 'null'
          description: Must be decimal number >= 0.1 and less than 10.0
        totalPremium:
          type:
          - number
          - 'null'
          description: 'Must be number with no more than 2 decimal places

            e.g. xxx.yy'
        nonZeroClaimCount:
          type: integer
          description: 'The number of claims where the total payout was greater than zero.

            Must be integer >= 0 and less than or equal to 255'
          format: int32
        zeroClaimCount:
          type: integer
          description: 'The number of claims where the total payout equals zero.

            Must be integer >= 0 and less than or equal to 255'
          format: int32
        amountPaid:
          type:
          - number
          - 'null'
          description: 'Must be number with no more than 2 decimal places

            e.g. xxx.yy'
        amountReserved:
          type:
          - number
          - 'null'
          description: 'Must be number with no more than 2 decimal places

            e.g. xxx.yy'
        amountIncurred:
          type:
          - string
          - 'null'
          description: 'Must be number with no more than 2 decimal places

            e.g. xxx.yy'
      additionalProperties: false
    States:
      enum:
      - AL
      - AK
      - AR
      - AZ
      - CA
      - CO
      - CT
      - DC
      - DE
      - FL
      - GA
      - HI
      - IA
      - ID
      - IL
      - IN
      - KS
      - KY
      - LA
      - MA
      - MD
      - ME
      - MI
      - MN
      - MO
      - MS
      - MT
      - NC
      - ND
      - NE
      - NH
      - NJ
      - NM
      - NV
      - NY
      - OK
      - OH
      - OR
      - PA
      - RI
      - SC
      - SD
      - TN
      - TX
      - UT
      - VA
      - VT
      - WA
      - WI
      - WV
      - WY
      - CW
      type: string
    QuoteLegalEntityPost:
      title: LegalEntity
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        doingBusinessAs:
          type:
          - array
          - 'null'
          items:
            type: string
        businessType:
          $ref: '#/components/schemas/BusinessTypes'
        taxId:
          type:
          - string
          - 'null'
          description: '9 digit number, no dashes

            e.g. 123456789'
        sicCode:
          type:
          - integer
          - 'null'
          description: Must be 4 digit number
        naicsCode:
          type:
          - integer
          - 'null'
          description: Must be 6 digit number
        yearStarted:
          type:
          - integer
          - 'null'
          description: 'Must be after 1800 and equal to or before current year

            e.g. Current year >= year started >= 1800'
        website:
          type:
          - string
          - 'null'
          description: Must be valid URL
        states:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QuoteStatePost'
          description: Currently only 1 state allowed
      additionalProperties: false
      description: Currently only a single legal entity quote is supported through the quote api
    QuoteOfficerPost:
      title: Officer
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        duties:
          type:
          - string
          - 'null'
        ownershipPercentage:
          type:
          - number
          - 'null'
        birthDate:
          type:
          - string
          - 'null'
          description: Format YYYY-MM-DD
          format: date
      additionalProperties: false
    InstantBindStatus:
      enum:
      - Unspecified
      - Ineligible
      - Eligible
      - Pending
      - Failed
      - Succeeded
      type: string
    WorkCompPolicyPost:
      title: WorkCompPolicy
      type: object
      properties:
        currentlyCovered:
          type:
          - boolean
          - 'null'
          description: Are you currently covered by Worker's Compensation Policy if false then supply a reason
        notCurrentlyCoveredReason:
          $ref: '#/components/schemas/NotCoveredReason'
        notCurrentlyCoveredDescription:
          type:
          - string
          - 'null'
          description: Provide description when notCurrentlyCoveredReason is ‘Other’ or when there is additional lapse information available.
        legalEntities:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QuoteLegalEntityPost'
          description: Only 1 legal entity is allowed
        employersLiability:
          $ref: '#/components/schemas/EmployersLiabilityLimitsP

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/pie-insurance/refs/heads/main/openapi/pie-insurance-quotes-api-openapi.yml