apyhub
STANDARD DATA

Get Language Breakdown Used on Web

What it does

Language Distribution gives you a breakdown of languages for a country, with an optional limit on how many results to return. Send a country_code when you want results scoped to a specific country, or leave it out to get the broader distribution.

Use it when you need reference data for product localisation, market analysis, language-aware onboarding, or country-specific content planning. The response schema is open-ended, so the service returns a structured language distribution payload without exposing a fixed set of fields in the spec.

limit defaults to 30 and accepts values from 1 to 200, so you can keep responses small when you only need the top entries. country_code accepts a 2- or 3-character country code. That makes the endpoint a fit for dashboards, data enrichment steps, and internal tools that need language distribution data without maintaining their own country-language tables.

GET
Language distribution
https://api.eu.apyhub.com/dosvak/language-distribution

QUICKSTART

GUIDE

Quickstart

Get a language distribution list, optionally narrowed by country and capped with a limit.

curl -X GET "https://api.eu.apyhub.com/dosvak/language-distribution?limit=30&country_code=us" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with additional properties. The schema does not declare fixed top-level fields, so the response shape may vary.

{
  "country_code": null,
  "total": 108110583,
  "page_languages": [
    { "val": "en", "count": 1934 },
    { "val": "de", "count": 279 },
    { "val": "fr", "count": 179 },
    { "val": "es", "count": 139 },
    { "val": "ja", "count": 125 }
  ],
  "content_languages": [
    { "val": "eng", "count": 7795 },
    { "val": "deu", "count": 1081 },
    { "val": "fra", "count": 903 },
    { "val": "spa", "count": 755 },
    { "val": "jpn", "count": 631 }
  ],
  "attribution": [
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.

About this endpoint

What it does

Returns a language distribution result as a JSON object. The exact response fields are not defined in the schema, so the endpoint’s output shape is not yet documented beyond being an object.

Query Parameter(s)

AttributeTypeMandatoryDescription
limitIntegerNoMaximum number of results to return. Default: 30. Minimum: 1. Maximum: 200.
country_codeStringNoCountry code filter. When provided, it must be a string with length between 2 and 3 characters.

Response

Returns a JSON object. The response schema is an object with additional properties allowed, but it does not declare any fixed top-level fields, so the specific response structure is not yet captured in the schema.

Query parameters

Name
Type
Description
limitOPTIONAL
integer
DEFAULT 30
country_codeOPTIONAL
string
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.