Upstox · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for OpenAPI definition History API

4 actions 4 updates phrasing extends openapi/upstox-history-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Upstox's API. It is a proposal applied on top of the contract, not a document Upstox publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/v2/historical-candle/{instrumentKey}/{interval}/{to_date}'].get
$.paths['/v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date}'].get
$.paths['/v2/historical-candle/intraday/{instrumentKey}/{interval}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for OpenAPI definition History API
  version: 1.0.0
extends: openapi/upstox-history-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/v2/historical-candle/{instrumentKey}/{interval}/{to_date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical candles up to an end date
      effect: read
      questions:
      - How do I get past daily candles for a stock ending on a certain date without picking a start?
      - How much history comes back for weekly or monthly candles up to an end date?
      instructions:
      - text: Get {interval} candles for {instrumentKey} up to {to_date}.
        slots:
          interval: path.interval
          instrumentKey: path.instrumentKey
          to_date: path.to_date
      - text: Pull the default lookback of {interval} OHLC data for {instrumentKey} ending {to_date}.
        slots:
          interval: path.interval
          instrumentKey: path.instrumentKey
          to_date: path.to_date
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical candles for a date range
      effect: read
      questions:
      - Can I fetch OHLC candles between a specific start and end date?
      - How do I get 30-minute bars for a stock across a chosen date range?
      instructions:
      - text: Get {interval} candles for {instrumentKey} from {from_date} to {to_date}.
        slots:
          interval: path.interval
          instrumentKey: path.instrumentKey
          from_date: path.from_date
          to_date: path.to_date
      - text: Download OHLC bars at {interval} for {instrumentKey} between {from_date} and {to_date}.
        slots:
          interval: path.interval
          instrumentKey: path.instrumentKey
          from_date: path.from_date
          to_date: path.to_date
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/historical-candle/intraday/{instrumentKey}/{interval}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get today's intraday candles
      effect: read
      questions:
      - How do I get today's intraday candles for a stock while the market is open?
      - What OHLC bars has an instrument printed so far in the current session?
      instructions:
      - text: Get today's {interval} intraday candles for {instrumentKey}.
        slots:
          interval: path.interval
          instrumentKey: path.instrumentKey
      - text: Show the current session's OHLC bars for {instrumentKey} at {interval}.
        slots:
          instrumentKey: path.instrumentKey
          interval: path.interval
      method: generated
      generated: '2026-09-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/upstox-history-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.