Auto-fetch data from CPW API and build your product on top.
- Use this template: Click "Use this template" button above
- Subscribe to API: Go to CPW API and subscribe to
Basic
plan (100 free requests/month) - Add API key: Go to Settings → Secrets → Actions, add
RAPIDAPI_KEY
- Сustomize data source: Edit
scripts/api-call.js
to change what you track - Build your product: Use the auto-updating
data/events.json
however you want
- Monitors industry chatter for catastrophic event signals
- Fetches fresh data weekly (configurable schedule)
- Saves results to
data/events.json
- Provides foundation for early detection tools
Edit scripts/api-call.js
:
// Change these parameters:
entities: "financial custodians", // What to monitor
topic: "cyberattack", // Event type (default: "catastrophic event")
industry: "finance", // Fixed to finance
Time range is configurable (max 7 days):
startTime.setDate(startTime.getDate() - 1) // Last 24 hours
Use the event data to build alert systems, monitoring dashboards, notification tools, research platforms, or whatever problem you're interested in.
Note
The workflow file includes commented examples for GitHub Pages deployment and social media integration.