Writavo · Schema

VisitorAnalytics

CompanySEOContent AutomationMarketingSoftware-as-a-Service

Properties

Name Type Description
from string
to string
totals object
previous object The same numbers for the range of the same length just before `from`.
daily array Every UTC day of the range, oldest first, zeros included.
breakdowns object The top 50 values of each dimension over the range, most visitors first. Every key is present.
View JSON Schema on GitHub

JSON Schema

writavo-com-visitor-analytics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/writavo-com/json-schema/writavo-com-visitor-analytics-schema.json",
  "title": "VisitorAnalytics",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/writavo-com-openapi.json#/components/schemas/VisitorAnalytics",
  "type": "object",
  "required": [
    "from",
    "to",
    "totals",
    "previous",
    "daily",
    "breakdowns"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date"
    },
    "to": {
      "type": "string",
      "format": "date"
    },
    "totals": {
      "$ref": "#/$defs/VisitorTotals"
    },
    "previous": {
      "allOf": [
        {
          "$ref": "#/$defs/VisitorTotals"
        }
      ],
      "description": "The same numbers for the range of the same length just before `from`."
    },
    "daily": {
      "type": "array",
      "description": "Every UTC day of the range, oldest first, zeros included.",
      "items": {
        "allOf": [
          {
            "type": "object",
            "required": [
              "day"
            ],
            "properties": {
              "day": {
                "type": "string",
                "format": "date"
              }
            }
          },
          {
            "$ref": "#/$defs/VisitorMetrics"
          }
        ]
      }
    },
    "breakdowns": {
      "type": "object",
      "description": "The top 50 values of each dimension over the range, most visitors first. Every key is present.",
      "required": [
        "page",
        "entry_page",
        "source",
        "referrer",
        "utm_source",
        "utm_medium",
        "utm_campaign",
        "country",
        "region",
        "city",
        "device",
        "browser",
        "os"
      ],
      "properties": {
        "page": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "entry_page": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          },
          "description": "The page each visit started on. Its columns count the whole visit (every page viewed after entering there), not views of that page: for views of a page, read `page`."
        },
        "source": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "referrer": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "utm_source": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "utm_medium": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "utm_campaign": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "country": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "region": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "city": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "device": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "browser": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        },
        "os": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VisitorBreakdownRow"
          }
        }
      }
    }
  },
  "$defs": {
    "VisitorBreakdownRow": {
      "allOf": [
        {
          "type": "object",
          "required": [
            "value"
          ],
          "properties": {
            "value": {
              "type": "string",
              "description": "The page path, source, country code, device and so on."
            }
          }
        },
        {
          "$ref": "#/$defs/VisitorMetrics"
        }
      ]
    },
    "VisitorMetrics": {
      "type": "object",
      "required": [
        "visitors",
        "pageviews",
        "bounces",
        "engaged_ms",
        "engaged_samples"
      ],
      "properties": {
        "visitors": {
          "type": "integer"
        },
        "pageviews": {
          "type": "integer"
        },
        "bounces": {
          "type": "integer"
        },
        "engaged_ms": {
          "type": "integer"
        },
        "engaged_samples": {
          "type": "integer"
        }
      }
    },
    "VisitorTotals": {
      "type": "object",
      "required": [
        "visitors",
        "pageviews",
        "bounces",
        "engaged_ms",
        "engaged_samples",
        "avg_engaged_seconds"
      ],
      "properties": {
        "visitors": {
          "type": "integer",
          "description": "Unique visitors per day, summed over the range."
        },
        "pageviews": {
          "type": "integer"
        },
        "bounces": {
          "type": "integer",
          "description": "Visits of a single page."
        },
        "engaged_ms": {
          "type": "integer",
          "description": "Total time the pages were visible, in milliseconds."
        },
        "engaged_samples": {
          "type": "integer",
          "description": "How many engagement measurements `engaged_ms` sums."
        },
        "avg_engaged_seconds": {
          "type": "integer",
          "description": "`engaged_ms / engaged_samples / 1000`, rounded; 0 with no samples."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/writavo-com-visitor-analytics"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.