1. 24/7 Cron Polling Frequency vs Monthly Credit Budget
Size your polling interval and concurrency tier accurately before deploying your systemd timer, GitHub Action, or Railway/Render cron worker.
| Monitoring Scope | Poll Interval | Recommended Tier & RPM | Est. Monthly Cost |
|---|---|---|---|
| 3 Target ZIPs (Single-Market Investor) | Every 60 min (limit=15) | $9 Indie Pack or $19/mo Starter (120 RPM) | ~$9 – $19 / mo |
| 15 Metro ZIPs (Deal-Scouting Bot + Telegram) | Every 30 min (limit=20) | $69/mo Pro or $89 PAYG (300 RPM) | ~$69 / mo |
| 75+ Multi-State ZIPs (Brokerage / Hedge Fund) | Every 15 min (limit=20) | $199/mo Business (600 RPM) | ~$199 / mo ($0.08/1K) |
2. 45-Line Python & TypeScript Cron Monitor + Redis Dedupe + Webhook Alert
Run this idempotent worker every 15 minutes via cron (`*/15 * * * *`). It detects both brand-new MLS listings and price reductions on previously seen properties, then pushes formatted deal cards to Telegram or Discord.
Incremental MLS New-Listing & Price-Cut Poller (Redis + Telegram/Discord)
Stores last seen list_price per property_id in Redis so alerts fire once per new listing or price drop.
curl -sS "https://api.realtydataapi.com/v1/properties/search?location=78701&status=for_sale&limit=20" \
-H "x-api-key: rl_live_your_api_key"import os, redis, requests
API_KEY = os.environ["REALTYDATA_API_KEY"]
WEBHOOK_URL = os.environ["DISCORD_OR_SLACK_WEBHOOK"]
rdb = redis.from_url(os.environ.get("REDIS_URL", "redis://127.0.0.1:6379/0"), decode_responses=True)
for zip_code in ["78701", "78704", "33131"]:
resp = requests.get(
"https://api.realtydataapi.com/v1/properties/search",
params={"location": zip_code, "status": "for_sale", "limit": 20},
headers={"x-api-key": API_KEY},
timeout=25,
).json()
for p in resp.get("data", {}).get("properties", []):
pid, price = str(p["property_id"]), int(p.get("list_price") or 0)
if not pid or price <= 0:
continue
prev = rdb.get(f"seen:prop:{pid}")
if prev is None:
rdb.set(f"seen:prop:{pid}", str(price), ex=86400 * 30)
tag = "NEW LISTING"
elif price < int(prev):
drop = int(prev) - price
rdb.set(f"seen:prop:{pid}", str(price), ex=86400 * 30)
tag = f"PRICE CUT -${drop:,}"
else:
continue
msg = f"[{tag}] {p['formatted_address']} | ${price:,} | Cap {p.get('gross_cap_rate_pct')}% | Rent ${p.get('estimated_monthly_rent')}/mo"
requests.post(WEBHOOK_URL, json={"content": msg}, timeout=10)import Redis from "ioredis";
const redis = new Redis(process.env.REDIS_URL ?? "redis://127.0.0.1:6379/0");
for (const zip of ["78701", "78704", "33131"]) {
const res = await fetch(`https://api.realtydataapi.com/v1/properties/search?location=${zip}&status=for_sale&limit=20`, {
headers: { "x-api-key": process.env.REALTYDATA_API_KEY! },
});
const { data } = await res.json();
for (const p of data?.properties ?? []) {
const key = `seen:prop:${p.property_id}`;
const prev = await redis.get(key);
if (prev === null || Number(p.list_price) < Number(prev)) {
await redis.set(key, String(p.list_price), "EX", 86400 * 30);
await fetch(process.env.DISCORD_OR_SLACK_WEBHOOK!, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ content: `[${prev ? "PRICE CUT" : "NEW"}] ${p.formatted_address} — $${p.list_price.toLocaleString()}` }),
});
}
}
}{
"alert_dispatched": true,
"event": "PRICE_CUT",
"property_id": "8241233717",
"formatted_address": "901 W 9th St, Austin, TX 78701",
"previous_price": 674000,
"new_list_price": 649000,
"estimated_monthly_rent": 3850,
"gross_cap_rate_pct": 7.12
}Interactive PropTech Underwriting Terminal · GET /v1/properties/search
Verify real-time latency, parcel credit math & JSON schema
Frequently Asked Questions
- Do empty cron polls in low-turnover ZIP codes burn credits?
- No. Any /v1/properties/search or /v1/redfin/search call returning 0 matching records charges 0 Credits ($0.00).
- Why should a 24/7 cron bot upgrade from Free Trial to a Paid Pack?
- Free Trial accounts are capped at 60 RPM and 25 cold upstream lookups per hour. Any paid one-time pack ($9 / $25) or monthly subscription ($19–$199/mo) lifts hourly cold-lookup caps and unlocks up to 600 RPM for parallel multi-ZIP polling.
- What if my corporate or international card declines a monthly subscription?
- Switch in 1 click inside the billing checkout to a One-Time Pay-As-You-Go Pack ($9 / $25 / $89 / $249, non-expiring with automatic corporate PDF invoice) or 0%-fee Crypto (USDC, USDT, SOL with +5% bonus credits).