Polygon · Arazzo Workflow

Polygon Ticker Discovery and Profile

Version 1.0.0

Search active stock tickers, resolve the top match's details, and pull its recent bars.

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

Provider

polygon

Workflows

ticker-discovery
Discover a ticker by search term and build a profile from its details and bars.
Searches active stock tickers, resolves the first match's details, and retrieves recent aggregate bars for that symbol.
3 steps inputs: from, search, to outputs: bars, marketCap, matchedName, matchedTicker
1
searchTickers
Search active US stock tickers matching the supplied term, returning the closest match first.
2
resolveDetails
Resolve detailed reference information for the matched ticker, including market cap and primary exchange.
3
getRecentBars
Retrieve recent daily aggregate bars for the matched ticker over the requested date range.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Polygon Ticker Discovery and Profile
  summary: Search active stock tickers, resolve the top match's details, and pull its recent bars.
  description: >-
    A discovery flow that turns a free-text search into a concrete equity
    profile. The workflow searches the reference tickers endpoint for active
    stock symbols matching a query, takes the first match, resolves its full
    reference details, and then pulls recent aggregate bars for that symbol.
    The matched ticker resolved in the first step feeds the path parameters
    of the following two steps. 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: aggregatesApi
  url: ../openapi/polygon-aggregates-api-openapi.yml
  type: openapi
- name: tickersApi
  url: ../openapi/polygon-tickers-api-openapi.yml
  type: openapi
workflows:
- workflowId: ticker-discovery
  summary: Discover a ticker by search term and build a profile from its details and bars.
  description: >-
    Searches active stock tickers, resolves the first match's details, and
    retrieves recent aggregate bars for that symbol.
  inputs:
    type: object
    required:
    - search
    - from
    - to
    properties:
      search:
        type: string
        description: Free-text search term matched against ticker name or symbol.
      from:
        type: string
        description: Start of the aggregate window (YYYY-MM-DD).
      to:
        type: string
        description: End of the aggregate window (YYYY-MM-DD).
  steps:
  - stepId: searchTickers
    description: >-
      Search active US stock tickers matching the supplied term, returning
      the closest match first.
    operationId: listTickers
    parameters:
    - name: search
      in: query
      value: $inputs.search
    - name: market
      in: query
      value: stocks
    - name: active
      in: query
      value: true
    - name: limit
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      matchedTicker: $response.body#/results/0/ticker
      matchedName: $response.body#/results/0/name
  - stepId: resolveDetails
    description: >-
      Resolve detailed reference information for the matched ticker,
      including market cap and primary exchange.
    operationId: getTickerDetails
    parameters:
    - name: ticker
      in: path
      value: $steps.searchTickers.outputs.matchedTicker
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      marketCap: $response.body#/results/market_cap
      primaryExchange: $response.body#/results/primary_exchange
      description: $response.body#/results/description
  - stepId: getRecentBars
    description: >-
      Retrieve recent daily aggregate bars for the matched ticker over the
      requested date range.
    operationId: getStocksAggregateBars
    parameters:
    - name: stocksTicker
      in: path
      value: $steps.searchTickers.outputs.matchedTicker
    - name: multiplier
      in: path
      value: 1
    - name: timespan
      in: path
      value: day
    - name: from
      in: path
      value: $inputs.from
    - name: to
      in: path
      value: $inputs.to
    - name: adjusted
      in: query
      value: true
    - name: sort
      in: query
      value: asc
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      bars: $response.body#/results
      resultsCount: $response.body#/resultsCount
  outputs:
    matchedTicker: $steps.searchTickers.outputs.matchedTicker
    matchedName: $steps.searchTickers.outputs.matchedName
    marketCap: $steps.resolveDetails.outputs.marketCap
    bars: $steps.getRecentBars.outputs.bars

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-ticker-discovery-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.