cURL
curl "https://api.ornnai.com/api/llm-coding/index?product=cc-prs" \
-H "Authorization: Bearer YOUR_API_KEY"import requests
resp = requests.get(
"https://api.ornnai.com/api/llm-coding/index",
params={"product": "cc-prs"},
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
latest = resp.json()["data"]
const res = await fetch(
"https://api.ornnai.com/api/llm-coding/index?product=cc-prs",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } },
);
const { data } = await res.json();
<?php
$ch = curl_init("https://api.ornnai.com/api/llm-coding/index?product=cc-prs");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"],
]);
$data = json_decode(curl_exec($ch), true);
package main
import (
"io"
"net/http"
)
func main() {
endpoint := "https://api.ornnai.com/api/llm-coding/index?product=cc-prs"
req, _ := http.NewRequest("GET", endpoint, nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
_ = body
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder(
URI.create("https://api.ornnai.com/api/llm-coding/index?product=cc-prs"))
.header("Authorization", "Bearer YOUR_API_KEY")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
require "net/http"
require "json"
uri = URI("https://api.ornnai.com/api/llm-coding/index?product=cc-prs")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)
{
"success": true,
"data": {
"product": "cc-prs",
"label": "Claude PRs",
"kind": "count",
"value": 1000,
"changePct": 0,
"date": "2026-01-01",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}{
"error": "Bad request",
"message": "Invalid GPU type. Allowed: H100 SXM, H200, A100 SXM4, RTX 5090, B200, RTX PRO 6000 WS"
}{
"error": "Unauthorized",
"message": "API key required. Use Authorization: Bearer YOUR_API_KEY"
}{
"error": "No data available",
"message": "No daily index data found for H100 SXM"
}Get the latest value for an LLM coding product
The most recent daily value for a single (non-compare) LLM coding product, with the day-over-day percent change. Requires an API key — LLM coding analytics have no free tier. changePct is null when there is no previous day on file or the previous value was zero. Compare products such as cc-vs-codex are not valid here — use /api/llm-coding/history for those.
GET
/
api
/
llm-coding
/
index
cURL
curl "https://api.ornnai.com/api/llm-coding/index?product=cc-prs" \
-H "Authorization: Bearer YOUR_API_KEY"import requests
resp = requests.get(
"https://api.ornnai.com/api/llm-coding/index",
params={"product": "cc-prs"},
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
latest = resp.json()["data"]
const res = await fetch(
"https://api.ornnai.com/api/llm-coding/index?product=cc-prs",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } },
);
const { data } = await res.json();
<?php
$ch = curl_init("https://api.ornnai.com/api/llm-coding/index?product=cc-prs");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"],
]);
$data = json_decode(curl_exec($ch), true);
package main
import (
"io"
"net/http"
)
func main() {
endpoint := "https://api.ornnai.com/api/llm-coding/index?product=cc-prs"
req, _ := http.NewRequest("GET", endpoint, nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
_ = body
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder(
URI.create("https://api.ornnai.com/api/llm-coding/index?product=cc-prs"))
.header("Authorization", "Bearer YOUR_API_KEY")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
require "net/http"
require "json"
uri = URI("https://api.ornnai.com/api/llm-coding/index?product=cc-prs")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)
{
"success": true,
"data": {
"product": "cc-prs",
"label": "Claude PRs",
"kind": "count",
"value": 1000,
"changePct": 0,
"date": "2026-01-01",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}{
"error": "Bad request",
"message": "Invalid GPU type. Allowed: H100 SXM, H200, A100 SXM4, RTX 5090, B200, RTX PRO 6000 WS"
}{
"error": "Unauthorized",
"message": "API key required. Use Authorization: Bearer YOUR_API_KEY"
}{
"error": "No data available",
"message": "No daily index data found for H100 SXM"
}Overview
The most recent daily value for a single (non-compare) LLM coding product, with the day-over-day percent change. Requires an API key - LLM coding analytics have no free tier.changePct is null when there is no previous day on file or the previous value was zero. Compare products such as cc-vs-codex are not valid here - use /api/llm-coding/history for those.Authorizations
API key passed as a Bearer token. Create one in the dashboard.
Query Parameters
A single-tool product ID. See /api/llm-coding/products.
Available options:
cc-prs, codex-prs, copilot-prs, cursor-prs, devin-prs, cc-commits, cc-merge, codex-merge, copilot-merge, cursor-merge, devin-merge Example:
"cc-prs"
Response
Latest value for the product.

