Public Trustpilot reviews of any company by domain: rating, title, text, language, date, useful votes and the company reply. Reviewer names optional, reviewer IDs hashed, emails and phones redacted.
Why: the deep route lost money. Over 30 days revenue $3.06 vs platform usage ~$2.94; a deep company cost
$0.016-0.05, 80-90 % of it residential proxy traffic. The first (browser) page of a company was 1.6-2 MB through the
residential proxy ($0.012-0.015, about the whole company-scraped fee); HTTP pages 2..N are only ~0.2 MB.
Pricing, events and output fields are unchanged.
Proxy ladder for the browser route: the first session of a company uses the Apify datacenter proxy (not billed per
GB) with one load per page; a block moves the company to the residential proxy for up to two more sessions (worst
case 1 datacenter + 2 residential sessions, the residential retries are the same as before). After two datacenter
blocks in one run, later companies start on residential. The hidden input useResidentialProxy now means: not set =
ladder (new default), true = residential only (old default), false = datacenter only.
Lean browser page: the Next.js bundles (*cdn.trustpilot.net scripts) and all stylesheets are aborted; the data
is the server-rendered __NEXT_DATA__, so the parsed rows are identical (checked on a live page). The AWS WAF
challenge.js (~0.3 MB, loaded twice per page) is downloaded once per run and then served from memory to every
later page, context and session. Local measurement of one profile page: 1.6 MB -> 0.53 MB.
SUMMARY stats gain primary_proxy_sessions, fallback_proxy_sessions and waf_script_cache_hits.
Tests: tests/test_cost.py; tests/test_billing.py no longer leaks its patched load_page into other test files;
older tests updated for the 0.1.13 review-deep event.
0.1.13 (unreleased)
Why: November 2026 monetization was negative (revenue $2.53, platform cost $3.01, margin -19%, 11,408 charged results,
one paying user, 10 runs on 2026-11-11). Cost was $0.26-0.29 per 1,000 results, mostly residential proxy of the deep
route, while the review price cut of 2026-11-09 ($0.60 -> $0.30) left about $0.22 per 1,000 after Apify's 20%.
New PPE event review-deep for rows with ext_route = "browser" (deep route, including pages 11+ with the session);
widget rows stay on review-record. TpSink flushes buffered rows in runs of the same route so the budget check
prices the event really pushed. If the run's pricing has no review-deep (Console not updated yet) browser rows fall
back to review-record: the platform does not charge unknown events.
Run-timeout close: about 150 s before ACTOR_TIMEOUT_AT no new page or group starts; the run ends partial with
time_limit and a SUMMARY instead of being killed (one paid run timed out on 2026-11-11). time_limit is not an OK
reason, so the incremental marker does not move.
Client-side filters: scan cap 2x the pages maxReviews needs (was 5x); past page 10 (session pages) the company
stops when fewer than 20% of the scanned rows match (scan_cap with a note).
Not changed: the stars filter was already served by the widget (one request per star).
Pricing to set in Console before deploying (14-day notice for the increase): review-deep $0.0006 / $0.00054 /
$0.00048 (Bronze / Silver / Gold+). The code is safe to deploy earlier (fallback above, and the timeout and filter
fixes help at once), but the README pricing section describes review-deep: publish it once the price is live.
Tests: tests/test_billing.py (offline).
0.1.12 (2026-11-10) - first public release
Widget "no access" (HTTP 400, company without a paid Trustpilot plan) is handled per company: deep route in auto, widget_no_access in fast; remembered for 30 days in rastriq-trustpilot-bu-ids (NO_WIDGET).
Pages 11+ (Trustpilot's public end is page 10) read with Rastriq's Trustpilot session (secret env TRUSTPILOT_SESSION), enabled only from page 11; without it, or if rejected, the run ends cleanly at public_page_limit.
Pricing: $0.30 / $0.27 / $0.24 per 1,000 reviews; company-scraped $0.015, only when profile pages were read.
0.1.8
Fast route: Trustpilot's public TrustBox widget data (src/widget.py; robots.txt of widget.trustpilot.com allows /trustbox-data/). New input mode: auto (default; widget first, browser only when needed), fast (widget only) or deep (the previous browser behaviour).
Widget rows: newest 100 per language and star rating; no company reply, useful votes, reviewer country, ext_updated_at or author_hash (null). New field ext_route (widget or browser). Core: ext_route added to EXT_FIELDS / STORE_ONLY_EXT (Trustpilot only); copies synced in all four actors.
Access levels N0 (direct) then N1 (datacenter proxy, once) for the widget; the summary now reports the levels really used (for example ["N0"], ["N0","N2"]) instead of a fixed ["N2"].
Business ids are resolved once per domain (run memory, named store rastriq-trustpilot-bu-ids, or one profile page whose 20 rows are kept).
company-scraped is charged only when browser pages were used for that company. New stop reason widget_limit (fast mode, not an error).
withRepliesOnly / reviewerCountries: browser route in auto, input error in fast.
Not deployed.
Unreleased
languages (localized Trustpilot subdomains), client-side filters (stars, verifiedOnly, withRepliesOnly, keyword, reviewerCountries), dateRange, incrementalKey (named KV store rastriq-trustpilot-incremental).