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

# Search volume

> Get document and chunk volume statistics over time for a search query, aggregated by date with sentiment analysis.



## OpenAPI

````yaml /api-rest/openapi/openapi_search_service.json post /v1/search/volume
openapi: 3.0.3
info:
  title: Bigdata Search API
  version: 1.0.0
  description: >-
    Easily find the most relevant information from trusted sources and your own
    data. Use it to power agents that give accurate, real-time answers.
servers:
  - url: https://api.bigdata.com/
security:
  - ApiKeyAuth: []
paths:
  /v1/search/volume:
    post:
      tags:
        - Search
      summary: Search volume
      description: >-
        Get document and chunk volume statistics over time for a search query,
        aggregated by date with sentiment analysis.
      operationId: search_volume
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: object
                  description: Provide at least one of `text`, `texts` or `filters`.
                  properties:
                    text:
                      type: string
                      description: >-
                        Natural-language search string. Optional when `texts` or
                        `filters` are provided. Mutually exclusive with `texts`.
                      example: Tariffs impact
                    texts:
                      type: array
                      description: >-
                        Multiple natural-language search strings (max 5). Use
                        when a single query cannot capture all aspects of your
                        intent. Mutually exclusive with `text`.
                      items:
                        type: string
                      minItems: 1
                      maxItems: 5
                      example:
                        - supply chain disruptions
                        - logistics delays
                        - shipping bottlenecks
                    filters:
                      type: object
                      properties:
                        timestamp:
                          type: object
                          description: >-
                            Temporal filter to retrieve documents with a
                            timestamp within a start and end date. On this
                            endpoint, `start` and `end` can be at most one year
                            apart. Cover longer periods with multiple requests.
                          properties:
                            start:
                              type: string
                              format: date-time
                              description: >-
                                Start timestamp in ANSI format and UTC timezone
                                (e.g., '2024-01-01T00:00:00Z')
                            end:
                              type: string
                              format: date-time
                              description: >-
                                End timestamp in ANSI format and UTC timezone
                                (e.g., '2024-12-31T23:59:59Z')
                        document_type:
                          type: object
                          description: >-
                            Document type filter to retrieve documents of
                            specific types. Values can be either plain strings
                            (deprecated) or objects with 'type' and optional
                            'subtypes' for more precise filtering.
                          properties:
                            mode:
                              type: string
                              description: Filter mode for document type selection.
                              enum:
                                - INCLUDE
                                - EXCLUDE
                            values:
                              type: array
                              description: >-
                                Array of document type values to include or
                                exclude based on the mode. Each value can be a
                                string (deprecated) or an object with 'type' and
                                optional 'subtypes'.
                              items:
                                oneOf:
                                  - type: object
                                    description: >-
                                      Document type object with type and
                                      optional subtypes for more precise
                                      filtering.
                                    properties:
                                      type:
                                        type: string
                                        enum:
                                          - NEWS
                                          - TRANSCRIPT
                                          - FILING
                                          - TRANSCRIPT-PRESENTATION
                                          - INVESTMENT-RESEARCH
                                        description: The document type.
                                      subtypes:
                                        type: array
                                        description: >-
                                          Optional array of subtypes for more
                                          specific filtering. Supported subtypes
                                          vary by type:

                                          For
                                          [FILING](/getting-started/search/query_filters#filing):
                                          SEC_10_K, SEC_10_Q, SEC_8_K, SEC_20_F,
                                          SEC_S_1, SEC_S_3, SEC_6_K, SEC_424B2,
                                          SEC_DEF_14A, SEC_485APOS, SEC_485BPOS,
                                          SEC_497, SEC_497AD, SEC_497J, SEC_497K,
                                          SEC_497VPI, SEC_497VPSUB, SEC_497VPU,
                                          SEC_N_CSR, SEC_N_CSR_A, SEC_N_CSRS,
                                          SEC_N_CSRS_A, SEC_NPORT_P_A,
                                          SEC_NT_NCSR, SEC_NT_NCSR_A,
                                          SEC_NT_NPORT_P, SEC_NTFNCSR.


                                          For [TRANSCRIPT and
                                          TRANSCRIPT-PRESENTATION](/getting-started/search/query_filters#transcript):
                                          ANALYST_INVESTOR_SHAREHOLDER_MEETING,
                                          CONFERENCE_CALL, GENERAL_PRESENTATION,
                                          EARNINGS_CALL, EARNINGS_RELEASE,
                                          GUIDANCE_CALL, SALES_REVENUE_CALL,
                                          SALES_REVENUE_RELEASE,
                                          SPECIAL_SITUATION_MA,
                                          SHAREHOLDERS_MEETING,
                                          MANAGEMENT_PLAN_ANNOUNCEMENT,
                                          INVESTOR_CONFERENCE_CALL.


                                          For
                                          [INVESTMENT-RESEARCH](/getting-started/search/query_filters#investment-research):
                                          COMPANY_REPORT, COVERAGE_ANALYSIS,
                                          ECONOMIC_REPORT, FIXED_INCOME_REPORT,
                                          FUND_REPORT, FX_AND_DERIVATIVES_REPORT,
                                          GENERIC_REPORT, INDEX_REPORT,
                                          INDUSTRY_REPORT, MARKET_UPDATE,
                                          PORTFOLIO_STRATEGY, PORTFOLIO_SUMMARY,
                                          RATING_REPORT, RESEARCH_NOTE,
                                          THEMATIC_ANALYSIS.
                                        items:
                                          type: string
                                          enum:
                                            - SEC_10_K
                                            - SEC_10_Q
                                            - SEC_8_K
                                            - SEC_20_F
                                            - SEC_S_1
                                            - SEC_S_3
                                            - SEC_6_K
                                            - SEC_424B2
                                            - SEC_DEF_14A
                                            - SEC_485APOS
                                            - SEC_485BPOS
                                            - SEC_497
                                            - SEC_497AD
                                            - SEC_497J
                                            - SEC_497K
                                            - SEC_497VPI
                                            - SEC_497VPSUB
                                            - SEC_497VPU
                                            - SEC_N_CSR
                                            - SEC_N_CSR_A
                                            - SEC_N_CSRS
                                            - SEC_N_CSRS_A
                                            - SEC_NPORT_P_A
                                            - SEC_NT_NCSR
                                            - SEC_NT_NCSR_A
                                            - SEC_NT_NPORT_P
                                            - SEC_NTFNCSR
                                            - ANALYST_INVESTOR_SHAREHOLDER_MEETING
                                            - CONFERENCE_CALL
                                            - GENERAL_PRESENTATION
                                            - EARNINGS_CALL
                                            - EARNINGS_RELEASE
                                            - GUIDANCE_CALL
                                            - SALES_REVENUE_CALL
                                            - SALES_REVENUE_RELEASE
                                            - SPECIAL_SITUATION_MA
                                            - SHAREHOLDERS_MEETING
                                            - MANAGEMENT_PLAN_ANNOUNCEMENT
                                            - INVESTOR_CONFERENCE_CALL
                                            - COMPANY_REPORT
                                            - COVERAGE_ANALYSIS
                                            - ECONOMIC_REPORT
                                            - FIXED_INCOME_REPORT
                                            - FUND_REPORT
                                            - FX_AND_DERIVATIVES_REPORT
                                            - GENERIC_REPORT
                                            - INDEX_REPORT
                                            - INDUSTRY_REPORT
                                            - MARKET_UPDATE
                                            - PORTFOLIO_STRATEGY
                                            - RATING_REPORT
                                            - RESEARCH_NOTE
                                            - THEMATIC_ANALYSIS
                                            - PORTFOLIO_SUMMARY
                                    required:
                                      - type
                                  - type: string
                                    enum:
                                      - NEWS
                                      - TRANSCRIPT
                                      - FILING
                                      - TRANSCRIPT-PRESENTATION
                                      - INVESTMENT-RESEARCH
                                    deprecated: true
                                    description: >-
                                      Deprecated: Use the object format with
                                      'type' and optional 'subtypes' instead.
                          required:
                            - mode
                            - values
                        original_language:
                          type: object
                          description: >-
                            Original language filter to retrieve documents based
                            on the language in which the content was originally
                            published. Documents remain searchable in English
                            regardless of their original language: this filter
                            selects on the source language, not on the language
                            of the text returned.
                          properties:
                            mode:
                              type: string
                              description: Filter mode for original language selection.
                              enum:
                                - INCLUDE
                                - EXCLUDE
                            values:
                              type: array
                              description: >-
                                Array of original languages to include or
                                exclude based on the mode. Values are lowercase
                                ISO 639-1 codes, for example `en`, `de` or `ja`,
                                with `zh-Hans` and `zh-Hant` for Simplified and
                                Traditional Chinese. Values are not validated
                                against a fixed list, as new original languages
                                are onboarded over time.
                              items:
                                type: string
                              example:
                                - de
                                - ja
                          required:
                            - mode
                            - values
                        source:
                          type: object
                          description: >-
                            Source filter to retrieve documents from specific
                            sources.
                          properties:
                            mode:
                              type: string
                              description: Filter mode for source selection.
                              enum:
                                - INCLUDE
                                - EXCLUDE
                            values:
                              type: array
                              description: >-
                                Array of source IDs to include or exclude based
                                on the mode.
                              items:
                                type: string
                              example:
                                - ED68DC
                          required:
                            - mode
                            - values
                        category:
                          type: object
                          description: >-
                            Category filter to retrieve documents from specific
                            categories. This enables selecting a related set of
                            sources without having to add a long list of source
                            IDs.
                          properties:
                            mode:
                              type: string
                              description: Filter mode for category selection.
                              enum:
                                - INCLUDE
                                - EXCLUDE
                            values:
                              type: array
                              description: >-
                                Array of categories to include or exclude based
                                on the mode.
                              items:
                                type: string
                                enum:
                                  - expert_interviews
                                  - filings
                                  - my_files
                                  - news
                                  - news_premium
                                  - news_public
                                  - podcasts
                                  - research
                                  - research_academic_journals
                                  - research_investment_research
                                  - transcripts
                          required:
                            - mode
                            - values
                        tier:
                          type: object
                          description: >-
                            Content tier filter to retrieve documents from
                            specific content tiers. Tiers are how content is
                            packaged and priced under the token-based
                            consumption model.
                          properties:
                            mode:
                              type: string
                              description: Filter mode for content tier selection.
                              enum:
                                - INCLUDE
                                - EXCLUDE
                            values:
                              type: array
                              description: >-
                                Array of content tiers to include or exclude
                                based on the mode.
                              items:
                                type: string
                                enum:
                                  - corporate-communications
                                  - premium-news
                                  - expert-interviews
                                  - earnings-transcripts
                                  - regulatory-filings
                                  - podcasts
                                  - web
                                  - private-data
                          required:
                            - mode
                            - values
                        keyword:
                          type: object
                          description: >-
                            Keyword filter to retrieve chunks based on keyword
                            presence.
                          properties:
                            search_in:
                              type: string
                              enum:
                                - HEADLINE
                                - BODY
                                - ALL
                              description: >-
                                Specifies where to search for keywords: HEADLINE
                                (only in headlines), BODY (only in body text),
                                or ALL (both). Defaults to ALL if not provided.
                            all_of:
                              type: array
                              description: >-
                                Array of keywords that must all be present in
                                the chunk.
                              items:
                                type: string
                              example: []
                            any_of:
                              type: array
                              description: >-
                                Array of keywords where at least one must be
                                present in the chunk.
                              items:
                                type: string
                              example: []
                            none_of:
                              type: array
                              description: >-
                                Array of keywords that must not be present in
                                the chunk.
                              items:
                                type: string
                              example:
                                - operating
                          required:
                            - all_of
                            - any_of
                            - none_of
                        entity:
                          type: object
                          description: >-
                            Entity filter to retrieve chunks where entities were
                            identified.
                          properties:
                            search_in:
                              type: string
                              enum:
                                - HEADLINE
                                - BODY
                                - ALL
                              description: >-
                                Specifies where to search for entities: HEADLINE
                                (only in headlines), BODY (only in body text),
                                or ALL (both). Defaults to ALL if not provided.
                            all_of:
                              type: array
                              description: >-
                                Array of entity IDs that must all be present in
                                the chunk.
                              items:
                                type: string
                              example: []
                            any_of:
                              type: array
                              description: >-
                                Array of entity IDs where at least one must be
                                present in the chunk.
                              items:
                                type: string
                              example:
                                - 228D42
                            none_of:
                              type: array
                              description: >-
                                Array of entity IDs that must not be present in
                                the document.
                              items:
                                type: string
                              example: []
                          required:
                            - all_of
                            - any_of
                            - none_of
                        sentiment:
                          type: object
                          description: >-
                            Sentiment filter to retrieve chunks based on
                            sentiment score. All chunks contain a sentiment
                            score ranging from -1.00 to 1.00, indicating how
                            that chunk might impact the market and whether it
                            will have a positive or negative effect.
                          properties:
                            ranges:
                              type: array
                              description: >-
                                Array of sentiment score ranges to filter by.
                                Each range specifies a minimum and maximum
                                sentiment score.
                              items:
                                type: object
                                properties:
                                  min:
                                    type: number
                                    format: float
                                    description: Minimum sentiment score for this range.
                                    minimum: -1
                                    maximum: 1
                                    example: -1
                                  max:
                                    type: number
                                    format: float
                                    description: Maximum sentiment score for this range.
                                    minimum: -1
                                    maximum: 1
                                    example: -0.3
                                required:
                                  - min
                                  - max
                              example:
                                - min: -1
                                  max: -0.3
                                - min: 0.3
                                  max: 1
                            values:
                              type: array
                              description: >-
                                Array of sentiment categories to filter by.
                                **Sunsetting**: Use `ranges` instead for more
                                precise sentiment filtering.
                              deprecated: true
                              items:
                                type: string
                                enum:
                                  - positive
                                  - negative
                                  - neutral
                                description: >-
                                  Sentiment categories: 'positive' (0.1 to 1.0),
                                  'negative' (-0.1 to -1.0), 'neutral' (-0.1 to
                                  0.1)
                        reporting_entities:
                          type: array
                          description: >-
                            Select one or multiple companies for which the
                            returned documents must have been reported by.
                          items:
                            type: string
                          example:
                            - 228D42
                        reporting_periods:
                          type: array
                          description: >-
                            Specify one or multiple combinations of a year and a
                            quarter (e.g., Q1 2024, Q4 2023).
                          items:
                            type: object
                            properties:
                              fiscal_year:
                                type: integer
                                description: Fiscal year
                                example: 2024
                              fiscal_quarter:
                                type: integer
                                description: Fiscal quarter (1-4)
                                minimum: 1
                                maximum: 4
                                example: 3
                            required:
                              - fiscal_year
                              - fiscal_quarter
                          example:
                            - fiscal_year: 2024
                              fiscal_quarter: 3
                        topic:
                          type: object
                          description: >-
                            Topic filter to retrieve chunks based on topic
                            presence. Example: {"any_of":
                            ["business,stock-prices,stock-price-volatility,down,"]}
                            to find documents about stock price volatility.
                          properties:
                            search_in:
                              type: string
                              enum:
                                - HEADLINE
                                - BODY
                                - ALL
                              description: >-
                                Specifies where to search for topics: HEADLINE
                                (only in headlines), BODY (only in body text),
                                or ALL (both). Defaults to ALL if not provided.
                            all_of:
                              type: array
                              description: >-
                                Array of topics that must all be present in the
                                chunk.
                              items:
                                type: string
                              example: []
                            any_of:
                              type: array
                              description: >-
                                Array of topics where at least one must be
                                present in the chunk.
                              items:
                                type: string
                              example:
                                - >-
                                  business,stock-prices,stock-price-volatility,down,
                            none_of:
                              type: array
                              description: >-
                                Array of topics that must not be present in the
                                chunk.
                              items:
                                type: string
                              example: []
                          required:
                            - all_of
                            - any_of
                            - none_of
                        sections:
                          type: object
                          description: >-
                            Section filter to restrict transcript and expert
                            interview results to specific sections.
                          properties:
                            any_of:
                              type: array
                              description: >-
                                Array of transcript and expert interview
                                sections where at least one must be present.
                                Values are case-insensitive.
                              items:
                                type: string
                                enum:
                                  - MANAGEMENT-DISCUSSION
                                  - QUESTION-ANSWER
                              example:
                                - QUESTION-ANSWER
                          required:
                            - any_of
                        tag:
                          type: object
                          description: >-
                            Tag filter to retrieve documents from uploaded files
                            that have been tagged with specific tags.
                          properties:
                            any_of:
                              type: array
                              description: >-
                                Array of tags where at least one must be present
                                in the uploaded file.
                              items:
                                type: string
                              example:
                                - research-report
                                - any-tag
                          required:
                            - any_of
                        document:
                          type: object
                          description: >-
                            Document filter to restrict the search to a list of
                            specified documents. Use document IDs (e.g., from a
                            previous search response) to search only within
                            those documents.
                          properties:
                            mode:
                              type: string
                              description: Filter mode for document selection.
                              enum:
                                - INCLUDE
                                - EXCLUDE
                            values:
                              type: array
                              description: >-
                                Array of document IDs to include or exclude
                                based on the mode.
                              items:
                                type: string
                              example:
                                - 3C54E042B2B19B244F57D3C6415439D1
                          required:
                            - mode
                            - values
                        chunk:
                          type: object
                          description: >-
                            Chunk filter to narrow the search to a particular
                            section within the document. Use when expanding the
                            context of a previously retrieved chunk (e.g., from
                            the 3rd chunk to the 7th). Useful to expand context
                            around a chunk that was previously retrieved. Chunk
                            indices are 1-based.
                          properties:
                            from:
                              type: integer
                              description: >-
                                1-based index of the first chunk to include in
                                the search range.
                              example: 3
                            to:
                              type: integer
                              description: >-
                                1-based index of the last chunk to include in
                                the search range (inclusive).
                              example: 7
                          required:
                            - from
                            - to
                    auto_enrich_filters:
                      type: boolean
                      description: >-
                        Advanced parameter that controls automatic enrichment of
                        filters using the query text. When set to true
                        (default), the system automatically extracts and adds
                        relevant filter values from the query text. Set to false
                        when you have created a strict query with specific
                        keywords and entity filters and you do not want any
                        extra values added to those filters.
                group_by:
                  type: array
                  description: >-
                    Break the volume down by where the matching documents come
                    from. Any combination of `source`, `tier`. `package` also
                    supported for enterprise users on unit-based consumption
                    model.
                  items:
                    type: string
                    enum:
                      - source
                      - tier
                      - package
                  minItems: 1
                  uniqueItems: true
                  example:
                    - source
              required:
                - query
              example:
                query:
                  text: Type a theme to get volume stats....
      responses:
        '200':
          description: Volume search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: object
                    description: Volume statistics aggregated by date and totals.
                    properties:
                      volume:
                        type: array
                        description: >-
                          Array of volume statistics for each date in the time
                          range.
                        items:
                          type: object
                          properties:
                            date:
                              type: string
                              format: date
                              description: Date in YYYY-MM-DD format.
                              example: '2025-01-01'
                            documents:
                              type: integer
                              description: >-
                                Number of documents matching the query on this
                                date.
                              example: 164
                            chunks:
                              type: integer
                              description: >-
                                Number of chunks matching the query on this
                                date.
                              example: 387
                            sentiment:
                              type: number
                              format: float
                              description: >-
                                Average sentiment score for chunks on this date,
                                ranging from -1.00 to 1.00.
                              example: -0.15
                          required:
                            - date
                            - documents
                            - chunks
                      total:
                        type: object
                        description: Aggregated totals across all dates in the time range.
                        properties:
                          documents:
                            type: integer
                            description: Total number of documents matching the query.
                            example: 3440
                          chunks:
                            type: integer
                            description: Total number of chunks matching the query.
                            example: 8196
                          sentiment:
                            type: number
                            format: float
                            description: >-
                              Average sentiment score across all chunks, ranging
                              from -1.00 to 1.00.
                            example: -0.18
                        required:
                          - documents
                          - chunks
                      groups:
                        type: object
                        description: >-
                          Present only when `group_by` was sent. Contains one
                          list per requested value, each sorted by `chunks`
                          descending.
                        properties:
                          sources:
                            type: array
                            description: >-
                              One row per source, at most 1,000 rows (the most
                              recently active sources are kept). Present when
                              `group_by` includes `source`.
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  description: >-
                                    Bigdata source id, as used by the `source`
                                    filter.
                                  example: B1A50F
                                documents:
                                  type: integer
                                  description: Number of distinct documents in this group.
                                  example: 58
                                chunks:
                                  type: integer
                                  description: Number of chunks in this group.
                                  example: 130
                              required:
                                - id
                                - documents
                                - chunks
                          tiers:
                            type: array
                            description: >-
                              One row per content tier. Present when `group_by`
                              includes `tier`.
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  description: >-
                                    Content tier, one of `premium-news`,
                                    `corporate-communications`,
                                    `expert-interviews`, `earnings-transcripts`,
                                    `regulatory-filings`, `podcasts`, `web` or
                                    `private-data`.
                                  example: premium-news
                                documents:
                                  type: integer
                                  description: Number of distinct documents in this group.
                                  example: 412
                                chunks:
                                  type: integer
                                  description: Number of chunks in this group.
                                  example: 889
                              required:
                                - id
                                - documents
                                - chunks
                          packages:
                            type: array
                            description: >-
                              One row per content package. A document can belong
                              to several packages, so counts may overlap and do
                              not add up to the totals. Present when `group_by`
                              includes `package` (enterprise users on unit-based
                              consumption model).
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  description: Package, as shown in the Bigdata Store
                                  example: public
                                documents:
                                  type: integer
                                  description: Number of distinct documents in this group.
                                  example: 672
                                chunks:
                                  type: integer
                                  description: Number of chunks in this group.
                                  example: 889
                              required:
                                - id
                                - documents
                                - chunks
                    required:
                      - volume
                      - total
                  metadata:
                    type: object
                    description: Request metadata and timing information.
                    properties:
                      request_id:
                        type: string
                        description: Unique identifier for the request.
                        example: 473d22ea-7753-41d8-825a-4a4c7696f8cb
                      timestamp:
                        type: string
                        format: date-time
                        description: Timestamp when the response was generated.
                        example: '2025-12-15T17:34:34.181589+00:00'
                    required:
                      - request_id
                      - timestamp
                  usage:
                    $ref: '#/components/schemas/AggregateSearchUsage'
                required:
                  - results
                  - usage
components:
  schemas:
    AggregateSearchUsage:
      type: object
      description: Usage consumed by the request.
      oneOf:
        - $ref: '#/components/schemas/QuotaUsageUnits'
        - $ref: '#/components/schemas/QuotaUsageTokenCount'
    QuotaUsageUnits:
      title: Units
      type: object
      description: Usage under the query-units consumption model.
      properties:
        api_query_units:
          type: number
          format: float
          description: Number of API query units consumed by this request.
          example: 0.7
      required:
        - api_query_units
    QuotaUsageTokenCount:
      title: Tokens
      type: object
      description: Token usage for the request.
      properties:
        tokens:
          type: integer
          description: Total number of tokens consumed by this request.
          example: 17
      required:
        - tokens
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````

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