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

# Curated upcoming-events calendar entries (concise)

> Active admin-curated announcements overlapping the [from, to] window (defaults: now .. now+90d; window capped at 400 days). Each entry carries display fields, its optional competition/tag link and the derived ACTIVE counts (events with ≥1 tradeable market + those markets). `counts.events === 0` = the design's "Coming soon" state. Server-cached ~60s per window.



## OpenAPI

````yaml /api-reference/openapi.json get /api/upcoming
openapi: 3.1.0
info:
  title: PredictStreet API
  description: >-
    Client-facing HTTP API for the PredictStreet prediction-market platform.
    **Partner kinds.** Every authenticated endpoint resolves a request's
    *effective wallet* from the partner row. `single_wallet` partners bind to
    one `associatedWallet` set at creation. `multi_wallet` partners declare the
    actor on every request via an `X-User-Wallet: 0x<40-hex>` header. See the
    [Partner kinds](/auth/api-keys#partner-kinds) doc for the full contract.
  version: '2026-06-16'
  contact:
    name: PredictStreet partners
    email: partners@predictstreet.com
servers:
  - url: https://core.api.dev.predictstreet.sde.adifoundation.ai
    description: Testnet (partner integrator API — final domain TBD)
security: []
tags:
  - name: Deposits
    description: >-
      Gasless USDC deposit relay - submit a signed EIP-2612 permit and the
      platform broadcasts the on-chain deposit for you (no gas).
  - name: Events
    description: >-
      Polymarket-style event grouping with football metadata (group, stage,
      teams, tags).
  - name: Tags
    description: Curated tag taxonomy used to filter events.
  - name: Markets
    description: 'Public market data: list, detail, orderbook, trades, OHLC.'
  - name: Crypto
    description: >-
      Crypto price markets: the underlying-asset price curve and Up/Down series
      navigation. The markets themselves are ordinary binary markets — list them
      through /api/markets and /api/events.
  - name: Orders
    description: >-
      Signed-order place / cancel / read. Requires `X-Api-Key` with
      `orders:read` / `orders:write` scope; every write additionally requires an
      EIP-712 signature over the order.
  - name: Portfolio
    description: >-
      Balances, positions, trades, fees, vault info for the key's
      `associatedWallet`. Requires `X-Api-Key` with `portfolio:read` scope.
  - name: Matches
    description: >-
      A match groups several events into one fixture/card (1X2 + first-scorer +
      over-under under one matchup).
  - name: Vault
    description: >-
      Backend co-signatures for ERC-1155 split / merge, and recovery for
      off-chain locks when the corresponding chain tx never confirmed. Requires
      `X-Api-Key` with `vault:write` scope plus an EIP-712 signature over the
      operation.
  - name: Leaderboard
    description: Public ranked leaderboard across PnL / volume buckets.
  - name: Search
    description: Global search across users, events, and matches.
  - name: Withdrawal Security
    description: >-
      Self-service withdrawal 2FA (TOTP) and withdrawal-address whitelist. Same
      endpoints serve the web app (user sessions) and API-key integrators.
      Mutations need `vault:write`, reads `portfolio:read`. Both are opt-in per
      wallet and only gate withdrawals once the platform enables
      withdrawal-security enforcement.
  - name: Platform
    description: >-
      Public platform state: the contract registry, the platform fee
      configuration, the platform freeze flag and active notices. No
      authentication.
paths:
  /api/upcoming:
    get:
      tags:
        - Upcoming
      summary: Curated upcoming-events calendar entries (concise)
      description: >-
        Active admin-curated announcements overlapping the [from, to] window
        (defaults: now .. now+90d; window capped at 400 days). Each entry
        carries display fields, its optional competition/tag link and the
        derived ACTIVE counts (events with ≥1 tradeable market + those markets).
        `counts.events === 0` = the design's "Coming soon" state. Server-cached
        ~60s per window.
      operationId: UpcomingController_list
      parameters:
        - name: from
          required: false
          in: query
          description: ISO-8601 window start (inclusive, overlap semantics).
          schema:
            type: string
        - name: to
          required: false
          in: query
          description: ISO-8601 window end (inclusive, overlap semantics).
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpcomingListDto'
components:
  schemas:
    UpcomingListDto:
      type: object
      properties:
        upcoming:
          type: array
          items:
            $ref: '#/components/schemas/UpcomingEntryDto'
      required:
        - upcoming
    UpcomingEntryDto:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        description:
          type: object
          nullable: true
        imageUrl:
          type: object
          nullable: true
        category:
          type: object
          nullable: true
          description: Category-axis slug (see /api/verticals).
        startsAt:
          type: string
        endsAt:
          type: string
        competition:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/UpcomingLinkRefDto'
        tag:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/UpcomingLinkRefDto'
        counts:
          $ref: '#/components/schemas/UpcomingCountsDto'
      required:
        - id
        - title
        - description
        - imageUrl
        - category
        - startsAt
        - endsAt
        - competition
        - tag
        - counts
    UpcomingLinkRefDto:
      type: object
      properties:
        slug:
          type: string
          description: Slug — feed it back to /api/events?competition= or ?tag=.
        name:
          type: string
      required:
        - slug
        - name
    UpcomingCountsDto:
      type: object
      properties:
        events:
          type: number
          description: Events with ≥1 publicly tradeable market behind the link.
        markets:
          type: number
          description: Total publicly tradeable markets on those events.
      required:
        - events
        - markets

````

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