Polygon · Arazzo Workflow

Polygon Ticker News Context

Version 1.0.0

Resolve a ticker's details, pull recent news, and read its previous close.

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

Provider

polygon

Workflows

ticker-news-context
Combine a ticker's details, recent news, and previous close.
Resolves ticker details, lists recent news for the symbol, and reads the previous trading session's close.
3 steps inputs: newsLimit, ticker outputs: articles, name, previousClose
1
resolveTicker
Resolve detailed reference information for the ticker to confirm it exists and capture its name.
2
listNews
List the most recent news articles mentioning the ticker, newest first.
3
getPreviousClose
Read the previous trading day's close so the news coverage can be anchored against the latest completed session.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Polygon Ticker News Context
  summary: Resolve a ticker's details, pull recent news, and read its previous close.
  description: >-
    A news-and-context flow that pairs qualitative coverage with a price
    anchor for a single equity. The workflow resolves the ticker's reference
    details, lists the most recent news articles mentioning the symbol, and
    reads its previous-close so headlines can be read alongside the latest
    completed session. 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: newsApi
  url: ../openapi/polygon-news-api-openapi.yml
  type: openapi
- name: tickersApi
  url: ../openapi/polygon-tickers-api-openapi.yml
  type: openapi
workflows:
- workflowId: ticker-news-context
  summary: Combine a ticker's details, recent news, and previous close.
  description: >-
    Resolves ticker details, lists recent news for the symbol, and reads
    the previous trading session's close.
  inputs:
    type: object
    required:
    - ticker
    properties:
      ticker:
        type: string
        description: The ticker symbol to pull news and context for (e.g. AAPL).
      newsLimit:
        type: integer
        description: Maximum number of news articles to return.
        default: 10
  steps:
  - stepId: resolveTicker
    description: >-
      Resolve detailed reference information for the ticker to confirm it
      exists and capture its name.
    operationId: getTickerDetails
    parameters:
    - name: ticker
      in: path
      value: $inputs.ticker
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      name: $response.body#/results/name
      homepageUrl: $response.body#/results/homepage_url
  - stepId: listNews
    description: >-
      List the most recent news articles mentioning the ticker, newest
      first.
    operationId: listTickerNews
    parameters:
    - name: ticker
      in: query
      value: $inputs.ticker
    - name: order
      in: query
      value: desc
    - name: limit
      in: query
      value: $inputs.newsLimit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      articles: $response.body#/results
      articleCount: $response.body#/count
  - stepId: getPreviousClose
    description: >-
      Read the previous trading day's close so the news coverage can be
      anchored against the latest completed session.
    operationId: getStocksPreviousClose
    parameters:
    - name: stocksTicker
      in: path
      value: $inputs.ticker
    - name: adjusted
      in: query
      value: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      previousClose: $response.body#/results/0/c
  outputs:
    name: $steps.resolveTicker.outputs.name
    articles: $steps.listNews.outputs.articles
    previousClose: $steps.getPreviousClose.outputs.previousClose

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-news-context-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.