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

# Market-centric news feed - markets grouped with their news timeline



## OpenAPI

````yaml /openapi/openapi.json get /news-feed/{category}/markets
openapi: 3.0.2
info:
  title: AGG API
  version: 1.0.0
  description: >-
    Prediction market aggregator REST API — authentication, users, venue events,
    venue markets, orderbooks, charts, and execution workflows.
servers:
  - url: https://api.agg.market
    description: Production
  - url: https://api.staging.agg.market
    description: Staging
security: []
paths:
  /news-feed/{category}/markets:
    get:
      tags:
        - Discovery
      summary: Market-centric news feed - markets grouped with their news timeline
      operationId: getMarketFeed
      parameters:
        - name: category
          in: path
          required: true
          schema:
            type: string
        - name: cursor
          in: query
          required: false
          schema:
            minLength: 1
            maxLength: 32
            pattern: ^[0-9]+$
            type: string
        - name: since
          in: query
          required: false
          schema:
            minLength: 1
            maxLength: 64
            type: string
        - name: before
          in: query
          required: false
          schema:
            minLength: 1
            maxLength: 64
            type: string
        - name: limit
          in: query
          required: false
          schema:
            minimum: 1
            maximum: 50
            type: integer
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - nextCursor
                  - hasMore
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                        - venueMarketId
                        - question
                        - venue
                        - yesPrice
                        - eventTitle
                        - eventId
                        - category
                        - articleCount
                        - articles
                      properties:
                        venueMarketId:
                          type: string
                        question:
                          type: string
                        venue:
                          type: string
                        yesPrice:
                          type: number
                        eventTitle:
                          type: string
                        eventId:
                          type: string
                        category:
                          type: string
                        articleCount:
                          type: number
                        articles:
                          type: array
                          items:
                            type: object
                            required:
                              - title
                              - url
                              - source
                              - imageUrl
                              - publishedAt
                              - summary
                              - relevanceScore
                              - seq
                              - addedAt
                            properties:
                              title:
                                type: string
                              url:
                                type: string
                              source:
                                type: string
                              imageUrl:
                                type: string
                                nullable: true
                              publishedAt:
                                type: string
                                nullable: true
                              summary:
                                type: string
                              relevanceScore:
                                type: number
                              seq:
                                type: number
                              addedAt:
                                type: string
                  nextCursor:
                    type: string
                    nullable: true
                  hasMore:
                    type: boolean
        '400':
          description: '400'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '401':
          description: '401'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '403':
          description: '403'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
      security:
        - appId: []
components:
  securitySchemes:
    appId:
      type: apiKey
      in: header
      name: x-app-id
      description: Your application ID. Required for all app-tier and user-tier routes.

````