Free JSON · no key · open CORS

The Ration Data API

Every number published on The Ration (the-ration.com) as free JSON: leaderboard, ingredients and regions. No key, no sign-up, callable from any website or script. The files are rebuilt every time the site rebuilds with new data, so they always match the pages.

Base URL
https://the-ration.com/api/v1
Auth
None
Format
JSON, UTF-8, GET only
CORS
Access-Control-Allow-Origin: *
Series
28 · 13 key statistics
Data as of
Nov 2, 2026

Quick start

The newest reading of every series, from a terminal:

curl https://the-ration.com/api/v1/latest.json

Or in JavaScript, from any page:

const res = await fetch("https://the-ration.com/api/v1/latest.json");
const { data_as_of, data } = await res.json();
for (const row of data) console.log(row.title, row.headline, row.data_through);

Endpoints

GET /api/v1/index.json

API index. What this API is, its license and attribution, the sections it covers, and every endpoint.

Example: https://the-ration.com/api/v1/index.json

Sample response
{
  "api": "The Ration Data API",
  "version": "v1",
  "docs": "https://the-ration.com/api",
  "data_as_of": "2026-11-02",
  "data_as_of_label": "Nov 2, 2026",
  "data_pulled_at": "2026-11-12T19:00:08.244Z",
  "generated_at": "2026-11-12T19:04:28.593Z",
  "attribution": "Credit The Ration (the-ration.com) with a visible link to the page the figure came from; every record carries its page_url.",
  "name": "The Ration Data API",
  "description": "Free JSON for every number published on The Ration (the-ration.com): leaderboard, ingredients, regions. The feedstuffs board.",
  "publisher": {
    "name": "The Ration",
    "url": "https://the-ration.com"
  },
  "auth": "none",
  "cors": "*",
  "format": "application/json; charset=utf-8",
  "license": "Free to use and republish with attribution; no key or sign-up. The underlying figures are public records from the agencies named in each series' provenance; The Ration collects, checks and publishes them.",
  "update_policy": "Static files rebuilt every time the site rebuilds with new data. data_as_of in each response is the newest observation it holds; data_pulled_at is when the site last pulled its sources.",
  "counts": {
    "series": 28,
    "stats": 13
  },
  "sections": [
    {
      "key": "leaderboard",
      "label": "Leaderboard",
      "series": 2,
      "example": "https://the-ration.com/api/v1/series/leaderboard/cheapest-protein.json"
    },
    {
      "key": "ingredient",
      "label": "Ingredients",
      "series": 25,
      "example": "https://the-ration.com/api/v1/series/ingredient/alfalfa-meal.json"
    },
    {
      "key": "region",
      "label": "Regions",
      "series": 1,
      "example": "https://the-ration.com/api/v1/series/region/index.json"
    }
  ],
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/v1/index.json",
      "url": "https://the-ration.com/api/v1/index.json",
      "description": "What this API is, its license and attribution, the sections it covers, and every endpoint."
    },
    {
      "method": "GET",
      "path": "/api/v1/latest.json",
      "url": "https://the-ration.com/api/v1/latest.json",
      "description": "The newest reading of every data page on The Ration (28 series): the headline value as the site shows it, the newest point of each charted line with its date, whether it is current, and links to its page and full history."
    },
    {
      "method": "GET",
      "path": "/api/v1/stats.json",
      "url": "https://the-ration.com/api/v1/stats.json",
      "description": "The 13 headline numbers on the the-ration.com/stats page, each as a quotable sentence with its data date and a ready-made citation."
    },
    {
      "method": "GET",
      "path": "/api/v1/series/{section}/{slug}.json",
      "url": "https://the-ration.com/api/v1/series/leaderboard/cheapest-protein.json",
      "description": "Everything behind one data page: every charted point (date + value), the historical band where the page draws one, the page's tables exactly as shown, its source and citation. Find each series_url in latest.json."
    },
    {
      "method": "GET",
      "path": "/api/v1/openapi.json",
      "url": "https://the-ration.com/api/v1/openapi.json",
      "description": "A machine-readable OpenAPI 3.1 description of these endpoints."
    }
  ]
}

GET /api/v1/latest.json

Latest readings. The newest reading of every data page on The Ration (28 series): the headline value as the site shows it, the newest point of each charted line with its date, whether it is current, and links to its page and full history.

Example: https://the-ration.com/api/v1/latest.json

Sample response
{
  "api": "The Ration Data API",
  "version": "v1",
  "docs": "https://the-ration.com/api",
  "data_as_of": "2026-11-02",
  "data_as_of_label": "Nov 2, 2026",
  "data_pulled_at": "2026-11-12T19:00:08.244Z",
  "generated_at": "2026-11-12T19:04:28.593Z",
  "attribution": "Credit The Ration (the-ration.com) with a visible link to the page the figure came from; every record carries its page_url.",
  "count": 28,
  "data": [
    {
      "id": "leaderboard/cheapest-protein",
      "section": "leaderboard",
      "section_label": "Leaderboard",
      "title": "Lowest cost per pound of crude protein",
      "headline": "$0.275/lb crude protein",
      "unit": "$/ton",
      "data_through": "2026-11-02",
      "frequency": "Weekly",
      "status": "current",
      "values": [
        {
          "series": "Corn (energy anchor)",
          "date": "2026-11-02",
          "value": 151.071429
        },
        {
          "series": "Soybean meal (protein anchor)",
          "date": "2026-11-02",
          "value": 336.7
        },
        {
          "series": "DDGS",
          "date": "2026-11-02",
          "value": 188.4
        }
      ],
      "source": "USDA AMS feedstuffs board; corn and soybean meal benchmarks",
      "page_url": "https://the-ration.com/leaderboard/cheapest-protein",
      "series_url": "https://the-ration.com/api/v1/series/leaderboard/cheapest-protein.json"
    },
    {
      "id": "leaderboard/cheapest-energy",
      "section": "leaderboard",
      "section_label": "Leaderboard",
      "title": "Lowest cost per pound of TDN (energy)",
      "headline": "$0.098/lb TDN",
      "unit": "$/ton",
      "data_through": "2026-11-02",
      "frequency": "Weekly",
      "status": "current",
      "values": [
        {
          "series": "Corn (energy anchor)",
          "date": "2026-11-02",
          "value": 151.071429
        },
        {
          "series": "Soybean meal (protein anchor)",
          "date": "2026-11-02",
          "value": 336.7
        },
        {
          "series": "DDGS",
          "date": "2026-11-02",
          "value": 188.4
        }
      ],
      "source": "USDA AMS feedstuffs board; corn and soybean meal benchmarks",
      "page_url": "https://the-ration.com/leaderboard/cheapest-energy",
      "series_url": "https://the-ration.com/api/v1/series/leaderboard/cheapest-energy.json"
    }
  ]
}

Trimmed to 2 of 28 entries.

GET /api/v1/stats.json

Key statistics. The 13 headline numbers on the the-ration.com/stats page, each as a quotable sentence with its data date and a ready-made citation.

Example: https://the-ration.com/api/v1/stats.json

Sample response
{
  "api": "The Ration Data API",
  "version": "v1",
  "docs": "https://the-ration.com/api",
  "data_as_of": "2026-11-02",
  "data_as_of_label": "Nov 2, 2026",
  "data_pulled_at": "2026-11-12T19:00:08.244Z",
  "generated_at": "2026-11-12T19:04:28.593Z",
  "attribution": "Credit The Ration (the-ration.com) with a visible link to the page the figure came from; every record carries its page_url.",
  "stats_page": "https://the-ration.com/stats",
  "count": 13,
  "stats": [
    {
      "id": "cheapest-protein",
      "label": "Lowest cost per pound of crude protein",
      "sentence": "The lowest-cost source of crude protein on the latest USDA board is sunflower meal at $0.275 per lb of crude protein, 78% of soybean meal's cost on a dry-matter basis (USDA feedstuffs board). A price screen, not a feeding recommendation.",
      "data_date": "2026-11-02",
      "citation": "Lowest cost per pound of crude protein: sunflower meal at $0.275 for protein (per lb of crude protein) on a dry-matter basis, as of Nov 2, 2026 (USDA feedstuffs board). The Ration. https://the-ration.com/leaderboard/cheapest-protein",
      "stats_url": "https://the-ration.com/stats#cheapest-protein",
      "page_url": "https://the-ration.com/leaderboard/cheapest-protein",
      "series_url": "https://the-ration.com/api/v1/series/leaderboard/cheapest-protein.json",
      "provenance": "USDA AMS feedstuffs board; corn and soybean meal benchmarks · Feedstuffs ranked by cost per pound of crude protein · Dry-matter basis · National · through Nov 2, 2026"
    },
    {
      "id": "cheapest-energy",
      "label": "Lowest cost per pound of TDN (energy)",
      "sentence": "The lowest-cost source of energy on the latest USDA board is corn (us #2 yellow) at $0.098 per lb of TDN on a dry-matter basis (USDA feedstuffs board). A price screen, not a feeding recommendation.",
      "data_date": "2026-11-02",
      "citation": "Lowest cost per pound of TDN (energy): corn (us #2 yellow) at $0.098 for energy (per lb of TDN) on a dry-matter basis, as of Nov 2, 2026 (USDA feedstuffs board). The Ration. https://the-ration.com/leaderboard/cheapest-energy",
      "stats_url": "https://the-ration.com/stats#cheapest-energy",
      "page_url": "https://the-ration.com/leaderboard/cheapest-energy",
      "series_url": "https://the-ration.com/api/v1/series/leaderboard/cheapest-energy.json",
      "provenance": "USDA AMS feedstuffs board; corn and soybean meal benchmarks · Feedstuffs ranked by cost per pound of energy (TDN) · Dry-matter basis · National · through Nov 2, 2026"
    }
  ]
}

Trimmed to 2 of 13 statistics.

GET /api/v1/series/{section}/{slug}.json

One series, full history. Everything behind one data page: every charted point (date + value), the historical band where the page draws one, the page's tables exactly as shown, its source and citation. Find each series_url in latest.json.

Example: https://the-ration.com/api/v1/series/leaderboard/cheapest-protein.json

Sample response
{
  "api": "The Ration Data API",
  "version": "v1",
  "docs": "https://the-ration.com/api",
  "data_as_of": "2026-11-02",
  "data_as_of_label": "Nov 2, 2026",
  "data_pulled_at": "2026-11-12T19:00:08.244Z",
  "generated_at": "2026-11-12T19:04:28.593Z",
  "attribution": "Credit The Ration (the-ration.com) with a visible link to the page the figure came from; every record carries its page_url.",
  "id": "leaderboard/cheapest-protein",
  "section": "leaderboard",
  "section_label": "Leaderboard",
  "title": "Lowest cost per pound of crude protein",
  "subtitle": "A nutrient-cost screening board: every feedstuff ranked by cost per pound of crude protein on a dry-matter basis, against the soybean-meal benchmark. A price screen, not a feeding recommendation.",
  "description": "Every USDA-reported feedstuff ranked by cost per pound of crude protein on a dry-matter basis, against soybean meal. Sunflower meal had the lowest cost per pound of crude protein in the week of Nov 2, 2026.",
  "page_url": "https://the-ration.com/leaderboard/cheapest-protein",
  "headline": "$0.275/lb crude protein",
  "unit": "$/ton",
  "data_through": "2026-11-02",
  "frequency": "Weekly",
  "status": "current",
  "source": "USDA AMS feedstuffs board; corn and soybean meal benchmarks",
  "provenance": {
    "source": "USDA AMS feedstuffs board; corn and soybean meal benchmarks",
    "series": "Feedstuffs ranked by cost per pound of crude protein",
    "basis": "Dry-matter basis",
    "geography": "National",
    "unit": "$/ton",
    "period": "Weekly board",
    "lastObservation": "Nov 2, 2026",
    "frequency": "Weekly"
  },
  "citation": "Lowest cost per pound of crude protein: sunflower meal at $0.275 for protein (per lb of crude protein) on a dry-matter basis, as of Nov 2, 2026 (USDA feedstuffs board). The Ration. https://the-ration.com/leaderboard/cheapest-protein",
  "series": [
    {
      "label": "Corn (energy anchor)",
      "unit": "$/ton",
      "points": [
        {
          "date": "2026-10-19",
          "value": 156.071429
        },
        {
          "date": "2026-10-26",
          "value": 152.142857
        },
        {
          "date": "2026-11-02",
          "value": 151.071429
        }
      ]
    },
    {
      "label": "Soybean meal (protein anchor)",
      "unit": "$/ton",
      "points": [
        {
          "date": "2026-10-19",
          "value": 369
        },
        {
          "date": "2026-10-26",
          "value": 351.5
        },
        {
          "date": "2026-11-02",
          "value": 336.7
        }
      ]
    }
  ],
  "tables": [
    {
      "caption": "A nutrient-cost screening board. It ranks price per pound of a single nutrient (crude protein or TDN) on a dry-matter basis, not what to feed. The Category column separates plant protein meals, grain co-products and rendered animal proteins, which are not interchangeable on crude protein alone: an animal protein's amino-acid profile and digestibility do not match an oilseed meal's. Effective fiber, palatability and inclusion limits are the nutritionist's call.",
      "columns": [
        "Ingredient",
        "$/ton",
        "$/lb protein",
        "vs soybean meal",
        "$/lb TDN",
        "Category"
      ],
      "rows": [
        [
          "Sunflower meal",
          "$160",
          "$0.275",
          "78%",
          "$0.154",
          "Plant protein meal"
        ],
        [
          "Feather meal",
          "$513",
          "$0.317",
          "90%",
          "$0.392",
          "Animal protein"
        ],
        [
          "Meat and bone meal (ruminant)",
          "$336",
          "$0.325",
          "92%",
          "$0.252",
          "Animal protein"
        ]
      ]
    }
  ]
}

Trimmed: the live response carries all 690 points, all 3 lines, the full table.

GET /api/v1/openapi.json

OpenAPI description. A machine-readable OpenAPI 3.1 description of these endpoints.

Example: https://the-ration.com/api/v1/openapi.json

Sample response
{
  "openapi": "3.1.0",
  "info": {
    "title": "The Ration Data API",
    "version": "1.0.0",
    "description": "Free JSON for every number published on The Ration (the-ration.com): leaderboard, ingredients, regions. The feedstuffs board. No key needed. Credit The Ration (the-ration.com) with a visible link to the page the figure came from; every record carries its page_url.",
    "license": {
      "name": "Free to use with attribution",
      "url": "https://the-ration.com/api"
    }
  },
  "servers": [
    {
      "url": "https://the-ration.com/api/v1"
    }
  ],
  "externalDocs": {
    "description": "Docs",
    "url": "https://the-ration.com/api"
  },
  "paths": {
    "/index.json": {
      "get": {
        "operationId": "getIndex",
  ...

First lines only.

What's in it

One series file per data page on the site, at https://the-ration.com/api/v1/series/{section}/{slug}.json. Every valid pair is listed in latest.json (its id and series_url fields).

SectionSeriesExample
LeaderboardThe flagship: every feedstuff ranked by its cost per pound of protein and per pound of energy on a dry-matter basis, against the corn and soybean-meal benchmark. The cheapest protein and cheapest energy on the latest USDA board. 2 Lowest cost per pound of crude protein
IngredientsEach feedstuff's board price over time, its week-over-week and year-over-year moves, and its cost per unit of protein and energy against the benchmark. DDGS, corn gluten feed and meal, the cottonseed and oilseed meals, hulls and mill feeds. 25 Alfalfa meal price
RegionsEvery feedstuff priced in each US trade region, cheapest first, with each price's FOB-plant or delivered basis. Feed is a freight business, so the cheapest board price is not the cheapest fed price. 1 Feed ingredient prices by region

Fields every response carries

In latest.json and each series file, headline is the value exactly as the site shows it (with its unit), values / series carry the raw numbers with their dates, and status is current or not_current. A series that is out of season or not recently quoted says so, with last_quoted, rather than passing an old reading off as today's. See an example series.

Use, credit and limits

Free to use and republish with attribution; no key or sign-up. The underlying figures are public records from the agencies named in each series' provenance; The Ration collects, checks and publishes them.

Attribution: Credit The Ration (the-ration.com) with a visible link to the page the figure came from; every record carries its page_url.

No rate limit is set and there is nothing to sign up for: the files are static and served from Cloudflare's network. Please cache responses rather than polling; they change only when the site rebuilds. Fields are only ever added within v1, never renamed or removed. Questions or a series you need: contact us. How each number is collected: methodology.