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

# Create tariff check

> Duty for an HS code (or a description to classify) from an origin into the US, UK or EU, with FTA eligibility and surcharges. One of hs_code or item_description is required. The lookup is logged and cached.

Key scope: read (or execute). Module: tariff. `related_announcements` lists at most 5 announcements, newest first



## OpenAPI

````yaml /openapi.json post /v1/tariff_checks
openapi: 3.1.0
info:
  title: InsightChain API
  version: 2.0.0
  description: 'The InsightChain API. Send your key as `Authorization: Bearer <key>`.'
  contact:
    name: InsightChain
    url: https://insightchain.ai/docs
  license:
    name: Proprietary
    url: https://insightchain.ai/terms
servers:
  - url: https://api.insightchain.ai
security: []
tags:
  - name: Data ingestion
  - name: Tariff check
  - name: Landed cost
  - name: Import taxes
  - name: Customs documents
  - name: Denied party screening
  - name: Location risk
  - name: Tariff impact and trade data
  - name: Recommendations
  - name: Orders and approval
  - name: Explanations
  - name: Alerts
  - name: Inventory
  - name: Forecast check
  - name: Disruptions
  - name: Product compliance
  - name: Product recalls
  - name: Product passports
  - name: Webhooks
  - name: Connections
  - name: Sync runs
  - name: API keys
  - name: Usage
  - name: Request log
  - name: Agent (MCP) server
paths:
  /v1/tariff_checks:
    post:
      tags:
        - Tariff check
      summary: Create tariff check
      description: >-
        Duty for an HS code (or a description to classify) from an origin into
        the US, UK or EU, with FTA eligibility and surcharges. One of hs_code or
        item_description is required. The lookup is logged and cached.


        Key scope: read (or execute). Module: tariff. `related_announcements`
        lists at most 5 announcements, newest first
      operationId: createTariffCheck
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                hs_code:
                  type: string
                  maxLength: 14
                  description: >-
                    HS code, 6-10 digits; dots between groups are allowed.
                    Required unless item_description is sent
                item_description:
                  type: string
                  maxLength: 500
                  description: >-
                    Used to classify when hs_code is absent. Required unless
                    hs_code is sent
                origin_country:
                  type: string
                  pattern: ^[A-Za-z]{2}$
                  description: ISO 3166-1 alpha-2 country code
                destination_country:
                  type: string
                  pattern: ^[A-Za-z]{2}$
                  description: US (default), GB, or an EU member state
                check_date:
                  type: string
                  format: date
                  description: Rates in force on this date (default today)
              required:
                - origin_country
              additionalProperties: false
            example:
              hs_code: '6109.10'
              origin_country: VN
              destination_country: US
      responses:
        '200':
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
            X-Client-Request-ID:
              $ref: '#/components/headers/X-Client-Request-ID'
            X-InsightChain-Sandbox:
              $ref: '#/components/headers/X-InsightChain-Sandbox'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TariffCheck'
              example:
                origin: CN
                source:
                  url: https://hts.usitc.gov/view/subheading?subheading=610910
                  name: Harmonized Tariff Schedule of the United States
                  as_of: '2026-11-21'
                  licence: null
                  authority: us_official_schedule
                hs_code: '6109.10'
                hs_match:
                  rates:
                    - 16.5%
                  typed: '6109.10'
                  matched: 6109.10.00
                  precision: exact
                  candidate_count: 1
                base_rate:
                  rate: 16.5%
                  type: MFN Duty
                  source: Harmonized Tariff Schedule of the United States
                  special: Free (AU,BH,CL,CO,IL,JO,KR,MA,OM,P,PA,PE,S,SG)
                  source_url: https://hts.usitc.gov/view/subheading?subheading=610910
                  rate_percent: 16.5
                check_date: '2026-11-21'
                request_id: ebea843a-3c4c-4413-8e7d-5ae00f7cb6cc
                description: Of cotton
                destination: US
                rate_status: official
                specific_duty: null
                effective_rate: 31.5%
                cbp_restrictions:
                  notes: []
                  prohibited: false
                  restrictions:
                    - agency: FTC
                      source: curated
                      verified: true
                      requirement: >-
                        FTC textile labeling requirements (fiber content,
                        country of origin, manufacturer).
                  model_assisted: false
                  prohibited_source: null
                  column2_prohibited: false
                additional_duties:
                  - rate: 15%
                    type: Import Surcharge
                    origin: announcement
                    source: >-
                      Temporary 15% import surcharge on all goods entering the
                      United States under Section 122 of the Trade Act of 1974.
                    heading: null
                    source_url: >-
                      https://www.whitehouse.gov/presidential-actions/2026/02/imposing-a-temporary-import-surcharge/
                    rate_percent: 15
                    published_date: '2026-02-15T00:00:00+00:00'
                destination_region: US
                destination_country: US
                effective_ad_valorem_percent: 31.5
                cache_hit: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '415':
          $ref: '#/components/responses/UnsupportedMediaType'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '502':
          $ref: '#/components/responses/UpstreamError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
        '504':
          $ref: '#/components/responses/Timeout'
      security:
        - apiKey: []
components:
  headers:
    RateLimit-Limit:
      schema:
        type: integer
      description: Requests allowed per minute. On every answer to an accepted API key
    RateLimit-Remaining:
      schema:
        type: integer
      description: Requests left in the current minute window
    RateLimit-Reset:
      schema:
        type: integer
      description: Seconds until the minute window resets
    X-RateLimit-Limit-Day:
      schema:
        type: integer
      description: The key's daily quota
    X-RateLimit-Remaining-Day:
      schema:
        type: integer
      description: Requests left today (resets 00:00 UTC)
    X-Request-ID:
      schema:
        type: string
      description: Quote this when asking about a request
    X-Client-Request-ID:
      schema:
        type: string
      description: Your own X-Request-ID request header, echoed. Absent when you sent none
    X-InsightChain-Sandbox:
      schema:
        type: string
        enum:
          - 'true'
      description: >-
        Present, and true, on every answer to a test key: the data is the
        sandbox's
    Allow:
      schema:
        type: string
      description: The methods the path takes
    Retry-After:
      schema:
        type: integer
      description: Seconds to wait before trying again
  schemas:
    TariffCheck:
      type: object
      properties:
        hs_code:
          type: string
          description: >-
            The code the answer is for: yours, the classified one, or (GB, EU)
            the 10-digit line it resolved to
        description:
          type: string
        origin:
          type: string
          description: Origin country, ISO 3166-1 alpha-2
        destination:
          type: string
          description: >-
            Destination country, ISO 3166-1 alpha-2 (the same as
            destination_country)
        destination_country:
          type: string
        destination_region:
          type: string
          enum:
            - US
            - GB
            - EU
          description: The tariff that applies
        base_rate:
          $ref: '#/components/schemas/TariffBaseRate'
        source:
          $ref: '#/components/schemas/TariffSource'
        additional_duties:
          type: array
          items:
            $ref: '#/components/schemas/TariffAdditionalDuty'
        effective_rate:
          type:
            - string
            - 'null'
          description: >-
            Base rate plus additional duties as text; a per-unit part is
            appended (25.0% + 2.4¢/kg). null when rate_status is unknown
        effective_ad_valorem_percent:
          type:
            - number
            - 'null'
          description: >-
            The percent-of-value part of the effective rate; null when
            rate_status is unknown
        specific_duty:
          type:
            - string
            - 'null'
          description: >-
            The per-unit part of the base rate, which the percent leaves out;
            null when there is none
        check_date:
          type: string
          format: date
          description: The day the rates are in force for
        effective_rate_mfn:
          type:
            - string
            - 'null'
          description: 'With a preferential rate: the effective rate without the preference'
        effective_rate_preferential:
          type:
            - string
            - 'null'
          description: The effective rate with the preference
        effective_ad_valorem_percent_preferential:
          type:
            - number
            - 'null'
        specific_duty_preferential:
          type:
            - string
            - 'null'
        trade_agreement:
          $ref: '#/components/schemas/TariffTradeAgreement'
        tariff_rate_quota:
          type: object
          properties:
            has_trq:
              type: boolean
              description: >-
                true when the line is subject to a tariff-rate quota and the
                rates below are both known
            is_in_quota:
              type: boolean
              description: 'US only: true when the code sent is itself the in-quota line'
            kind:
              type: string
              enum:
                - preferential
                - non_preferential
              description: GB and EU only
            order_number:
              type: string
              description: 'GB and EU only: the quota''s order number'
            in_quota_rate:
              type: string
              description: The rate inside the quota, as the tariff words it
            in_quota_rate_percent:
              type: number
              description: Its percent-of-value part
            in_quota_special:
              type:
                - string
                - 'null'
              description: 'US only: the in-quota line''s special-programme rates'
            over_quota_rate:
              type: string
              description: The rate once the quota is used up
            over_quota_rate_percent:
              type: number
            over_quota_hs_code:
              type: string
              description: 'US only, with is_in_quota: the over-quota line'
            quota_reference:
              type: string
              description: 'US only: the tariff''s own pointer to the quota''s headings'
            in_quota_preferential_rate:
              type: string
              description: 'US only: the origin''s preferential rate inside the quota'
            in_quota_preferential_rate_percent:
              type: number
            in_quota_program_code:
              type: string
              description: 'US only: the programme that grants it'
            status:
              type: string
              description: 'GB and EU only: the quota''s state, e.g. Open, Exhausted'
            balance:
              type: string
              description: 'GB and EU only: what is left of the quota'
            measurement_unit:
              type: string
            note:
              type: string
          required:
            - over_quota_rate
            - over_quota_rate_percent
            - note
        adcvd_orders:
          $ref: '#/components/schemas/TariffAdcvdOrders'
        cbp_restrictions:
          type: object
          properties:
            prohibited:
              type: boolean
            prohibited_source:
              type:
                - string
                - 'null'
              enum:
                - curated
                - tariff_schedule
                - model
                - null
              description: What set prohibited; model means unverified
            column2_prohibited:
              type: boolean
              description: >-
                true when the tariff's rate column for countries without normal
                trade relations prohibits the import
            restrictions:
              type: array
              items:
                type: object
                properties:
                  agency:
                    type: string
                  requirement:
                    type: string
                  source:
                    type: string
                    enum:
                      - curated
                      - tariff_schedule
                      - model
                    description: model marks an unverified entry
                  verified:
                    type: boolean
                required:
                  - agency
                  - requirement
                  - source
                  - verified
            notes:
              type: array
              items:
                type: string
            model_assisted:
              type: boolean
              description: >-
                true when a model added a restriction, a note or the prohibited
                flag
            unverified_note:
              type: string
              description: 'Present when model_assisted: which entries are unverified'
          required:
            - prohibited
            - prohibited_source
            - column2_prohibited
            - restrictions
            - notes
            - model_assisted
          description: 'US only: agency requirements and prohibitions for the code, when any'
        import_restrictions:
          type: object
          properties:
            prohibited:
              type: boolean
            restrictions:
              type: array
              items:
                type: object
                properties:
                  agency:
                    type: string
                    description: The geographical area the measure names
                  requirement:
                    type: string
                    description: The measure, in the tariff's own words
                  kind:
                    type: string
                    enum:
                      - prohibition
                      - control
                  measure_type_id:
                    type:
                      - string
                      - 'null'
                  detail:
                    type:
                      - string
                      - 'null'
                    description: The measure's footnote or condition text
                required:
                  - agency
                  - requirement
                  - kind
                  - measure_type_id
                  - detail
            notes:
              type: array
              items:
                type: string
              description: >-
                Further lines the tariff attaches: suspensions, low-value
                consignment duty, ...
          required:
            - prohibited
            - restrictions
            - notes
          description: >-
            GB and EU only: import controls, prohibitions and notes on the line,
            when any
        vat:
          type: object
          properties:
            rate_percent:
              type: number
            source:
              type: string
            source_url:
              type: string
          required:
            - rate_percent
            - source
            - source_url
          description: 'GB only: the import VAT rate published for the line'
        related_announcements:
          type: array
          items:
            type: object
            properties:
              title:
                type: string
              url:
                type: string
              published_date:
                type:
                  - string
                  - 'null'
                format: date-time
            required:
              - title
              - url
              - published_date
          description: >-
            US only: up to 5 official announcements mentioning the code or
            product, newest first
        confidence_score:
          type: number
          description: 'With item_description: how sure the classification is, 0 to 1'
        hs_classification_source:
          type: string
          enum:
            - catalog
            - estimated
          description: >-
            With item_description: how the code was found. catalog: a reviewed
            match for the description. estimated: classified from the
            description, check it before relying on it
        rate_status:
          type: string
          enum:
            - official
            - estimated
            - unknown
          description: >-
            US only. official: read from the tariff schedule; estimated: the
            schedule was unavailable and the rate is an estimate; unknown: no
            rate could be determined (it is not 0%)
        rate_warning:
          type: string
          description: >-
            US only: present when the rate is estimated or unknown, or when the
            code covers several lines with different rates
        hs_match:
          type: object
          properties:
            typed:
              type: string
              description: The code as sent
            matched:
              type:
                - string
                - 'null'
              description: The tariff line used
            precision:
              type: string
              enum:
                - exact
                - ambiguous
                - ancestor
                - none
              description: >-
                exact: the code is a rated line; ambiguous: it covers several
                rated lines; ancestor: the nearest rated line above it was used
            candidate_count:
              type: integer
              description: Rated lines the code covers
            rates:
              type: array
              items:
                type: string
              description: Their distinct rates
          required:
            - typed
            - matched
            - precision
            - candidate_count
            - rates
          description: 'US only: how the code sent mapped to a tariff line'
        cache_hit:
          type: boolean
          description: >-
            true when the answer is a stored one from the last 24 hours for the
            same code, origin, destination and date; absent otherwise
        request_id:
          type: string
          description: >-
            Quote this when asking about the request; also the X-Request-ID
            header
      required:
        - hs_code
        - description
        - origin
        - destination
        - destination_country
        - destination_region
        - base_rate
        - source
        - additional_duties
        - effective_rate
        - effective_ad_valorem_percent
        - specific_duty
        - check_date
        - request_id
    TariffBaseRate:
      type: object
      properties:
        type:
          type: string
          description: >-
            The kind of base duty, in the tariff's own words: MFN Duty, Third
            country duty, ...
        rate:
          type: string
          description: >-
            The base rate as the tariff words it (16.5%, Free, 2.4¢/kg + 5%);
            Unknown when rate_status is unknown
        rate_percent:
          type:
            - number
            - 'null'
          description: >-
            The percent-of-value part of the base rate; 0 for a purely per-unit
            rate, null when the rate is unknown
        source:
          type: string
          description: >-
            The name of the tariff schedule the rate was read from; Not
            available when no rate could be read (rate_status unknown)
        source_url:
          type: string
          description: A public page showing the tariff line
        special:
          type: string
          description: >-
            US only: the line's special-programme rates, as the tariff words
            them
        note:
          type: string
          description: >-
            Present when the base rate has a per-unit part or depends on
            conditions
      required:
        - type
        - rate
        - rate_percent
        - source
        - source_url
    TariffSource:
      type: object
      properties:
        authority:
          type: string
          enum:
            - us_official_schedule
            - uk_official_schedule
            - eu_official_schedule
          description: 'Whose official tariff schedule answered: the destination''s'
        name:
          type: string
        url:
          type: string
        licence:
          type:
            - string
            - 'null'
          description: Attribution wording the tariff's terms of use ask for
        as_of:
          type: string
          format: date
          description: The day the rates are in force for
      required:
        - authority
        - name
        - url
        - licence
        - as_of
    TariffAdditionalDuty:
      type: object
      properties:
        type:
          type: string
          description: >-
            The kind of additional duty: Section 301, Section 232, Reciprocal
            Tariff, Import Surcharge, Additional duties, ...
        rate:
          type: string
          description: The duty as text, e.g. 15%
        rate_percent:
          type: number
          description: Percent of customs value this duty adds
        total_rate_percent:
          type: number
          description: >-
            US only, on a duty that tops the base rate up to a total: that
            total. rate_percent is then only the part added
        origin:
          type: string
          enum:
            - schedule
            - announcement
          description: >-
            US only: whether the duty is a heading of the tariff schedule or
            comes from an official announcement
        heading:
          type:
            - string
            - 'null'
          description: >-
            US only: the tariff schedule heading of the duty; null for a duty
            from an announcement
        source:
          type: string
          description: What imposes the duty
        source_url:
          type: string
          description: Link to it; empty when none is on file
        published_date:
          type:
            - string
            - 'null'
          format: date-time
          description: When the announcement behind the duty was published
      required:
        - type
        - rate
        - rate_percent
        - source
        - source_url
        - published_date
    TariffTradeAgreement:
      type: object
      properties:
        agreement:
          type: string
          description: The agreement or preference the origin can claim
        agreement_code:
          type: string
        preferential_rate:
          type: string
          description: >-
            The preferential rate as the tariff words it; absent when only
            eligibility is known
        preferential_rate_percent:
          type: number
          description: Its percent-of-value part
        note:
          type: string
          description: What must hold for the preference to apply
        source_url:
          type:
            - string
            - 'null'
        is_trq_rate:
          type: boolean
          description: >-
            true when the preferential rate is the in-quota rate of a
            tariff-rate quota
        rules_of_origin:
          type: array
          items:
            type: object
            properties:
              agreement_code:
                type: string
              hs_code_prefix:
                type: string
                description: The HS prefix the rule covers
              rule_type:
                type: string
                enum:
                  - tariff_shift
                  - regional_value_content
                  - wholly_obtained
                  - specific_process
                  - combination
              rule_description:
                type: string
              rvc_threshold:
                type:
                  - number
                  - 'null'
                description: Regional value content the goods must reach, in percent
              rvc_method:
                type:
                  - string
                  - 'null'
                enum:
                  - transaction_value
                  - net_cost
                  - build_up
                  - build_down
                  - null
                description: How regional value content is measured
              tariff_shift_rule:
                type:
                  - string
                  - 'null'
              de_minimis_percent:
                type:
                  - number
                  - 'null'
                description: >-
                  Share of non-originating material the rule tolerates, in
                  percent
              notes:
                type:
                  - string
                  - 'null'
            required:
              - agreement_code
              - hs_code_prefix
              - rule_type
              - rule_description
              - rvc_threshold
              - rvc_method
              - tariff_shift_rule
              - de_minimis_percent
              - notes
          description: >-
            US only: the agreement's rules of origin covering this code, when
            any are on file
      required:
        - agreement
        - agreement_code
        - note
        - source_url
    TariffAdcvdOrders:
      type: object
      properties:
        has_adcvd:
          type: boolean
          description: >-
            Whether an anti-dumping or countervailing order in force covers the
            code
        total_ad_rate:
          type: number
          description: Sum of the anti-dumping rates that apply, in percent
        total_cvd_rate:
          type: number
          description: Sum of the countervailing rates that apply, in percent
        total_adcvd_rate:
          type: number
          description: Both together, in percent
        orders:
          type: array
          items:
            type: object
            properties:
              case_number:
                type:
                  - string
                  - 'null'
                description: The case number; null for GB and EU measures, which carry none
              case_type:
                type: string
                description: AD (anti-dumping) or CVD (countervailing)
              product_description:
                type:
                  - string
                  - 'null'
              rate_percent:
                type:
                  - number
                  - 'null'
                description: >-
                  The rate an importer with no exporter-specific rate pays, in
                  percent; null when not on file
              rate_range_min:
                type:
                  - number
                  - 'null'
                description: Lowest exporter-specific rate, in percent
              rate_range_max:
                type:
                  - number
                  - 'null'
                description: Highest exporter-specific rate, in percent
              federal_register_citation:
                type:
                  - string
                  - 'null'
              source_url:
                type:
                  - string
                  - 'null'
              effective_date:
                type:
                  - string
                  - 'null'
                format: date
              rate_known:
                type: boolean
                description: >-
                  US only: false when the order applies but its rate is not on
                  file (it is then left out of the totals)
              continued_date:
                type:
                  - string
                  - 'null'
                format: date
                description: 'US only: when the order was last continued'
              scope_match:
                type: string
                enum:
                  - exact
                  - possible
                description: >-
                  US only: exact when the code is within the order's scope;
                  possible when the order lists more specific codes than the one
                  sent
              matched_hts:
                type: string
                description: 'US only: the code of the order''s scope that matched'
              rate_source:
                type:
                  - string
                  - 'null'
                description: >-
                  US only: where the rate on file comes from: official_notice
                  (the order's published notice) or reviewed (entered by hand
                  from it)
              hs_source:
                type:
                  - string
                  - 'null'
                description: >-
                  US only: where the order's scope codes come from, as
                  rate_source
              stage:
                type: string
                enum:
                  - provisional
                  - definitive
                description: GB and EU only
              rate_display:
                type: string
                description: 'GB and EU only: the rate as the tariff words it'
              exporter_rates:
                type: array
                items:
                  type: object
                  properties:
                    additional_code:
                      type:
                        - string
                        - 'null'
                      description: The exporter's additional code as declared
                    exporter:
                      type:
                        - string
                        - 'null'
                    rate:
                      type: string
                    rate_percent:
                      type: number
                    conditional:
                      type: boolean
                      description: true when the rate depends on a condition of the measure
                    legal_act:
                      type:
                        - string
                        - 'null'
                  required:
                    - additional_code
                    - exporter
                    - rate
                    - rate_percent
                    - conditional
                    - legal_act
                description: 'GB and EU only: the exporter-specific rates of the measure'
            required:
              - case_number
              - case_type
              - product_description
              - rate_percent
              - rate_range_min
              - rate_range_max
              - federal_register_citation
              - source_url
              - effective_date
        possible_orders:
          type: array
          items:
            type: object
            properties:
              case_number:
                type:
                  - string
                  - 'null'
                description: The case number; null for GB and EU measures, which carry none
              case_type:
                type: string
                description: AD (anti-dumping) or CVD (countervailing)
              product_description:
                type:
                  - string
                  - 'null'
              rate_percent:
                type:
                  - number
                  - 'null'
                description: >-
                  The rate an importer with no exporter-specific rate pays, in
                  percent; null when not on file
              rate_range_min:
                type:
                  - number
                  - 'null'
                description: Lowest exporter-specific rate, in percent
              rate_range_max:
                type:
                  - number
                  - 'null'
                description: Highest exporter-specific rate, in percent
              federal_register_citation:
                type:
                  - string
                  - 'null'
              source_url:
                type:
                  - string
                  - 'null'
              effective_date:
                type:
                  - string
                  - 'null'
                format: date
              rate_known:
                type: boolean
                description: >-
                  US only: false when the order applies but its rate is not on
                  file (it is then left out of the totals)
              continued_date:
                type:
                  - string
                  - 'null'
                format: date
                description: 'US only: when the order was last continued'
              scope_match:
                type: string
                enum:
                  - exact
                  - possible
                description: >-
                  US only: exact when the code is within the order's scope;
                  possible when the order lists more specific codes than the one
                  sent
              matched_hts:
                type: string
                description: 'US only: the code of the order''s scope that matched'
              rate_source:
                type:
                  - string
                  - 'null'
                description: >-
                  US only: where the rate on file comes from: official_notice
                  (the order's published notice) or reviewed (entered by hand
                  from it)
              hs_source:
                type:
                  - string
                  - 'null'
                description: >-
                  US only: where the order's scope codes come from, as
                  rate_source
              stage:
                type: string
                enum:
                  - provisional
                  - definitive
                description: GB and EU only
              rate_display:
                type: string
                description: 'GB and EU only: the rate as the tariff words it'
              exporter_rates:
                type: array
                items:
                  type: object
                  properties:
                    additional_code:
                      type:
                        - string
                        - 'null'
                      description: The exporter's additional code as declared
                    exporter:
                      type:
                        - string
                        - 'null'
                    rate:
                      type: string
                    rate_percent:
                      type: number
                    conditional:
                      type: boolean
                      description: true when the rate depends on a condition of the measure
                    legal_act:
                      type:
                        - string
                        - 'null'
                  required:
                    - additional_code
                    - exporter
                    - rate
                    - rate_percent
                    - conditional
                    - legal_act
                description: 'GB and EU only: the exporter-specific rates of the measure'
            required:
              - case_number
              - case_type
              - product_description
              - rate_percent
              - rate_range_min
              - rate_range_max
              - federal_register_citation
              - source_url
              - effective_date
          description: >-
            US only: orders that may cover the code (a more specific code is
            needed to know); not in the totals
        rate_warning:
          type: string
          description: 'US only: what the totals leave out, when they leave something out'
        lookup_failed:
          type: boolean
          description: >-
            US only: true when the orders could not be read; the totals are then
            0 and say nothing
        note:
          type: string
          description: 'GB and EU only: how the totals were built'
      required:
        - has_adcvd
        - total_ad_rate
        - total_cvd_rate
        - total_adcvd_rate
        - orders
    Error:
      type: object
      description: The body of every non-2xx answer
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - rate_limit_error
                - api_error
            code:
              type: string
              description: >-
                Stable machine-readable code, e.g. parameter_invalid,
                scope_missing, rate_limit_exceeded. Every code is listed at
                /docs/errors
            message:
              type: string
              description: For people; what `error` used to be as a plain string
            param:
              type:
                - string
                - 'null'
              description: The parameter the error is about, when there is one
            doc_url:
              type: string
              description: Where the code is documented
          required:
            - type
            - code
            - message
            - param
            - doc_url
        request_id:
          type: string
        details:
          type: array
          items: {}
          description: >-
            On a 400 for input with several problems: one entry per problem, a
            sentence or an object with `field` and `message`
        limit:
          type: integer
          description: 'On a 429: the limit that was reached'
        code:
          type: string
          deprecated: true
          description: 'Deprecated: use error.code'
        field:
          type: string
          deprecated: true
          description: 'Deprecated: use error.param'
      required:
        - error
        - request_id
      additionalProperties: true
  responses:
    BadRequest:
      description: >-
        Invalid input: an unknown or invalid parameter (error.param names it) or
        a body the route does not accept
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The key lacks the scope, or the organization lacks the module or is
        suspended
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such record in your organization
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    MethodNotAllowed:
      description: The route does not take this method; Allow lists the ones it takes
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
        Allow:
          $ref: '#/components/headers/Allow'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PayloadTooLarge:
      description: >-
        The body, or the data the request would read, is larger than the route
        allows
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UnsupportedMediaType:
      description: The Content-Type is not one the route reads
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: Per-minute or daily key limit; Retry-After is the real reset
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal error; quote request_id
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UpstreamError:
      description: >-
        The API could not be reached, or a service this route depends on failed.
        Try again shortly
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: The API, or this route, is not available right now
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Timeout:
      description: The route did not finish in time
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An InsightChain API key: ic_live_... for your organization, ic_test_...
        for its sandbox

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.