Swetrix Project Structure
A Swetrix analytics project tracking web traffic and events
Type:
Properties: 0
AnalyticsCookieless TrackingGDPR CompliantOpen-SourcePrivacyReal-Time AnalyticsWeb Analytics
SwetrixProject is a JSON Structure definition published by Swetrix.
{
"name": "SwetrixProject",
"description": "A Swetrix analytics project tracking web traffic and events",
"fields": [
{ "name": "id", "type": "string", "description": "Unique project identifier" },
{ "name": "name", "type": "string", "description": "Project display name (max 50 chars)" },
{ "name": "active", "type": "boolean", "description": "Whether tracking is active" },
{ "name": "public", "type": "boolean", "description": "Whether dashboard is public" },
{ "name": "origins", "type": "array<string>", "description": "Allowed domain origins" },
{ "name": "ipBlacklist", "type": "array<string>", "description": "Blocked IP addresses" },
{ "name": "botsProtectionLevel", "type": "string", "description": "Bot protection: off or basic" },
{ "name": "isCaptcha", "type": "boolean", "description": "CAPTCHA tracking enabled" },
{ "name": "isPasswordProtected", "type": "boolean", "description": "Dashboard password required" },
{ "name": "organisationId", "type": "string|null", "description": "Parent organisation ID" },
{ "name": "createdAt", "type": "datetime", "description": "Creation timestamp" },
{ "name": "updatedAt", "type": "datetime", "description": "Last modified timestamp" }
],
"relationships": [
{ "name": "organisation", "type": "Organisation", "cardinality": "many-to-one" },
{ "name": "funnels", "type": "Funnel", "cardinality": "one-to-many" },
{ "name": "annotations", "type": "Annotation", "cardinality": "one-to-many" },
{ "name": "views", "type": "ProjectView", "cardinality": "one-to-many" },
{ "name": "sessions", "type": "Session", "cardinality": "one-to-many" }
]
}
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/swetrix-project-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.