Brokers

Daily Net Foreign Inflow

Changed on

Daily net foreign-investor inflow (IDR) for one IDX ticker over a date range up to 90 days. Positive net_foreign_inflow means foreign investors were net buyers that day; negative means they were net sellers. foreign_share is the foreign fraction of the stock's two-sided turnover. Usually useful for tracking foreign sentiment and capital flow on a specific stock.

<Note>Pass IHSG (any case, with or without .JK) for the market-wide series: every ticker summed, one point per day, symbol echoed as IHSG. For every ticker's flow on one day use the Daily Full-Universe Foreign Flow endpoint.</Note>

<Note>Flow is attributed by the investor's origin, not the broker's. Every broker's daily activity on the stock is split into its foreign-investor and domestic-investor portions, and this endpoint sums the foreign portion across all brokers, so a foreign-owned broker's domestic clients count as domestic and a local broker's foreign clients count as foreign.</Note>

<Note>IDX symbol: 4 letters, optionally followed by .jk (case-insensitive). E.g. BBCA, GOTO.</Note>

<Note>Only foreign flow is returned because the exchange is a closed market: for any (symbol, date), foreign and domestic net values always sum to zero, so domestic flow is simply -net_foreign_inflow.</Note>

<Info>Costs 1 API credit.</Info>

get/v2/foreign-flow/{symbol}/

Request

  • Base URL
    https://api.sectors.app
  • URL
    https://api.sectors.app/v2/foreign-flow/{symbol}/
  • Auth
    API key in header Authorization

Path parameters

symbolstring required

IDX ticker symbol. E.g. BBCA, GOTO.

Query parameters

startstring

Start date (YYYY-MM-DD). Default: end - 90 days.

endstring

End date (YYYY-MM-DD). Default: today.

Response

Daily net foreign inflow for the symbol.

symbolstring required

Ticker symbol.

startstring date required

Range start date.

endstring date required

Range end date.

Changes

    • breaking

      the response property // became nullable for the status

    • info

      added the non-success response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status