spicrawlspicrawlDocs
Monitors

List a site monitor's pages

The pages a site monitor tracks, ordered by URL, a page per row.

Requires scope: monitors

GET
/v1/monitors/{monitorID}/pages

The pages a site monitor tracks, ordered by URL, a page per row. A page the monitor has stopped finding stays in the list with removed_at set. Page monitors have no pages and answer 404. Scope monitors (or read).

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment variable; never hard-code or log it. spicrawl_test_… keys can never spend live credits. Scopes: scrape, batch, sessions (granted by default), browser and read (granted deliberately), and partner (only on a partner account's key). A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.

In: header

Path Parameters

monitorID*string

The monitor id. An id of another organization answers 404.

Length1 <= length <= 64

Query Parameters

limit?integer

Pages to return, 1 to 500. Defaults to 100; out of range is a 400, not clamped.

Range1 <= value <= 500
Default100
cursor?string

The next_cursor of the previous page. Opaque. Omit it for the first page.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/monitors/string/pages"
{  "data": [    {      "url": "http://example.com",      "first_seen_at": "2019-08-24T14:15:22Z",      "last_seen_at": "2019-08-24T14:15:22Z",      "last_changed_at": "2019-08-24T14:15:22Z",      "removed_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}