NetWatch

Developer Documentation

Comprehensive guides, API specifications, and technical deep-dives for building with NetWatch's network monitoring platform.

Getting Started

Step 1

Create an Account

Register for free at app.NetWatch.network

Step 2

Generate API Key

Navigate to Profile > API Management to create your first API token

Step 3

Make Your First Request

curl -X GET "https://api.nw-monitoring.network/v3/networks" \ 
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

API Reference

Full API documentation including endpoints, request/response formats, and rate limits

Endpoints

Rate Limits

Standard Plan 10,000 requests/day
Enterprise Plan 150,000 requests/day
Rate limit header: X-API-RateLimit

CLI Guide

Installation


npm install -g nw-cli

# Verify installation
nw version

Basic usage


# List networks
nw networks

# Get network details
nw network get 123456

# Send test alert
nw alert test --network 987654

Best Practices

Security

Store API keys in environment variables, not source code. Regenerate tokens every 90 days. Use the --no-cache flag for sensitive CLI operations.

Performance

Batch API requests when possible. Use webhooks for real-time updates instead of polling every 5 minutes. For CLI tools, add --gzip to compress large responses.