AI research output by country and year (works count)
Annual counts of scholarly works tagged with the OpenAlex 'Artificial intelligence' concept (C154945302), by author country and publication year - the country-level companion to the global monthly AI research-velocity signals. Provenance: OpenAlex Works API (https://api.openalex.org/works), keyless, CC0-1.0. Counts include all work types OpenAlex indexes (journal articles, preprints, conference papers, datasets); a work with authors in several countries counts once per country. Coverage: publication years 2015 to the present; years before 2015 are not collected. Kosovo appears under the de facto code XKX (ISO 3166-1 assigns it no code). Primary key: (country_code, year); country_code is ISO 3166-1 alpha-3 and joins other hub country datasets. Cadence: refreshed monthly; the current year is partial and its counts grow as OpenAlex indexes new works. Nullability: works_count is never null (0 allowed); country_code, country_name and year are never null. Sample use: filter year = the latest full year and order by works_count desc for the current country ranking.
- Source
- OpenAlex
- Rows
- 2,400
- Columns
- 4
- Source cadence
- Monthly
- Last refreshed
- Sep 23, 2026
- Theme
- technology
| Column | Type | Description |
|---|---|---|
| country_code | string | ISO 3166-1 alpha-3 country code, mapped from the OpenAlex alpha-2 country group key. |
| country_name | string | Canonical English short country name for country_code. |
| year | integer | Publication year the works count applies to. |
| works_count | integer | Number of OpenAlex works in the country group for the year (the group-by 'count': works in this group). (unit: works) |
First 10 sample rows — a preview, not the complete dataset.
| country_code | country_name | year | works_count |
|---|---|---|---|
| ABW | Aruba | 2,015 | 7 |
| AFG | Afghanistan | 2,015 | 6 |
| AGO | Angola | 2,015 | 5 |
| ALA | Åland Islands | 2,015 | 1 |
| ALB | Albania | 2,015 | 116 |
| ARE | United Arab Emirates | 2,015 | 797 |
| ARG | Argentina | 2,015 | 1,061 |
| ARM | Armenia | 2,015 | 86 |
| ASM | American Samoa | 2,015 | 3 |
| ATG | Antigua and Barbuda | 2,015 | 5 |
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).
curl "https://datazimuts.com/v1/datasets/openalex/openalex_ai_works_by_country_year" | jq '{title, rows, columns_count, license}'import requests
ds = requests.get("https://datazimuts.com/v1/datasets/openalex/openalex_ai_works_by_country_year").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)API endpoint: https://datazimuts.com/v1/datasets/openalex/openalex_ai_works_by_country_year
Tip: fetch /llms.txt for the full machine-readable catalog.