daily_open_close

Pack: polygon-io · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/daily_open_close for the schema, then POST the same URL with its arguments for the data.

Fetch official open, high, low, close, volume, and after-hours/pre-market prices for a US stock ticker on a specific date (YYYY-MM-DD) from Massive (formerly Polygon.io).

Parameters

NameTypeRequiredDescription
tickerstringyes
datestringyes
adjustedbooleanno

Example call

Arguments

{
  "ticker": "AAPL",
  "date": "2026-09-25"
}

curl

curl -X POST https://gateway.pipeworx.io/polygon-io/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"daily_open_close","arguments":{"ticker":"AAPL","date":"2026-09-25"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('daily_open_close', {
  "ticker": "AAPL",
  "date": "2026-09-25"
});

More examples

{
  "ticker": "MSFT",
  "date": "2026-09-25",
  "adjusted": true
}

Response shape

FieldTypeDescription
statusstringAPI response status
fromstringDate of data
symbolstringTicker symbol
opennumberOpening price
highnumberHigh price
lownumberLow price
closenumberClosing price
afterHoursnumberAfter-hours price
preMarketnumberPre-market price
volumenumberTrading volume
Full JSON Schema
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "API response status"
    },
    "from": {
      "type": "string",
      "description": "Date of data"
    },
    "symbol": {
      "type": "string",
      "description": "Ticker symbol"
    },
    "open": {
      "type": "number",
      "description": "Opening price"
    },
    "high": {
      "type": "number",
      "description": "High price"
    },
    "low": {
      "type": "number",
      "description": "Low price"
    },
    "close": {
      "type": "number",
      "description": "Closing price"
    },
    "afterHours": {
      "type": "number",
      "description": "After-hours price"
    },
    "preMarket": {
      "type": "number",
      "description": "Pre-market price"
    },
    "volume": {
      "type": "number",
      "description": "Trading volume"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the polygon-io pack
{
  "mcpServers": {
    "polygon-io": {
      "url": "https://gateway.pipeworx.io/polygon-io/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026