Stock Market Analyzer avatar

Stock Market Analyzer

Pricing

from $5.00 / 1,000 symbols

Go to Apify Store
Stock Market Analyzer

Stock Market Analyzer

Analyzes IDX stocks to provide predictive dividend dates, trailing twelve months (TTM) yields, and key valuation metrics (PE/PB ratios).

Pricing

from $5.00 / 1,000 symbols

Rating

0.0

(0)

Developer

Budi Arsana

Budi Arsana

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

0

Monthly active users

a month ago

Last modified

Features

Limited permissions

Share

Indonesia Stock Data Scraper

Extract comprehensive stock statistics and dividend history for Indonesian public companies listed on the IDX (Indonesia Stock Exchange).

What does Indonesia Stock Data Scraper do?

This Actor extracts financial data for Indonesian stocks from various public financial sources. It provides key metrics including:

  • Real-time market price (as per available data sources)
  • Valuation ratios (PE Ratio, PB Ratio)
  • Dividend history and metrics (Trailing Twelve Months dividend amount, frequency)
  • Predicted next dividend date based on historical patterns

Why use Indonesia Stock Data Scraper?

  • Investment Analysis: Quickly gather fundamental data for multiple IDX stocks.
  • Dividend Tracking: Monitor dividend yields and predict upcoming dividend dates for your portfolio.
  • Valuation Comparison: Compare PE and PB ratios across different companies in the Indonesian market.
  • Automation: Schedule runs to keep your financial spreadsheets or databases updated with the latest IDX data.

How to use Indonesia Stock Data Scraper

  1. Create an account on Apify.
  2. Open the Actor in the Apify Console.
  3. Input the stock symbols you want to track (e.g., BBCA, BBNI, TLKM).
  4. Click Run and wait for the results.
  5. Download the data in JSON, CSV, Excel, or other formats.

Input

FieldTypeDescriptionDefault
symbolsArrayList of IDX stock symbols (e.g., ["BBCA", "BMRI"])["BBCA", "BBNI", "BMRI"]
proxyConfigurationObjectProxy settings for anti-bot protection{"useApifyProxy": true}

Example Input:

{
"symbols": ["BBCA", "TLKM", "ASII"],
"proxyConfiguration": {
"useApifyProxy": true
}
}

Output

The Actor stores results in a dataset. Each item represents one stock:

{
"symbol": "BBCA",
"market_price": 10200,
"market_price_timestamp": 1714748400,
"pe_ratio": 24.5,
"pb_ratio": 4.8,
"dividend_amount_ttm": 227.5,
"dividend_times_per_annum": 2,
"dividend_predicted_next_date": "2024-11-20"
}

Data Table

FieldDescription
symbolThe stock ticker symbol.
market_priceCurrent market price.
market_price_timestampin unix
pe_ratioPrice-to-Earnings ratio.
pb_ratioPrice-to-Book ratio.
dividend_amount_ttmTotal dividends paid in the last 12 months.
dividend_times_per_annumNumber of times dividends are paid per year.
dividend_predicted_next_dateEstimated date for the next dividend ex-date.

Pricing / Cost estimation

The Actor is designed to be highly efficient using CheerioCrawler. Scrapping 100 symbols typically consumes less than 0.05 Compute Units. Using Apify Proxy is recommended for stable performance.

Tips or Advanced options

  • Use the symbols field to process many stocks in a single run.
  • For large lists, ensure you have sufficient proxy resources.
  • Integrate with Google Sheets or other tools using Apify's webhooks.

FAQ, disclaimers, and support

  • Disclaimer: This Actor is for informational purposes only. Do not use this data for professional financial advice. Always verify with official IDX filings.
  • Support: If you find any issues or have feature requests, please open an issue in the Issues tab.

Output sanity tests

Run pnpm test for deterministic, offline parser and output checks. Saved BBCA pages were captured on 2026-10-29; the tests use a fixed reference date so timestamp freshness and dividend TTM do not depend on today. The older statistics fixture covers the alternative At close: date format.

Run pnpm test:live explicitly to check current BBCA and BBNI statistics and dividend pages on stockanalysis.com. This suite makes live requests and checks price, timestamp freshness, valuation ratios, dividend amounts, frequency, and predicted date format. It is excluded from the default suite and intended for separate daily runs. Failures include the symbol, field, and received value. HTTP failures identify the symbol and page; if runner IPs are blocked, report the failure in issue #2 before introducing a proxy.

How to release

Add an APIFY_TOKEN repository secret in GitHub's Actions secrets settings before the first release. Use an Apify API token for the account that owns this Actor; the workflow resolves the Actor using that account's username and the name in .actor/actor.json.

  1. Open the repository's Releases page in GitHub and choose Draft a new release.
  2. Choose or create a tag in the format vX.Y.Z, such as v1.0.0. A suffix is allowed, for example v1.1.0-rc.1. Generate the release notes automatically and review them.
  3. Tick Set as a pre-release to publish the build to beta; leave it unticked to publish to latest.
  4. Publish the release and follow the Release workflow in the repository's Actions tab.

The workflow runs lint, formatting, build, unit tests, and live output sanity tests before deploying. It derives package and Actor versions from the tag on the runner, pushes a temporary candidate build, and smoke-tests that exact build with BBCA input. Only a passing check promotes the candidate to latest or beta; a failing step leaves both release tags untouched. Releases run one at a time so the shared candidate tag cannot be overwritten by another release workflow. The workflow exports the successful build ID as EXPECTED_BUILD_ID for the smoke and promotion scripts; no local environment file is needed.

Apify versions are only MAJOR.MINOR, so release v1.0.0 ships as Actor version 1.0, and Apify numbers builds itself (1.0.1). To match GitHub, the promote step also tags the build with the release tag, written with hyphens because Apify reads dots as nested fields (v1-0-0), and sets the Actor version's label to latest (or beta), so the Source tab reads 1.0 (latest). Run a specific release with the build tag v1-0-0. Promoting latest is refused when a newer stable release tag already exists on the Actor, so publishing an older release cannot move latest backwards.

Inspect build details in the Actor's Builds tab in Apify Console and the GitHub workflow run. A live site outage can block verification; retry the workflow when the site recovers. Version changes happen only on the runner and are never committed back to the repository.