{
  "openapi": "3.0.1",
  "info": {
    "title": "🇲🇾 Bursa Malaysia Stock Screener — KLCI Quotes",
    "description": "Bursa Malaysia stock screener API — FBMKLCI / KLCI live quotes, market cap (MYR), P/E, P/B, dividend yield, ROE, sector. Maybank, Public Bank, Tenaga Nasional, CIMB universe. Bloomberg Terminal / FactSet / Refinitiv Eikon alternative for ASEAN / EM equity data. Pay-per-result.",
    "version": "0.0",
    "x-build-id": "XwdRwnXe5UQ3mugy4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgendata~bursa-malaysia-stock-screener/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgendata-bursa-malaysia-stock-screener",
        "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/nexgendata~bursa-malaysia-stock-screener/runs": {
      "post": {
        "operationId": "runs-sync-nexgendata-bursa-malaysia-stock-screener",
        "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/nexgendata~bursa-malaysia-stock-screener/run-sync": {
      "post": {
        "operationId": "run-sync-nexgendata-bursa-malaysia-stock-screener",
        "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",
        "properties": {
          "limit": {
            "title": "Maximum number of stocks to return",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of Bursa Malaysia (KLSE) listings to return. Use a small number (5-20) for quick smoke tests and exploration; larger values (30-100) to scan the full FTSE Bursa Malaysia KLCI or broader Bursa universe. Each returned stock is billed independently at $0.25 per stock.",
            "default": 30
          },
          "index": {
            "title": "Index universe",
            "enum": [
              "KLCI",
              "Bursa-all"
            ],
            "type": "string",
            "description": "Which Bursa Malaysia universe to screen. 'KLCI' returns the 30 FTSE Bursa Malaysia KLCI blue chips (Maybank, Public Bank, Tenaga Nasional, CIMB, IHH, Petronas Chemicals, Sime Darby, MISC, Axiata, MAXIS, etc.). 'Bursa-all' covers a broader Malaysian listing universe across the Main Market including mid-caps and ACE Market growth names.",
            "default": "KLCI"
          },
          "min_market_cap_myr_billion": {
            "title": "Minimum market capitalization (billion MYR)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter out small-cap stocks below this market capitalization threshold, expressed in billion Malaysian Ringgit (MYR). For reference: 1 billion MYR is approximately 215 million USD; the largest Malaysian blue chips such as Maybank, Public Bank, Tenaga Nasional and CIMB have market caps in the tens to low-hundreds of billions of MYR. Use 0 to disable the filter.",
            "default": 0
          },
          "sector": {
            "title": "Sector filter",
            "enum": [
              "",
              "Financials",
              "Utilities",
              "Consumer Staples",
              "Consumer Cyclical",
              "Communication Services",
              "Energy",
              "Basic Materials",
              "Industrials",
              "Healthcare",
              "Real Estate",
              "Technology"
            ],
            "type": "string",
            "description": "Optional sector filter applied to results. Malaysia's listed market is dominated by Financials (Maybank, Public Bank, CIMB, RHB, Hong Leong), Utilities (Tenaga Nasional, Petronas Gas, YTL Power), Consumer Staples (Nestle Malaysia, F&N, Dutch Lady), Basic Materials and palm oil plantations (Sime Darby Plantation, IOI Corp, Kuala Lumpur Kepong, Genting Plantations), Energy (Petronas Chemicals, Petronas Dagangan, Dialog Group), Healthcare (IHH Healthcare, KPJ), Communication Services (Maxis, Axiata, CelcomDigi, Telekom Malaysia), and Industrials/Real Estate (Sime Darby, Gamuda, IOI Properties). Leave blank to include all sectors.",
            "default": ""
          },
          "sharia_only": {
            "title": "Sharia-compliant stocks only",
            "type": "boolean",
            "description": "If true, return only stocks designated as Sharia-compliant by the Securities Commission Malaysia (SC) Shariah Advisory Council. Approximately 75-80% of Bursa Malaysia listed equities are Sharia-compliant (notable exclusions: conventional banks like Maybank, Public Bank, CIMB — though their Islamic banking subsidiaries are separately listed/compliant — and gambling/alcohol names like Genting and Carlsberg). Malaysia is the global hub for Islamic finance and Sharia-compliant equity is a meaningful niche universe.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}