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

# /iec/publications/search

> Search the IEC Webstore catalogue of IEC, CISPR, IECEE, IECEx, IECQ and joint ISO/IEC, IEC/IEEE and IEC/ASTM publications. Narrows by free text, deliverable type, the form the document is sold in, publishing body, lifecycle status, file format, technical committee and subcommittee, ICS classification code and publication date range, and orders by reference, publication date or relevance. Each result is the full catalogue record: reference, title, abstract, edition, status, price in Swiss francs, page count, committee, ICS codes, the edition and amendment lifecycle and the citation graph.

**Price:** 20 credits per 100 results

**⚠️ Common errors:** 412: No publication matched the filter combination, 422: An ICS code, date or sort value is malformed, or sort=relevance was passed without a query



## OpenAPI

````yaml /openapi/gov-public-sector.json post /api/iec/publications/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/iec/publications/search:
    post:
      tags:
        - /iec
      summary: /iec/publications/search
      description: >-
        Search the IEC Webstore catalogue of IEC, CISPR, IECEE, IECEx, IECQ and
        joint ISO/IEC, IEC/IEEE and IEC/ASTM publications. Narrows by free text,
        deliverable type, the form the document is sold in, publishing body,
        lifecycle status, file format, technical committee and subcommittee, ICS
        classification code and publication date range, and orders by reference,
        publication date or relevance. Each result is the full catalogue record:
        reference, title, abstract, edition, status, price in Swiss francs, page
        count, committee, ICS codes, the edition and amendment lifecycle and the
        citation graph.


        **Price:** 20 credits per 100 results


        **⚠️ Common errors:** 412: No publication matched the filter
        combination, 422: An ICS code, date or sort value is malformed, or
        sort=relevance was passed without a query
      operationId: __api_iec_publications_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IecPublicationsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IecPublication'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IecPublicationsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        publication_types:
          anyOf:
            - items:
                $ref: '#/components/schemas/IecPublicationType'
              type: array
            - type: 'null'
        document_forms:
          anyOf:
            - items:
                $ref: '#/components/schemas/IecDocumentForm'
              type: array
            - type: 'null'
        publishers:
          anyOf:
            - items:
                $ref: '#/components/schemas/IecHeader'
              type: array
            - type: 'null'
        statuses:
          anyOf:
            - items:
                $ref: '#/components/schemas/IecStatus'
              type: array
            - type: 'null'
        file_formats:
          anyOf:
            - items:
                $ref: '#/components/schemas/IecFileFormat'
              type: array
            - type: 'null'
        committees:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        subcommittees:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        ics_codes:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        published_from:
          anyOf:
            - type: string
            - type: 'null'
        published_to:
          anyOf:
            - type: string
            - type: 'null'
        include_test_reports:
          type: boolean
          default: true
        sort:
          $ref: '#/components/schemas/IecSort'
          default: reference_asc
        count:
          type: integer
          maximum: 1000
          minimum: 1
      type: object
      required:
        - count
    IecPublication:
      properties:
        '@type':
          type: string
          default: IecPublication
        id:
          type: string
        urn:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        art_num:
          anyOf:
            - type: string
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        reference_parts:
          anyOf:
            - $ref: '#/components/schemas/IecReferenceParts'
            - type: 'null'
        publication_title:
          anyOf:
            - type: string
            - type: 'null'
        abstract:
          anyOf:
            - type: string
            - type: 'null'
        edition:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        document_form:
          anyOf:
            - type: string
            - type: 'null'
        publication_date:
          anyOf:
            - type: string
            - type: 'null'
        isbn:
          anyOf:
            - type: string
            - type: 'null'
        page_count:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - $ref: '#/components/schemas/IecPrice'
            - type: 'null'
        available_formats:
          items:
            type: string
          type: array
          default: []
        available_files:
          items:
            $ref: '#/components/schemas/IecAvailableFile'
          type: array
          default: []
        preview_languages:
          items:
            type: string
          type: array
          default: []
        deliverables:
          items:
            $ref: '#/components/schemas/IecDeliverable'
          type: array
          default: []
        committee:
          anyOf:
            - $ref: '#/components/schemas/IecCommittee'
            - type: 'null'
        ics:
          items:
            $ref: '#/components/schemas/IecIcsCode'
          type: array
          default: []
        classifications:
          items:
            $ref: '#/components/schemas/IecClassification'
          type: array
          default: []
        lifecycle:
          items:
            $ref: '#/components/schemas/IecLifecycleEntry'
          type: array
          default: []
        related_publications:
          items:
            $ref: '#/components/schemas/IecRelatedPublication'
          type: array
          default: []
        referenced_by:
          items:
            $ref: '#/components/schemas/IecRelatedPublication'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    IecPublicationType:
      type: string
      enum:
        - IS
        - TRF
        - TR
        - TS
        - PAS
        - GUIDE
        - SRD
        - OTHER
        - WP
        - STTR
        - TEC
        - TMOP
    IecDocumentForm:
      type: string
      enum:
        - STANDARD
        - PUBLICATION
        - CONSOLIDATED
        - REDLINE
        - COMMENTED
        - EXTENDED
        - PACK
        - PRERELEASE
        - SERIES
    IecHeader:
      type: string
      enum:
        - IEC
        - ISO/IEC
        - IECEE
        - ISO
        - CISPR
        - ISO/IEC/IEEE
        - IECEx
        - IEC/IEEE
        - IECQ
        - IEC/ASTM
        - IEC/ISO
        - IEC/ISO/IEEE
    IecStatus:
      type: string
      enum:
        - PUBLISHED
        - REVISED
        - REPLACED
        - WITHDRAWN
    IecFileFormat:
      type: string
      enum:
        - PDF
        - DOC
        - XML
        - TRF
    IecSort:
      type: string
      enum:
        - reference_asc
        - reference_desc
        - publication_date_asc
        - publication_date_desc
        - relevance
    IecReferenceParts:
      properties:
        '@type':
          type: string
          default: IecReferenceParts
        head:
          anyOf:
            - type: string
            - type: 'null'
        number:
          anyOf:
            - type: string
            - type: 'null'
        part:
          anyOf:
            - type: string
            - type: 'null'
        section:
          anyOf:
            - type: string
            - type: 'null'
        amendment:
          anyOf:
            - type: string
            - type: 'null'
        corrigendum:
          anyOf:
            - type: string
            - type: 'null'
        version:
          anyOf:
            - type: string
            - type: 'null'
        issue:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecPrice:
      properties:
        '@type':
          type: string
          default: IecPrice
        amount:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecAvailableFile:
      properties:
        '@type':
          type: string
          default: IecAvailableFile
        file_format:
          anyOf:
            - type: string
            - type: 'null'
        language:
          anyOf:
            - type: string
            - type: 'null'
        file_type:
          anyOf:
            - type: string
            - type: 'null'
        has_full_pdf:
          anyOf:
            - type: boolean
            - type: 'null'
        has_supporting_content:
          anyOf:
            - type: boolean
            - type: 'null'
        has_zipped_document:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    IecDeliverable:
      properties:
        '@type':
          type: string
          default: IecDeliverable
        art_num:
          anyOf:
            - type: string
            - type: 'null'
        deliverable_type:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        languages:
          items:
            type: string
          type: array
          default: []
        last_update:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecCommittee:
      properties:
        '@type':
          type: string
          default: IecCommittee
        level_1:
          anyOf:
            - type: string
            - type: 'null'
        level_1_title:
          anyOf:
            - type: string
            - type: 'null'
        level_2:
          anyOf:
            - type: string
            - type: 'null'
        level_2_title:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecIcsCode:
      properties:
        '@type':
          type: string
          default: IecIcsCode
        level_1:
          anyOf:
            - type: string
            - type: 'null'
        level_1_title:
          anyOf:
            - type: string
            - type: 'null'
        level_2:
          anyOf:
            - type: string
            - type: 'null'
        level_2_title:
          anyOf:
            - type: string
            - type: 'null'
        level_3:
          anyOf:
            - type: string
            - type: 'null'
        level_3_title:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecClassification:
      properties:
        '@type':
          type: string
          default: IecClassification
        classification_type:
          anyOf:
            - type: string
            - type: 'null'
        value:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecLifecycleEntry:
      properties:
        '@type':
          type: string
          default: IecLifecycleEntry
        id:
          anyOf:
            - type: string
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        edition:
          anyOf:
            - type: string
            - type: 'null'
        publication_date:
          anyOf:
            - type: string
            - type: 'null'
        forecast_publication_date:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        stage:
          anyOf:
            - type: string
            - type: 'null'
        is_in_progress:
          anyOf:
            - type: boolean
            - type: 'null'
        is_national_committee_only:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    IecRelatedPublication:
      properties:
        '@type':
          type: string
          default: IecRelatedPublication
        id:
          anyOf:
            - type: string
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````