Alpha Vantage · Capability

Alpha Vantage API — Stock Time Series

Alpha Vantage API — Stock Time Series. 1 operations. Lead operation: Alpha Vantage Query Stock Time Series. Self-contained Naftiko capability covering one Alpha Vantage business surface.

Run with Naftiko Alpha VantageStock Time Series

What You Can Do

GET
Querytimeseries — Alpha Vantage Query Stock Time Series
/v1/query

MCP Tools

alpha-vantage-query-stock-time

Alpha Vantage Query Stock Time Series

read-only idempotent

Capability Spec

alpha-vantage-stock-time-series.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Alpha Vantage API — Stock Time Series
  description: 'Alpha Vantage API — Stock Time Series. 1 operations. Lead operation: Alpha Vantage Query Stock Time Series.
    Self-contained Naftiko capability covering one Alpha Vantage business surface.'
  tags:
  - Alpha Vantage
  - Stock Time Series
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ALPHA_VANTAGE_API_KEY: ALPHA_VANTAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: alpha-vantage-stock-time-series
    baseUri: https://www.alphavantage.co
    description: Alpha Vantage API — Stock Time Series business capability. Self-contained, no shared references.
    resources:
    - name: query
      path: /query
      operations:
      - name: querytimeseries
        method: GET
        description: Alpha Vantage Query Stock Time Series
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: function
          in: query
          type: string
          description: API function to call
          required: true
        - name: symbol
          in: query
          type: string
          description: Stock ticker symbol (required for most functions)
        - name: interval
          in: query
          type: string
          description: Time interval for intraday or indicator data
        - name: outputsize
          in: query
          type: string
          description: Amount of data to return
        - name: datatype
          in: query
          type: string
          description: Output format
        - name: time_period
          in: query
          type: integer
          description: Number of data points to calculate technical indicators
        - name: series_type
          in: query
          type: string
          description: Price series type for technical indicators
        - name: from_currency
          in: query
          type: string
          description: Source currency code for forex/crypto queries
        - name: to_currency
          in: query
          type: string
          description: Destination currency code for forex/crypto queries
        - name: tickers
          in: query
          type: string
          description: Comma-separated ticker symbols for news sentiment
        - name: keywords
          in: query
          type: string
          description: Search keywords for symbol search
        - name: limit
          in: query
          type: integer
          description: Number of results to return
        - name: apikey
          in: query
          type: string
          description: Alpha Vantage API key
          required: true
    authentication:
      type: apikey
      key: apikey
      value: '{{env.ALPHA_VANTAGE_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: alpha-vantage-stock-time-series-rest
    port: 8080
    description: REST adapter for Alpha Vantage API — Stock Time Series. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/query
      name: query
      description: REST surface for query.
      operations:
      - method: GET
        name: querytimeseries
        description: Alpha Vantage Query Stock Time Series
        call: alpha-vantage-stock-time-series.querytimeseries
        with:
          function: rest.function
          symbol: rest.symbol
          interval: rest.interval
          outputsize: rest.outputsize
          datatype: rest.datatype
          time_period: rest.time_period
          series_type: rest.series_type
          from_currency: rest.from_currency
          to_currency: rest.to_currency
          tickers: rest.tickers
          keywords: rest.keywords
          limit: rest.limit
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: alpha-vantage-stock-time-series-mcp
    port: 9090
    transport: http
    description: MCP adapter for Alpha Vantage API — Stock Time Series. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: alpha-vantage-query-stock-time
      description: Alpha Vantage Query Stock Time Series
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: alpha-vantage-stock-time-series.querytimeseries
      with:
        function: tools.function
        symbol: tools.symbol
        interval: tools.interval
        outputsize: tools.outputsize
        datatype: tools.datatype
        time_period: tools.time_period
        series_type: tools.series_type
        from_currency: tools.from_currency
        to_currency: tools.to_currency
        tickers: tools.tickers
        keywords: tools.keywords
        limit: tools.limit
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.