toui · Schema

GetApiV1UrlsCodeStatsResponse

Short LinkAI IntegrationAnalyticsMarketingTaiwan

Properties

Name Type Description
short_code string Short code.
target_url string Original long URL.
total_clicks integer Total clicks over the requested period.
daily array Array of daily stats objects with date, clicks, unique_visitors.
countries array Array of country breakdown objects with country and clicks.
cities array Array of city breakdown objects with country, city, and clicks.
visible_days integer Plan's visible period in days.
clamped boolean True if requested days exceed visible period.
visible_from string First visible date when clamped.
earlier_clicks integer Clicks before visible_from when clamped.
View JSON Schema on GitHub

JSON Schema

toui-io-get-api-v1-urls-code-stats-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toui-io/json-schema/toui-io-get-api-v1-urls-code-stats-response-schema.json",
  "title": "GetApiV1UrlsCodeStatsResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/toui-io-openapi-generated.yml#/components/schemas/GetApiV1UrlsCodeStatsResponse",
  "type": "object",
  "properties": {
    "short_code": {
      "type": "string",
      "description": "Short code."
    },
    "target_url": {
      "type": "string",
      "description": "Original long URL."
    },
    "total_clicks": {
      "type": "integer",
      "description": "Total clicks over the requested period."
    },
    "daily": {
      "type": "array",
      "description": "Array of daily stats objects with date, clicks, unique_visitors."
    },
    "countries": {
      "type": "array",
      "description": "Array of country breakdown objects with country and clicks."
    },
    "cities": {
      "type": "array",
      "description": "Array of city breakdown objects with country, city, and clicks."
    },
    "visible_days": {
      "type": "integer",
      "description": "Plan's visible period in days."
    },
    "clamped": {
      "type": "boolean",
      "description": "True if requested days exceed visible period."
    },
    "visible_from": {
      "type": "string",
      "description": "First visible date when clamped."
    },
    "earlier_clicks": {
      "type": "integer",
      "description": "Clicks before visible_from when clamped."
    }
  }
}

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/toui-io-get-api-v1-urls-code-stats-response"
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.