Skip to content
LastPing

GUIDES · COPY-PASTE · FREE

Copy, paste, monitored.

Every guide ends in a working snippet against the real ping API.

# the universal integration. Everything else is variations:
your-job && curl -fsS -m 10 --retry 3 -o /dev/null https://ping.lastping.dev/<your-monitor-id>

Pick your environment

The ping API, in six lines

Every monitor has one URL; suffixes change the meaning. A POSTed body is stored with the ping, and ?rid= pairs a start with its finish.

https://ping.lastping.dev/<id>         → success
https://ping.lastping.dev/<id>/start   → run started (arms overrun detection)
https://ping.lastping.dev/<id>/fail    → explicit failure (alerts immediately)
https://ping.lastping.dev/<id>/<code>  → exit code: 0 = success, non-zero = fail
https://ping.lastping.dev/<id>/log     → attach a note; no state change
https://ping.lastping.dev/<id>/step    → progress inside a started run (needs ?rid=)

/step reports progress, not a result: see hung-job detection.

Start monitoring in minutes

Free for individuals. One URL to ping, or let your AI assistant set it up.