SquawkFlow Public API v1 API

The Public API v1 API from SquawkFlow — 7 operation(s) for public api v1.

GitHub OpenAPI

Operations 7

GET /api/v1/gex/spx Current SPX gamma exposure #
GET /api/v1/gex/spx/historical Historical SPX gamma snapshot #
GET /api/v1/dark-pool/prints Dark-pool prints (unavailable — no licensed feed) #
GET /api/v1/sectors/rotation Current 11-sector performance #
GET /api/v1/options/max-pain/{symbol} Options max pain #
GET /api/v1/options/flow/unusual Largest options activity cells from full-chain captures #
GET /api/v1/vix/term-structure VIX futures term structure #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/squawkflow-com:squawkflow-com-public-api-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

squawkflow-com-public-api-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SquawkFlow Public Public API v1 API
  description: Rate-limited market structure data from SquawkFlow. Anonymous requests receive 60 requests/hour per IP; free beta keys receive 10,000 requests/day per key.
  version: 1.0.0
servers:
- url: https://api.squawkflow.com
  description: Production
- url: http://localhost:8501
  description: Local development
tags:
- name: Public API v1
paths:
  /api/v1/gex/spx:
    get:
      tags:
      - Public API v1
      summary: Current SPX gamma exposure
      description: Current dealer gamma exposure and key SPX levels. Cached for 25 seconds.
      operationId: get_spx_gex_api_v1_gex_spx_get
      parameters:
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
  /api/v1/gex/spx/historical:
    get:
      tags:
      - Public API v1
      summary: Historical SPX gamma snapshot
      description: Latest stored SPX gamma snapshot for a UTC calendar date.
      operationId: get_historical_spx_gex_api_v1_gex_spx_historical_get
      parameters:
      - name: date
        in: query
        required: true
        schema:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
          description: UTC date (YYYY-MM-DD)
          title: Date
        description: UTC date (YYYY-MM-DD)
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
  /api/v1/dark-pool/prints:
    get:
      tags:
      - Public API v1
      summary: Dark-pool prints (unavailable — no licensed feed)
      description: Retired 2026-08-25. This endpoint served MODELED prints from darkpool_service while describing them as 'recent public dark-pool prints' — real-time FINRA ADF prints require a licensed feed we do not carry, and the developer API must never present modeled data as real. Kept as a stub so existing integrations get a clear reason instead of a 404. The DIX series remains real and available.
      operationId: get_dark_pool_prints_api_v1_dark_pool_prints_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: min_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100000000
          minimum: 0
          default: 100000
          title: Min Size
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
  /api/v1/sectors/rotation:
    get:
      tags:
      - Public API v1
      summary: Current 11-sector performance
      description: Performance, leaders, and laggards for the 11 GICS sector ETFs.
      operationId: get_sector_rotation_api_v1_sectors_rotation_get
      parameters:
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
  /api/v1/options/max-pain/{symbol}:
    get:
      tags:
      - Public API v1
      summary: Options max pain
      description: Max-pain calculation for an allowlisted symbol, from the delayed option chain. For SPX it is computed from the prior session's settled open interest when that is at least as new as the chain's (`oiSource` names the input; `oiDate` is the session it describes).
      operationId: get_options_max_pain_api_v1_options_max_pain__symbol__get
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
          title: Symbol
      - name: expiration
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          - type: 'null'
          title: Expiration
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
  /api/v1/options/flow/unusual:
    get:
      tags:
      - Public API v1
      summary: Largest options activity cells from full-chain captures
      description: 'Options activity as ticker x expiry x call/put cells of full options chain captures, largest estimated premium first. Schema version 3 (2026-10-08): `data` is an object with `schemaVersion` and `cells`; each cell holds at least 3 traded contracts and is published at least 15 minutes after the capture it describes (`asOf`). No per-contract quote, volume or open interest is returned, and nothing is derived from a flagged subset of contracts.'
      operationId: get_unusual_options_flow_api_v1_options_flow_unusual_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Maximum cells returned
          default: 25
          title: Limit
        description: Maximum cells returned
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
  /api/v1/vix/term-structure:
    get:
      tags:
      - Public API v1
      summary: VIX futures term structure
      description: Official delayed VIX monthly futures settlement curve.
      operationId: get_vix_term_structure_api_v1_vix_term_structure_get
      parameters:
      - name: key
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: API key; prefer the X-API-Key header
          title: Key
        description: API key; prefer the X-API-Key header
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - {}
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      x-squawkflow-rate-limits:
        anonymous: 60/hour/IP
        free_beta: 10000/day/key
components:
  schemas:
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Recommended authentication method.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: key
      description: Convenience alternative; avoid in production logs.