v1 end of life: raw.datafornerds.io will be retired on November 1, 2026. Migration guide →

Getting Started

The DataForNerds API serves structured data as JSON from a single base URL.

Base URL

https://api.datafornerds.io

Your first request

Open any of these in your browser, or use the examples below:

curl -s https://api.datafornerds.io/v2/microsoft/language-codes.json | head -20
$response = Invoke-RestMethod 'https://api.datafornerds.io/v2/microsoft/language-codes.json'
$response.data | Select-Object -First 5
import requests

response = requests.get("https://api.datafornerds.io/v2/microsoft/language-codes.json")
data = response.json()
for record in data["data"][:5]:
    print(record)
const response = await fetch('https://api.datafornerds.io/v2/microsoft/language-codes.json');
const { data } = await response.json();
console.log(data.slice(0, 5));

Response envelope

Every dataset response has the same structure:

{
  "metadata": {
    "provider": "DataForNerds",
    "apiVersion": "v2",
    "dataset": "language-codes",
    "recordCount": 223,
    "sourceUrls": ["https://learn.microsoft.com/..."],
    "lastModified": "2026-05-25T06:15:30.0000000Z",
    "lastCollected": "2026-05-25T06:15:30.0000000Z"
  },
  "data": [
    { "LanguageCode": "1025", "Description": "Arabic - Saudi Arabia", "BCP47": "ar-SA" }
  ]
}
  • metadata contains information about the dataset, when it was last collected, and the source URLs
  • data is an array of records with the dataset’s fields

Discover available datasets

The dataset catalog at /v2/index.json lists all available datasets:

curl -s https://api.datafornerds.io/v2/index.json

Each entry includes the dataset URL, a description, the JSON Schema URL, and a lastModified timestamp.

Next steps