Properties
| Name | Type | Description |
|---|---|---|
| success | object | |
| message | stringnull | Human-readable status or error message. Often `null` on reads. |
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gajo-io/json-schema/gajo-io-url-stats-result-schema.json",
"title": "UrlStatsResult",
"description": "Envelope with click analytics.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gajo-io-analytics-api-openapi.yml#/components/schemas/UrlStatsResult",
"allOf": [
{
"$ref": "#/$defs/ApiResult"
},
{
"type": "object",
"required": [
"data"
],
"properties": {
"success": {
"const": true
},
"data": {
"$ref": "#/$defs/UrlStats"
}
}
}
],
"$defs": {
"ApiResult": {
"type": "object",
"description": "Envelope shared by every response.",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "`true` when the request succeeded."
},
"message": {
"type": [
"string",
"null"
],
"description": "Human-readable status or error message. Often `null` on reads."
},
"data": {
"description": "Operation-specific payload; `null` or absent when there is nothing to return."
}
}
},
"UrlStats": {
"type": "object",
"description": "Click analytics for one link. Bot traffic (crawlers, link-preview unfurlers, AI fetchers, HTTP libraries) is excluded. Free plans receive `totalClicks`, `historyDays` (7) and `clicksByDay`. Basic receives 90 days of history and Pro every day since the link was created, plus `topReferrers`, `deviceBreakdown`, `topCountries` and `topRegions`, which are omitted entirely on Free.",
"required": [
"totalClicks",
"historyDays",
"clicksByDay"
],
"properties": {
"totalClicks": {
"type": "integer",
"format": "int64",
"minimum": 0,
"description": "All-time human clicks."
},
"historyDays": {
"type": "integer",
"minimum": 1,
"description": "Days covered by `clicksByDay`: 7 on Free, 90 on Basic, and on Pro every day since the link was created."
},
"clicksByDay": {
"type": "array",
"description": "Daily click counts, oldest first. Days with no clicks are omitted.",
"items": {
"type": "object",
"required": [
"date",
"clicks"
],
"properties": {
"date": {
"type": "string",
"format": "date"
},
"clicks": {
"type": "integer",
"format": "int64",
"minimum": 0
}
}
}
},
"topReferrers": {
"type": "array",
"description": "Basic and Pro only. Top 10 referrers; `Direct` when no referrer was sent.",
"items": {
"type": "object",
"required": [
"source",
"count"
],
"properties": {
"source": {
"type": "string"
},
"count": {
"type": "integer",
"format": "int64"
}
}
}
},
"deviceBreakdown": {
"type": "array",
"description": "Basic and Pro only. Share of clicks per device class, as percentages (0-100) summing to 100.",
"items": {
"type": "object",
"required": [
"device",
"percentage"
],
"properties": {
"device": {
"type": "string"
},
"percentage": {
"type": "number",
"format": "double",
"minimum": 0,
"maximum": 100
}
}
}
},
"topCountries": {
"type": "array",
"description": "Basic and Pro only. Top 10 countries by clicks (country name, or ISO code when the name is unknown).",
"items": {
"type": "object",
"required": [
"country",
"count"
],
"properties": {
"country": {
"type": "string"
},
"count": {
"type": "integer",
"format": "int64"
}
}
}
},
"topRegions": {
"type": "array",
"description": "Basic and Pro only. Top 10 states/provinces, labelled `Region, CC`. May be empty.",
"items": {
"type": "object",
"required": [
"region",
"count"
],
"properties": {
"region": {
"type": "string"
},
"count": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gajo-io-url-stats-result"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.