Polygon · Arazzo Workflow

Polygon Grouped Market Scan

Version 1.0.0

Check market status, pull grouped daily bars for all US stocks, and profile one symbol.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub FinanceFintechMarket DataStocksOptionsForexCryptoIndicesFuturesWebSocketsReal-TimeHistoricalPublic APIsArazzoWorkflows

Provider

polygon

Workflows

grouped-market-scan
Scan grouped daily bars for all US stocks and profile a single ticker.
Checks market status, pulls grouped daily bars for all US stocks on a date, and resolves reference details for one chosen ticker.
3 steps inputs: date, focusTicker outputs: bars, focusMarketCap, focusName, marketStatus
1
checkMarketStatus
Get the current trading status for US markets to establish context for the grouped scan.
2
getGroupedBars
Retrieve daily aggregate bars for all US stock tickers on the requested date.
3
profileFocusTicker
Resolve detailed reference information for the chosen focus ticker so a single name can be profiled against the broad market read.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Polygon Grouped Market Scan
  summary: Check market status, pull grouped daily bars for all US stocks, and profile one symbol.
  description: >-
    A whole-market scan flow that pulls a single day's bars for every US
    stock and then drills into one symbol of interest. The workflow checks
    the current market status, retrieves grouped daily bars for all US
    stocks on a given date, and resolves the reference details for a chosen
    ticker so a single name can be profiled against the broad market read.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: dailybarsApi
  url: ../openapi/polygon-dailybars-api-openapi.yml
  type: openapi
- name: marketsApi
  url: ../openapi/polygon-markets-api-openapi.yml
  type: openapi
- name: tickersApi
  url: ../openapi/polygon-tickers-api-openapi.yml
  type: openapi
workflows:
- workflowId: grouped-market-scan
  summary: Scan grouped daily bars for all US stocks and profile a single ticker.
  description: >-
    Checks market status, pulls grouped daily bars for all US stocks on a
    date, and resolves reference details for one chosen ticker.
  inputs:
    type: object
    required:
    - date
    - focusTicker
    properties:
      date:
        type: string
        description: The date to pull grouped daily bars for (YYYY-MM-DD).
      focusTicker:
        type: string
        description: A single ticker to profile against the broad market read (e.g. AAPL).
  steps:
  - stepId: checkMarketStatus
    description: >-
      Get the current trading status for US markets to establish context
      for the grouped scan.
    operationId: getCurrentMarketStatus
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      marketStatus: $response.body#/market
      serverTime: $response.body#/serverTime
  - stepId: getGroupedBars
    description: >-
      Retrieve daily aggregate bars for all US stock tickers on the
      requested date.
    operationId: getStocksGroupedDailyBars
    parameters:
    - name: date
      in: path
      value: $inputs.date
    - name: adjusted
      in: query
      value: true
    - name: include_otc
      in: query
      value: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      bars: $response.body#/results
      resultsCount: $response.body#/resultsCount
  - stepId: profileFocusTicker
    description: >-
      Resolve detailed reference information for the chosen focus ticker so
      a single name can be profiled against the broad market read.
    operationId: getTickerDetails
    parameters:
    - name: ticker
      in: path
      value: $inputs.focusTicker
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      name: $response.body#/results/name
      primaryExchange: $response.body#/results/primary_exchange
      marketCap: $response.body#/results/market_cap
  outputs:
    marketStatus: $steps.checkMarketStatus.outputs.marketStatus
    bars: $steps.getGroupedBars.outputs.bars
    focusName: $steps.profileFocusTicker.outputs.name
    focusMarketCap: $steps.profileFocusTicker.outputs.marketCap

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/polygon-grouped-market-scan-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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