GET /metrics
Returns system metrics in the Prometheus text format. No authentication required.
curl https://api.jetscrape.com/metrics# HELP http_requests_total Total number of HTTP requests
# TYPE http_requests_total counter
http_requests_total{method="GET",route="/metrics",status="200"} 42Usage
You rarely call this endpoint directly. Prometheus scrapes it on a schedule and Grafana renders the result.
scrape_configs:
- job_name: jetscrape
scrape_interval: 15s
static_configs:
- targets: ["api.jetscrape.com"]Notes
- The output is Prometheus text, not JSON.
- Metrics are per instance; aggregate across instances in Prometheus.
- Counters reset when the application restarts, so use functions such as
rate()in your queries.
Credit consumption and per-account usage are not exposed here. Use GET /api/users/api-keys/stats for that.