Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apify data Actors: runnable examples

Working code for sixteen data-extraction Actors on the Apify platform, published under glitchbound. Every Actor is built on an official or public API rather than on rendered HTML, so the shape of the output does not change when someone redesigns a page.

Each example in examples/inputs/ is generated from the Actor's own input schema, so it is a valid input by construction, not a snippet that drifted out of date.

Every Actor here is auto-tested daily against the same check Apify runs on the Store: start with default input, require a non-empty dataset, five-minute limit. Results are per-row; a target that fails comes back as an error row and is not charged.

The Actors

Actor What one result is $/1k (Free tier)
SEC EDGAR Scraper one filing, fiscal year of financials, or full-text hit 3.00
Local Business Scraper one business with phone and website 3.00
Steam Scraper one game with price and metadata 3.00
App Store & Google Play Scraper one app listing 3.00
App Store Top Charts Scraper one ranked chart entry 3.00
App Developer Portfolio Scraper one app in a developer's portfolio 3.00
Website Tech Stack & Contact Scraper one website profiled: stack, contacts, socials 3.00
Crypto Scraper one coin, candle, or trending entry 2.50
Job Board Scraper one job posting 2.50
Google Trends Scraper one trend series or trending query 2.50
Podcast Scraper one show or episode 2.00
WHOIS Domain Lookup one domain with WHOIS and DNS 2.00
Shopify Scraper one product variant or collection 2.00
News Scraper one article, after dedupe 1.50
Remote Jobs Scraper one remote job, after dedupe 1.50
App Reviews Scraper one review 0.20

Prices are the Free-tier rate per 1,000 results. Bronze, Silver and Gold plans pay less, down to half the Free rate on Gold. There is also a $0.02 Actor-start event.

Quick start

One HTTP call runs an Actor and returns its rows. No SDK needed.

curl -X POST \
  -H 'Content-Type: application/json' \
  -d @examples/inputs/sec-filings-scraper.json \
  "https://api.apify.com/v2/acts/glitchbound~sec-filings-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN"

Get a token from console.apify.com/settings/integrations. The response is a JSON array of result rows.

For runs that take longer than the synchronous limit, start the run and poll instead. examples/python/client.py does both.

Examples

examples/
  inputs/     one valid input per Actor, generated from its input schema
  python/     client.py + three end-to-end scripts
  node/       the same one-call pattern in JavaScript

Run any of them with your token in the environment:

export APIFY_TOKEN=apify_api_...
python3 examples/python/sec_form_d_watch.py

Find startups that just raised money

examples/python/sec_form_d_watch.py

A Form D is what a US company files after selling securities in a private round. It is public, it is required, and it lands on EDGAR before the funding press release. The script pulls recent Form Ds and prints who filed.

Track how a competitor's app is being reviewed

examples/python/app_review_monitor.py

Pulls the most recent reviews for a list of apps across both the App Store and Google Play, filters to the low ratings, and groups them so you can see what users are actually complaining about.

Snapshot the crypto market

examples/python/crypto_snapshot.py

Top coins by market cap with price, 24h and 7d change, and Binance bid/ask, written to CSV.

Notes on cost control

Every Actor honours the run's maximum charge, set in the run options or via maxTotalChargeUsd on the API call. When the limit is reached the Actor stops cleanly rather than being killed mid-write, so you never pay for a partial row.

Targets that cannot be resolved, such as a ticker that does not exist or a domain that does not resolve, come back as rows with an error field and are not charged.

Write-ups

Some of these examples have a longer post behind them, each with the measurement that made it worth writing:

License

MIT. See LICENSE.

About

Runnable examples for twelve Apify data Actors — SEC EDGAR, app stores, crypto, domains, jobs and more

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors