fastmon Docs
Organizations

Get Usage

Fehler melden

Get the pageviews of the current billing period (calendar month).

Pass ?by_site=true to include per-site breakdown.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <fm_… / fmo_…>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Pfad-Parameter

org_id*Org Id
Formatuuid

Query-Parameter

by_site?By Site

Include per-site breakdown

Defaultfalse

Response-Body

Successful Response

application/json
  1. response

Pageviews the organization used in the current billing period.

pageview_count*Pageview Count

Pageviews counted over the window, one per pageview, unweighted, bots included

time_range*

The window counted: the start of the calendar month to now

sites*array<>
GET
/organizations/{org_id}/usage
Example Request
curl -X GET 'https://api.fastmon.eu/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/usage'
Example Response
{  "pageview_count": 0,  "time_range": {    "from": "2019-08-24T14:15:22Z",    "to": "2019-08-24T14:15:22Z"  },  "sites": [    {      "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",      "site_name": "string",      "pageview_count": 0    }  ]}