Sources › Finance › Kontan › Foreign Flow

Kontan Foreign Flow API

Daily net foreign flow into Indonesian equities.

KontanGET /dana-asing-sahamAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:kontan/dana-asing-saham

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.

Parameters

NameTypeInRequiredDescription
searchstringqueryNoFilter rows to those containing this text, case-insensitive Example: 2026-08

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:kontan/dana-asing-saham?search=2026-08" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:kontan/dana-asing-saham?search=2026-08", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:kontan/dana-asing-saham",
    params={"search":"2026-08"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:kontan",
  "data": {
    "count": 12,
    "items": [
      {
        "date": "2026-08-19",
        "midPrice": "933.53"
      },
      {
        "date": "2026-08-18",
        "midPrice": "-355.17"
      },
      {
        "date": "2026-08-14",
        "midPrice": "-1034.66"
      },
      {
        "date": "2026-08-13",
        "midPrice": "-1413.24"
      },
      {
        "date": "2026-08-12",
        "midPrice": "725.21"
      },
      {
        "date": "2026-08-11",
        "midPrice": "-687.84"
      },
      {
        "date": "2026-08-10",
        "midPrice": "829.69"
      },
      {
        "date": "2026-08-07",
        "midPrice": "1235.52"
      }
    ],
    "search": "2026-08",
    "columns": [
      {
        "field": "midPrice",
        "label": "Mid Price"
      },
      {
        "field": "date",
        "label": "Date"
      }
    ],
    "dataset": "dana-asing-saham",
    "provider": "kontan"
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the Kontan Foreign Flow API?

Send a GET request to https://api.zapi.ink/v1/finance:kontan/dana-asing-saham with your Zapi key in the x-api-key header. Parameters — optional: search. The response is JSON in the { project, data, timestamp } envelope.

What does the Kontan Foreign Flow API return?

Daily net foreign flow into Indonesian equities. The example response has the fields count, items, search, columns, dataset, provider. Each item in items has fields such as date, midPrice.

Is the Kontan Foreign Flow API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Kontan Foreign Flow API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "kontan" and endpoint "dana-asing-saham".

What other Kontan API endpoints are there?

It has 24 endpoints. Besides Foreign Flow: Channel Feed, Article Search, Article Archive, Article Detail, Trading Recap, Global Indices, and 17 more.