Cabinhub News API v1.0.0

Docs / List Items

List Items

List Items

GET/v1/site/items
Auth
none
Cache-Control
public, max-age=30, stale-while-revalidate=150, stale-if-error=300
Validators
ETag
Source of truth
clients/openapi.json and docs/API.md §12

Same page contract as the paid `/v1/items`; the client uses it as the feed fallback.

Description: clients/openapi.json

Parameters

NameInRequiredTypeExampleNotes
localequerynostringenA well-formed locale tag. Read the supported set from GET /v1/meta → locales.
categoryquerynostringcentral_banksOne of GET /v1/meta → categories; anything else is 400.
sincequerynostring2026-11-01T00:00:00ZRFC3339 lower bound (inclusive).
untilquerynostring2026-11-07T00:00:00ZRFC3339 upper bound (inclusive); since > until is 400.
min_importancequerynostring0.5Float 0.0..1.0.
limitquerynostring2Page size. /v1/items is 1..200 (default 50); /v1/search clamps a larger value; /v1/items/{id}/related is 1..50.
cursorquerynostring<next_cursor>Opaque keyset cursor from the previous page's next_cursor. An empty string is treated as absent.
includequerynostring

Following next_cursor is a loop; see Pagination for the walk in curl, Python and TypeScript.

Example request

curl
Shell
curl -sS \
  'https://vg.tempproject.online/v1/site/items?limit=2'
Python, standard library only
Python
import json
import os
import urllib.request

URL = "https://vg.tempproject.online/v1/site/items?limit=2"


def call() -> dict:
    req = urllib.request.Request(URL, headers={})
    with urllib.request.urlopen(req, timeout=15) as res:
        print(res.status, res.headers.get("ETag"))
        return json.loads(res.read().decode("utf-8"))


if __name__ == "__main__":
    body = call()
    print(json.dumps(body, indent=2, ensure_ascii=False)[:2000])
TypeScript, Node 18+, no dependencies
TypeScript
const res = await fetch(
  "https://vg.tempproject.online/v1/site/items?limit=2",
  {
    method: "GET",
    headers: {},
  },
);
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(res.headers.get("etag"), await res.json());

The requests are generated from the path template and the parameters in clients/openapi.json, so a new parameter appears here without an edit to this site.

Example response

Response body
JSON
{
  "items": [
    {
      "id": "a41f7c02-8d3e-5b16-9a77-2c0e4b91d5aa",
      "schema_version": 1,
      "locale": "en",
      "title": "Fed holds policy rate as core inflation cools to 2.4%",
      "summary": "Officials left the target range unchanged and repeated that further moves depend on incoming data, not a preset path.",
      "body": "The Federal Reserve kept its target range for the federal funds rate unchanged at its November meeting, citing continued progress on inflation alongside a labour market that officials described as gradually rebalancing.\n\nCore personal consumption expenditures rose **2.4%** year over year in the latest reading, down from 2.8% three months earlier. The statement dropped a prior reference to *elevated* inflation and replaced it with a description of price pressures as moderating.\n\nPolicymakers said any adjustment would depend on the data received, and declined to characterise the current stance as restrictive for a fixed period — a wording change analysts read as a lower bar for a future cut.",
      "bullets": [
        "Target range for the federal funds rate left unchanged",
        "Core PCE at 2.4% year over year, down from 2.8%",
        "Statement language on inflation softened from 'elevated' to 'moderating'",
        "No commitment to a timeframe for the next move"
      ],
      "category": "central_banks",
      "importance": 0.94,
      "published_at": "2026-11-03T18:00:00Z",
      "updated_at": "2026-11-03T18:22:00Z",
      "source": {
        "name": "Federal Reserve",
        "url": "https://www.federalreserve.gov/newsevents/pressreleases/monetary20261103a.htm",
        "canonical_url": "https://www.federalreserve.gov/newsevents/pressreleases/monetary20261103a.htm",
        "retrieved_at": "2026-11-03T18:04:00Z"
      },
      "claims": [
        {
          "text": "The committee left its target range unchanged.",
          "source_span": "The Committee decided to maintain the target range for the federal funds rate at 3-3/4 to 4 percent.",
          "confidence": 0.96
        },
        {
          "text": "Core PCE inflation was 2.4% year over year.",
          "source_span": "Core PCE prices rose 2.4 percent over the 12 months ending in September.",
          "confidence": 0.91
        },
        {
          "text": "The committee said it would assess incoming data.",
          "source_span": "the Committee will continue to assess the implications of incoming information for the economic outlook",
          "confidence": 0.88
        }
      ],
      "entities": {
        "instruments": [
          "USD"
        ],
        "countries": [
          "US"
        ],
        "organizations": [
          "Federal Reserve",
          "Federal Open Market Committee"
        ]
      },
      "market_data": {
        "symbol": "USD",
        "price": 103.42,
        "change_pct": -0.38,
        "as_of": "2026-11-03T18:15:00Z"
      },
      "compliance": {
        "status": "clean",
        "risk_score": 0.02,
        "reason_codes": [
          "CLEAN"
        ],
        "policy_version": "2026-11-03.1"
      },
      "assets": {
        "title_image_prompt": "A marble Federal Reserve building facade in flat late-afternoon light, wide angle, restrained editorial tone, deep navy sky, no text, no logos.",
        "title_image_aspect": "16:9",
        "title_image_alt": "The Federal Reserve building, Washington",
        "title_image_url": "/v1/site/images/fed-facade",
        "title_image_srcset": "/v1/site/images/fed-facade?w=640 640w, /v1/site/images/fed-facade?w=1280 1280w",
        "title_image_ai_generated": true,
        "body_images": [
          {
            "url": "/v1/site/images/fed-floor",
            "alt": "Traders on the floor of the New York Stock Exchange watching the Fed decision",
            "caption": "The Fed left its target range unchanged; the statement softened its language on inflation.",
            "after_paragraph": 0,
            "aspect": "3:2",
            "ai_generated": true,
            "credit": "Ember Picture Desk",
            "licence": "CC BY 4.0"
          },
          {
            "url": "/v1/site/images/fed-statement",
            "alt": "Printout of the Federal Open Market Committee statement",
            "caption": "The wording moved from “elevated” inflation to “moderating” price pressures.",
            "after_paragraph": 2,
            "aspect": "3:2",
            "ai_generated": false,
            "credit": null,
            "licence": null
          }
        ]
      },
      "translations": {
        "en": "a41f7c02-8d3e-5b16-9a77-2c0e4b91d5aa",
        "zh-Hans": "a69a603b-9bdc-5132-b854-f517feac65bc"
      },
      "ai_generated": true,
      "ai_label": "AI-generated content"
    },
    {
      "id": "b92c1e77-3ad0-5f41-8c6b-71d2f0a4e833",
      "schema_version": 1,
      "locale": "en",
      "title": "Gold slips from record as real yields turn higher",
      "summary": "Bullion fell for a second session after a stronger-than-expected services print pushed ten-year real yields above 1.6%.",
      "body": "Gold fell below its record close on Tuesday, erasing gains from the previous week, as rising real yields removed the main support for the metal over the past month.\n\nThe move followed a services activity release that beat consensus, prompting traders to reconsider the pace of rate reductions priced into futures markets.\n\nHoldings in physically backed exchange-traded funds were little changed, suggesting the selling was concentrated in futures rather than long-term allocation.",
      "bullets": [
        "Spot gold down from a record close on Monday",
        "Ten-year real yields above 1.6%",
        "ETF holdings roughly unchanged"
      ],
      "category": "commodities",
      "importance": 0.81,
      "published_at": "2026-11-03T15:40:00Z",
      "updated_at": "2026-11-03T16:05:00Z",
      "source": {
        "name": "London Bullion Market Association",
        "url": "https://www.lbma.org.uk/prices-and-data/precious-metal-prices",
        "canonical_url": "https://www.lbma.org.uk/prices-and-data/precious-metal-prices",
        "retrieved_at": "2026-11-03T15:45:00Z"
      },
      "claims": [
        {
          "text": "Gold fell for a second consecutive session.",
          "source_span": "Gold prices declined for a second consecutive session on Tuesday",
          "confidence": 0.84
        },
        {
          "text": "Ten-year real yields rose above 1.6%.",
          "source_span": "Ten-year real yields climbed above 1.6 percent for the first time since August",
          "confidence": 0.79
        }
      ],
      "entities": {
        "instruments": [
          "XAUUSD",
          "US10Y"
        ],
        "countries": [
          "US",
          "GB"
        ],
        "organizations": [
          "London Bullion Market Association"
        ]
      },
      "market_data": {
        "symbol": "XAUUSD",
        "price": 4012.85,
        "change_pct": -1.24,
        "as_of": "2026-11-03T16:00:00Z"
      },
      "compliance": {
        "status": "clean",
        "risk_score": 0.06,
        "reason_codes": [
          "CLEAN"
        ],
        "policy_version": "2026-11-03.1"
      },
      "assets": {
        "title_image_prompt": "Cast gold bars on a matte charcoal surface, hard raking light, single specular highlight, macro editorial still life, no text.",
        "title_image_aspect": "16:9",
        "body_images": [
          {
            "url": "/v1/site/images/gold-bars",
            "alt": "Gold bars stacked on a charcoal surface",
            "caption": "Bullion held near its recent range as real yields steadied.",
            "after_paragraph": 9,
            "aspect": "3:2",
            "ai_generated": false,
            "credit": null,
            "licence": null
          },
          {
            "url": "/v1/site/images/does-not-exist",
            "alt": "A deliberate broken image used to prove the figure collapses",
            "caption": "This caption must never be left behind when the picture fails.",
            "after_paragraph": 1,
            "aspect": "3:2",
            "ai_generated": false,
            "credit": null,
            "licence": null
          },
          {
            "url": "/v1/site/images/gold-bars",
            "alt": "Ignored: negative index",
            "caption": "Never rendered.",
            "after_paragraph": -1,
            "aspect": "3:2",
            "ai_generated": false,
            "credit": null,
            "licence": null
          },
          {
            "url": "/v1/site/images/gold-bars",
            "alt": "Ignored: non-integer index",
            "caption": "Never rendered.",
            "after_paragraph": 1.5,
            "aspect": "3:2",
            "ai_generated": false,
            "credit": null,
            "licence": null
          }
        ]
      },
      "translations": {
        "en": "b92c1e77-3ad0-5f41-8c6b-71d2f0a4e833",
        "zh-Hans": "ae1ec185-095a-5c0e-8f7e-d60e696d2fad"
      }
    }
  ],
  "next_cursor": null,
  "count": 2,
  "disclaimers": {
    "en": "This content is provided for information purposes only. It is not investment advice, a recommendation, or an offer to buy or sell any financial instrument. Stories are written by the Cabinhub newsroom and cite the public sources they draw on; information may be delayed or incomplete.",
    "zh-Hans": "本内容仅供参考,不构成投资建议、推荐或任何金融工具的买卖要约。报道由 Cabinhub 编辑部撰写,并标注所引用的公开来源;信息可能存在延迟或不完整。"
  }
}

Built from frontend/fixtures/items.json (captured items, sha 6784d82e71cd)

Failures

This operation can answer 200, 304, 400, 422, 429, 503. The full envelope for each status, with its body, is on Errors.