India’s Leading Domain & Web Hosting Provider
Classifieds marketplace cuts scraper traffic 81 percent with Cloud Armor and reCAPTCHA
Vertical classifieds for used cars and property, 14 million monthly visitors · Pan-India, origin in asia-south1 · 7 weeks
As-is situation
The marketplace ran Cloud Run services behind an external Application Load Balancer, with Cloud CDN for listing images. Competitors and lead-reselling outfits scraped seller phone numbers by hitting the reveal-contact API, and bots created 18,000 fake buyer accounts a day using disposable SIM numbers to farm OTPs. About 42 percent of requests to listing detail pages came from automated clients. SMS OTP costs had grown to INR 9 lakh a month, and sellers complained of spam calls within minutes of posting, which pushed listing renewals down. Engineering's only defence was a hand-edited IP denylist of 9,000 entries.
- 42 percent of listing detail traffic was automated, inflating Cloud Run instance hours
- Reveal-contact API called 2.6 million times a day, roughly 4x the human baseline
- 18,000 fake signups daily consumed OTP SMS credits
- IP blocking failed because scrapers rotated through residential proxy pools
Selected Google Cloud services and architecture
NTSPL attached separate Cloud Armor security policies to the listings, auth and contact backend services. reCAPTCHA session tokens were added to web pages and the Android app, and Cloud Armor rules evaluate the score: below 0.3 is denied on the contact API, 0.3 to 0.7 is redirected to a challenge, and above 0.7 passes. Rate-based bans on the OTP endpoint key on a hashed device ID header plus IP. Adaptive Protection ran in alert mode for three weeks, after which two of its suggested signatures were promoted to enforced rules. Request logs flow into Log Analytics for a daily bot-ratio dashboard.
Implementation approach
Measured results
Operational improvements
- Bot attacks during festive car-sale campaigns are handled by pre-staged rate-limit rules instead of emergency IP blocklists
- Product managers read a daily bot-ratio dashboard in Log Analytics and request threshold changes through a reviewed rule book
- Adaptive Protection alerts arrive with suggested signatures, cutting rule-writing time from hours to minutes
Cost considerations
Cloud Armor request charges and reCAPTCHA assessments came to about INR 1.2 lakh per month, outweighed by OTP and Cloud Run savings. The team chose Cloud Armor Enterprise because Adaptive Protection was needed across three backends; a cheaper per-policy model was rejected after modelling 14 million monthly visitors.
Return on investment
Indicative annual saving of INR 75 to 85 lakh from OTP spend and about 30 percent fewer Cloud Run instance hours, against roughly INR 1.2 lakh per month for Cloud Armor and reCAPTCHA. Payback came inside the second month, and seller listing renewals recovered by about 6 percentage points over the following quarter.