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

# Get news sentiment for multiple symbols

> Get news sentiment for multiple symbols efficiently.

## Batch Processing

- Checks database cache first for all symbols
- Only fetches from API for symbols not in cache

## Usage

```
GET /api/graph/v1/news/sentiment/batch?symbols=AAPL,NVDA,TSLA
```



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/news/sentiment/batch
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/graph/v1/news/sentiment/batch:
    get:
      tags:
        - News
      summary: Get news sentiment for multiple symbols
      description: |-
        Get news sentiment for multiple symbols efficiently.

        ## Batch Processing

        - Checks database cache first for all symbols
        - Only fetches from API for symbols not in cache

        ## Usage

        ```
        GET /api/graph/v1/news/sentiment/batch?symbols=AAPL,NVDA,TSLA
        ```
      operationId: get_news_sentiment_batch_api_graph_v1_news_sentiment_batch_get
      parameters:
        - name: symbols
          in: query
          required: true
          schema:
            type: string
            description: Comma-separated list of symbols (max 10)
            examples:
              - AAPL,NVDA,TSLA
            title: Symbols
          description: Comma-separated list of symbols (max 10)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NewsSentimentBatchResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NewsSentimentBatchResponse:
      properties:
        results:
          additionalProperties:
            anyOf:
              - $ref: '#/components/schemas/NewsSentimentResponse'
              - type: 'null'
          type: object
          title: Results
          description: Symbol to sentiment mapping
        cached_count:
          type: integer
          title: Cached Count
          description: Number of results from cache
        api_count:
          type: integer
          title: Api Count
          description: Number of results from API
      type: object
      required:
        - results
        - cached_count
        - api_count
      title: NewsSentimentBatchResponse
      description: Batch news sentiment response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NewsSentimentResponse:
      properties:
        symbol:
          type: string
          title: Symbol
          description: Stock ticker symbol
        sentiment_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Sentiment Score
          description: Sentiment score 0-100 (0=bearish, 50=neutral, 100=bullish)
        sentiment_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Sentiment Label
          description: Sentiment classification (Bullish, Bearish, Neutral, etc.)
        articles_analyzed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Articles Analyzed
          description: Number of articles analyzed
        top_headlines:
          items:
            type: string
          type: array
          title: Top Headlines
          description: Top relevant headlines
        source:
          type: string
          title: Source
          description: Data source (fmp, database_cache)
        fetched_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Fetched At
          description: ISO timestamp of data fetch
      type: object
      required:
        - symbol
        - source
      title: NewsSentimentResponse
      description: News sentiment data for a symbol.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````