YouScan Statistics API

Aggregated statistics for mentions of a topic. ### Dates `from` and `to` are dates (`yyyy-MM-dd`); `to` is inclusive. Day boundaries are computed in the API key owner's time zone (see *Dates and time zones* in the Mentions section). ### Filters All statistics endpoints accept a common set of optional filters: - `country` (`string[]`): e.g. `country=uk&country=us` - `excludeCountry` (`string[]`): e.g. `excludeCountry=uk&excludeCountry=us` - `sourceTypes` (`string[]`): one of `blog`, `forum`, `news`, `social`, `reviews`, `messenger` (e.g. `sourceTypes=social&sourceTypes=blog`) - `excludeSourceTypes` (`string[]`): same values as `sourceTypes` - `sources` (`string[]`): e.g. `sources=telegram.me&sources=youscan.io` - `excludeSources` (`string[]`): e.g. `excludeSources=telegram.me&excludeSources=youscan.io` - `tags` (`int[]`): filter by tag IDs - `excludeTag` (`int[]`): exclude filter by tag IDs Every statistics response contains a `totalCount` field — the total number of mentions matching the filters. An unknown or inaccessible `topicId` returns `404` with `message: "Theme not found"`.

GitHub OpenAPI
Business capability
Market Intelligence Management BC-400.30

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /topics/{topicId}/statistics/sentiments Get sentiment distribution for a topic · Sentiment #
Ask an LLM
“What share of mentions about a topic are positive versus negative?”
“Can I see sentiment breakdown for a topic in a single country?”
Tell an agent
Show sentiment distribution for topic {topicId}.
Break down sentiment for topic {topicId} in {country}.
GET /topics/{topicId}/statistics/tags Get tag distribution for a topic · Tags #
Ask an LLM
“Which tags are most frequently used in mentions about a topic?”
“Can I limit how many tags come back for a topic?”
Tell an agent
Show tag distribution for topic {topicId}.
Return the top {size} tags for topic {topicId}.
GET /topics/{topicId}/statistics/words Get the top words mentioned with a topic · Word cloud #
Ask an LLM
“What are the most common words mentioned alongside a topic?”
“Can I cap the word cloud to a certain number of terms?”
Tell an agent
Show the top words mentioned with topic {topicId}.
Return the top {size} words for topic {topicId}.
GET /topics/{topicId}/statistics/countries Get mentions by country for a topic · Countries #
Ask an LLM
“Which countries mention a topic most, and how engaged are they?”
“Can I see per-country sentiment and top sources for a topic?”
Tell an agent
Show mentions by country for topic {topicId}.
List the top {size} countries for topic {topicId} with {sourcesSize} top sources each.
GET /topics/{topicId}/statistics/cities Get mentions by city for a topic · Cities #
Ask an LLM
“Which cities mention a topic most, and how does sentiment vary?”
“Can I filter city-level topic mentions to one country?”
Tell an agent
Show mentions by city for topic {topicId}.
List the top {size} cities for topic {topicId} in {country}.
GET /topics/{topicId}/statistics/regions-sentiments Get sentiment by region for a topic · Sentiment by regions #
Ask an LLM
“How does sentiment about a topic vary by region?”
“Can I cap the number of regions returned for a topic?”
Tell an agent
Show sentiment by region for topic {topicId}.
Return the top {size} regions for topic {topicId}.
GET /topics/{topicId}/statistics/sources-sentiments Get sentiment by source for a topic · Sentiment by sources #
Ask an LLM
“Which sources mention a topic most, and what is their sentiment?”
“Can I limit how many sources come back for a topic?”
Tell an agent
Show sentiment by source for topic {topicId}.
Return the top {size} sources for topic {topicId}.
GET /topics/{topicId}/statistics/regions-sources-sentiments Get sentiment by source within each region for a topic · Sentiment by sources by regions #
Ask an LLM
“Which sources drive sentiment in each region for a topic?”
“Can I cap the number of regions and sources per region returned?”
Tell an agent
Show sentiment by source within each region for topic {topicId}.
Return the top {regionsSize} regions for topic {topicId}, with {sourcesSize} sources each.
GET /topics/{topicId}/statistics/histogram Get a histogram of topic mentions over time · Histogram #
Ask an LLM
“How have mentions of a topic trended day by day?”
“Can I get a histogram broken down by sentiment for a topic?”
Tell an agent
Show a {interval} histogram for topic {topicId}.
Get a {interval} histogram of topic {topicId} with sentiment {sentiment}.
GET /topics/{topicId}/statistics/genders Get author gender distribution for a topic · Genders #
Ask an LLM
“What gender split do authors of mentions about a topic have?”
“Can I see gender distribution for a topic in a single country?”
Tell an agent
Show author gender distribution for topic {topicId}.
Break down gender for topic {topicId} in {country}.
GET /topics/{topicId}/statistics/ages Get author age distribution for a topic · Ages #
Ask an LLM
“What age groups mention a topic most?”
“Can I see age distribution for a topic in a single country?”
Tell an agent
Show author age distribution for topic {topicId}.
Break down age for topic {topicId} in {country}.
GET /topics/{topicId}/statistics/links Get top links and hosts for a topic · Links #
Ask an LLM
“Which links and domains are most mentioned in a topic?”
“Can I sort the top links for a topic?”
Tell an agent
Show top links and hosts for topic {topicId}.
Return the top {size} links and hosts for topic {topicId} sorted by {sort}.
GET /topics/{topicId}/statistics/metrics Get summary engagement metrics for a topic · Engagement metrics #
Ask an LLM
“What are the total mentions, authors and engagement for a topic?”
“Can I get summary metrics for a topic filtered by country?”
Tell an agent
Show summary engagement metrics for topic {topicId}.
Get total mentions and engagement for topic {topicId} in {country}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/youscan:youscan-statistics-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

youscan-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: YouScan Statistics API
  version: '1.0'
  contact:
    name: YouScan Support
    url: https://youscan.io
  license:
    name: Proprietary
    url: https://youscan.io/terms-of-service
  description: 'YouScan provides a REST API to manage topics, retrieve mentions, and query statistics

    collected by the YouScan social media listening platform.'
servers:
- url: https://api.youscan.io/api/external
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/youscan/openapi/youscan-statistics-api-openapi.yml