Monitor events API
  1. Docs
  2. Monitors
  3. Monitor events API

Monitor events API

Events from the team's monitors, newest first (the same events the webhooks deliver).

GET /v1/monitors/events

GET /v1/monitors/events

Events from the team's monitors, newest first (the same events the webhooks deliver).

  • Cost: Free
  • Cache: Not cached.

Parameters#

NameTypeRequiredDescription
monitor_idstringnoOnly this monitor's events.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).

Example request#

Set your key in the environment first (see Authentication).

1curl "https://api.socialscrape.dev/v1/monitors/events" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY"

Example response#

This is a sample with illustrative values. Status 200.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 0,4  "credits_remaining": 5000,5  "cached": false,6  "cached_at": null,7  "request_id": "req_900021adf2c0e4ad62cf5d03",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "monitor_event",13        "id": "evt_0123456789abcdef",14        "monitor_id": "mon_0123456789abcdef",15        "type": "new_items",16        "items": [17          {18            "object": "repo",19            "platform": "github",20            "id": "2325298",21            "url": "https://github.com/torvalds/linux",22            "name": "linux",23            "full_name": "torvalds/linux"24          }25        ],26        "created_at": "2026-10-29T15:00:02Z"27      }28    ],29    "cursor": null,30    "has_more": false31  },32  "cursor": null,33  "has_more": false34}

Response#

A list of MonitorEvent objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.

Every request can also fail with the account and platform errors listed on the Errors page.