Back to Dashboard

API Documentation

Retrieve live AI code adoption data for your newsroom, dashboard, or research. All endpoints return JSON with CORS enabled.

Data is licensed under CC BY 4.0. Attribution required: "Source: AI Code Radar, Korext Open Source"

Base URL

https://oss.korext.com/api/radar

Rate Limits

Without API key
100 requests / hour / IP
With API key (free)
10,000 requests / hour

All responses include Cache-Control: public, max-age=3600. Data updates hourly.

Endpoints

GET/current

Returns the latest full aggregated snapshot of all statistics.

Request

curl https://oss.korext.com/api/radar/current

Response shape

{
  "schema": "https://oss.korext.com/radar/schema",
  "version": "1.0",
  "computed_at": "2026-04-16T12:00:00Z",
  "global": { "weighted_ai_percentage": 34.2, ... },
  "by_language": [ ... ],
  "by_tool": [ ... ],
  "quality": { "included_in_aggregates": 9151, ... }
}
GET/current?metric=languages

Returns a specific dimension from the current snapshot. Valid metrics: languages, tools, ecosystems, industries, regions, governance, maturity.

Request

curl https://oss.korext.com/api/radar/current?metric=tools

Response shape

{
  "metric": "tools",
  "data": [
    { "tool": "Claude Code", "repos_detected": 2841, "total_share": 28.4 },
    ...
  ],
  "computed_at": "2026-04-16T12:00:00Z",
  "quality": { ... }
}
GET/history?metric=global&days=30

Returns time series data points for a metric. Days parameter is bounded between 1 and 365.

Request

curl https://oss.korext.com/api/radar/history?metric=global&days=30

Response shape

{
  "metric": "global",
  "days": 30,
  "points": 30,
  "history": [
    { "date": "2026-03-17", "value": 31.2 },
    { "date": "2026-03-18", "value": 31.4 },
    ...
  ]
}
GET/snapshot/2026-04-15-12

Returns a historical snapshot by its hourly timestamp. Format: YYYY-MM-DD-HH.

Request

curl https://oss.korext.com/api/radar/snapshot/2026-04-15-12
GET/methodology

Returns the full methodology document as markdown.

Request

curl https://oss.korext.com/api/radar/methodology

Response shape

{
  "format": "markdown",
  "content": "# AI Code Radar Methodology\n\n..."
}

SDKs

JavaScript / TypeScript

npm install @korext/radar-data
import { radar } from '@korext/radar-data';

const current = await radar.current();
const languages = await radar.metric('languages');
const history = await radar.history('global', { days: 90 });

Python

pip install korext-radar-data
from korext_radar_data import radar

current = radar.current()
languages = radar.metric('languages')
history = radar.history('global', days=90)

Attribution

Short form: "Source: AI Code Radar, Korext Open Source"

Academic: AI Code Radar (2026). AI Code Radar: Live Data on AI Code Adoption. Korext Open Source. Retrieved [DATE] from https://oss.korext.com/radar

Iframes: Attribution is included automatically in embedded charts.

Example Use Cases

Newsroom live widget

Fetch /current on page load and display the global AI percentage as a live number in your sidebar.

Research dashboard

Use the /history endpoint to plot long term adoption trends alongside policy timelines.

Executive briefing

Pull /current?metric=industries for a table comparing AI adoption and governance rates across regulated sectors.

Sustainability report

Query tool market share data to estimate compute emissions from AI coding tools across an ecosystem.