{
  "openapi": "3.0.1",
  "info": {
    "title": "India Stock Market MoneyControl API",
    "description": "(data source is moneycontrol)  ireda share price api , irfc share price api, tata power share price api nifty 50 api (Live Nifty 50, NSE & BSE) AI-ready with MCP support cheap.for better api structure visit here : { https://rapidapi.com/matepapava123/api/india-stock-market-moneycontrol-live-api }",
    "version": "2.0",
    "x-build-id": "TlAK3heknzVrDJAnm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fingolfin~india-stock-market-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fingolfin-india-stock-market-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/fingolfin~india-stock-market-api/runs": {
      "post": {
        "operationId": "runs-sync-fingolfin-india-stock-market-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/fingolfin~india-stock-market-api/run-sync": {
      "post": {
        "operationId": "run-sync-fingolfin-india-stock-market-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "action"
        ],
        "properties": {
          "action": {
            "title": "Action",
            "enum": [
              "stock_quote",
              "stock_search",
              "stock_chart",
              "delivery",
              "technicals",
              "analyst_rating",
              "price_target",
              "index_details",
              "index_constituents",
              "index_chart",
              "market_gainers",
              "market_losers",
              "market_active",
              "financials",
              "shareholding",
              "peers",
              "mf_search",
              "mf_nav",
              "mf_history",
              "ipo_upcoming",
              "ipo_listed",
              "fii_dii",
              "corporate_actions",
              "commodity_quote",
              "futures",
              "options_chain",
              "oi_trends",
              "oi_change",
              "news"
            ],
            "type": "string",
            "description": "What data to fetch. Each action has its own dedicated section below — fill in only the section that matches your choice.",
            "default": "stock_quote"
          },
          "symbol": {
            "title": "Symbol / Ticker",
            "type": "string",
            "description": "NSE ticker — e.g. RELIANCE, HDFCBANK, TCS, INFY, SBIN. Auto-resolves to Moneycontrol internal ID. For commodity_quote use MCX name (GOLD, SILVER, CRUDEOIL). For futures/options use F&O symbol (NIFTY, BANKNIFTY). Used for: stock_quote, stock_chart, delivery, technicals, analyst_rating, price_target, commodity_quote, futures, options_chain.",
            "default": "RELIANCE"
          },
          "exchange": {
            "title": "Exchange",
            "enum": [
              "nse",
              "bse"
            ],
            "type": "string",
            "description": "NSE or BSE. Used for stock_quote.",
            "default": "nse"
          },
          "query": {
            "title": "Search Query",
            "type": "string",
            "description": "Search term for stock_search (company name, ticker, or ISIN) or mf_search (fund name like 'HDFC top 100'). Used for: stock_search, mf_search.",
            "default": "HDFC"
          },
          "resolution": {
            "title": "Candle Resolution",
            "enum": [
              "1",
              "5",
              "15",
              "30",
              "60",
              "1d",
              "1w",
              "1M"
            ],
            "type": "string",
            "description": "Candle interval for stock_chart. Intraday: 1/5/15/30/60 (minutes). Daily/weekly/monthly: 1d/1w/1M. Used for: stock_chart.",
            "default": "1d"
          },
          "days": {
            "title": "Days of History",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Number of past calendar days to fetch (1–365). Used for: stock_chart.",
            "default": 30
          },
          "indexId": {
            "title": "Index ID",
            "type": "string",
            "description": "Moneycontrol index ID. Common values: 9=Nifty 50, 4=Sensex, 23=Bank Nifty, 27=Midcap 100, 52=Nifty Auto, 47=Fin Services, 113=Smallcap 50, 28=Nifty 100, 17=BSE-IT, 34=Realty. Used for: index_details, index_constituents, index_chart, market_gainers, market_losers, market_active.",
            "default": "9"
          },
          "chartRange": {
            "title": "Chart Range (Index)",
            "enum": [
              "1d",
              "5d",
              "1m",
              "3m",
              "6m",
              "1yr",
              "2yr",
              "5yr",
              "max"
            ],
            "type": "string",
            "description": "Time range for index_chart. Used for: index_chart.",
            "default": "1m"
          },
          "scId": {
            "title": "Moneycontrol Stock ID (scId)",
            "type": "string",
            "description": "Internal Moneycontrol ID (e.g. RI for Reliance, HDF01 for HDFC Bank, TCS, IT for Infosys). Required for financials, shareholding, peers. Optional override for delivery/technicals/analyst_rating/price_target — use if NSE ticker auto-resolution fails. Find via stock_search."
          },
          "statement": {
            "title": "Financial Statement",
            "enum": [
              "income",
              "balance-sheet",
              "cash-flow",
              "ratios"
            ],
            "type": "string",
            "description": "Which financial statement to fetch. Used for: financials.",
            "default": "income"
          },
          "statementType": {
            "title": "Standalone / Consolidated",
            "enum": [
              "standalone",
              "consolidated"
            ],
            "type": "string",
            "description": "Standalone = single entity. Consolidated = includes subsidiaries. Used for: financials.",
            "default": "standalone"
          },
          "duration": {
            "title": "Technical Duration",
            "enum": [
              "D",
              "W",
              "M"
            ],
            "type": "string",
            "description": "Timeframe for technical analysis signals. Used for: delivery, technicals, analyst_rating, price_target.",
            "default": "D"
          },
          "schemeCode": {
            "title": "Mutual Fund Scheme Code",
            "type": "integer",
            "description": "AMFI scheme code. Get it by running mf_search first. Example: 119551 = Axis Bluechip Fund. Used for: mf_nav, mf_history.",
            "default": 119551
          },
          "expiry": {
            "title": "Expiry Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Contract expiry date. Required for commodity_quote and options_chain. Check MCX/NSE calendar for valid dates. Used for: commodity_quote, options_chain."
          },
          "optionType": {
            "title": "Option Type",
            "enum": [
              "CE",
              "PE"
            ],
            "type": "string",
            "description": "CE = Call option, PE = Put option. Used for: options_chain.",
            "default": "CE"
          },
          "oiCategory": {
            "title": "OI Trend Category",
            "enum": [
              "all",
              "bullish",
              "bearish"
            ],
            "type": "string",
            "description": "Filter OI buildup trends. Used for: oi_trends.",
            "default": "all"
          },
          "oiExpiry": {
            "title": "OI Expiry",
            "type": "string",
            "description": "For oi_trends: use 'ALL' to include all expiries or a specific date. For oi_change: YYYY-MM-DD date is required. Used for: oi_trends, oi_change.",
            "default": "ALL"
          },
          "oiScId": {
            "title": "OI Symbol ID",
            "type": "string",
            "description": "Symbol identifier for oi_change. Use 'in;NSX' for Nifty, 'in;SEN' for Sensex, or a stock sc_id. Used for: oi_change.",
            "default": "in;NSX"
          },
          "oiAssetType": {
            "title": "OI Asset Type",
            "enum": [
              "I",
              "S"
            ],
            "type": "string",
            "description": "I = Index, S = Stock. Used for: oi_change.",
            "default": "I"
          },
          "oiType": {
            "title": "OI Data Type",
            "enum": [
              "INTRA",
              "HIST"
            ],
            "type": "string",
            "description": "INTRA = intraday OI changes, HIST = daily historical OI. Used for: oi_change.",
            "default": "INTRA"
          },
          "oiCount": {
            "title": "OI Strike Count",
            "minimum": 5,
            "maximum": 50,
            "type": "integer",
            "description": "Number of strikes around ATM (at-the-money) to include. Range: 5–50. Used for: oi_change.",
            "default": 13
          },
          "newsCategory": {
            "title": "News Category",
            "enum": [
              "top",
              "business",
              "markets",
              "stocks",
              "mutual_funds",
              "ipo",
              "economy",
              "commodities",
              "personal_finance"
            ],
            "type": "string",
            "description": "Category of financial news to fetch. Used for: news.",
            "default": "top"
          },
          "actionType": {
            "title": "Corporate Action Filter",
            "enum": [
              "all",
              "dividend",
              "bonus",
              "split",
              "rights",
              "buyback"
            ],
            "type": "string",
            "description": "Filter corporate actions by type. Used for: corporate_actions.",
            "default": "all"
          },
          "page": {
            "title": "Page Number",
            "minimum": 1,
            "type": "integer",
            "description": "Page number for paginated results (1-based). Used for: mf_history, corporate_actions, news.",
            "default": 1
          },
          "limit": {
            "title": "Results Limit",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of items to return (1–100). Used for: market_gainers, market_losers, market_active, index_constituents, mf_history, corporate_actions, news, oi_trends.",
            "default": 20
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}