AntiSMI · Schema

TrendsRequest

Запрос на получение трендов

NewsArtificial IntelligenceSearchMediaRussian

Properties

Name Type Description
start_date string Начальная дата
end_date string Конечная дата
granularity string Гранулярность: day, 3days, week, month
categories object Список категорий
telegram_id object Telegram ID пользователя (legacy)
user_id object Surrogate user ID
limit integer Количество топ трендов
mode string Режим отбора топ-N: 'general' — по абсолютной сумме упоминаний, 'trends' — по z-score относительно предшествующего периода той же длины (выделяет характерные для периода события, подавляет фон).
lang string Язык метаданных: en → заголовки/резюме/понятия из *_en с fallback на русский (миграция 030)
View JSON Schema on GitHub

JSON Schema

antismi-media-trends-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/antismi-media/json-schema/antismi-media-trends-request-schema.json",
  "title": "TrendsRequest",
  "description": "Запрос на получение трендов",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/antismi-media-openapi.json#/components/schemas/TrendsRequest",
  "properties": {
    "start_date": {
      "type": "string",
      "format": "date-time",
      "title": "Start Date",
      "description": "Начальная дата"
    },
    "end_date": {
      "type": "string",
      "format": "date-time",
      "title": "End Date",
      "description": "Конечная дата"
    },
    "granularity": {
      "type": "string",
      "title": "Granularity",
      "description": "Гранулярность: day, 3days, week, month",
      "default": "day"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Categories",
      "description": "Список категорий"
    },
    "telegram_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Telegram Id",
      "description": "Telegram ID пользователя (legacy)"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id",
      "description": "Surrogate user ID"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "description": "Количество топ трендов",
      "default": 10
    },
    "mode": {
      "type": "string",
      "title": "Mode",
      "description": "Режим отбора топ-N: 'general' — по абсолютной сумме упоминаний, 'trends' — по z-score относительно предшествующего периода той же длины (выделяет характерные для периода события, подавляет фон).",
      "default": "general"
    },
    "lang": {
      "type": "string",
      "enum": [
        "ru",
        "en"
      ],
      "title": "Lang",
      "description": "Язык метаданных: en → заголовки/резюме/понятия из *_en с fallback на русский (миграция 030)",
      "default": "ru"
    }
  },
  "type": "object",
  "required": [
    "start_date",
    "end_date"
  ]
}

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/antismi-media-trends-request"
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.