{"uid":"cap_5s7bJwX-J4gQ5Q1nO37w4","slug":"gloom-energy-inventories-api-19a075fa","name":"Gloom Energy Inventories API","description":"Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.","url":"https://api.gloom.sh/v1/energy/inventories?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"id":"crude-commercial","key":"WCESTUS1","tab":"crude","unit":"kb","basis":"computed","label":"Commercial crude oil","value":100,"report":"petroleum","weekEnding":"2026-09-25","previousWeekEnding":"2026-09-18"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_txXSKLG5roDgNMmg6ZZrP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves U.S. energy inventory data (e.g. crude oil, petroleum products) with weekly figures, keys, and units from EIA-style reports.","exampleAgentPrompt":"Pull the latest U.S. energy inventory data from Gloom — I want to see current commercial crude oil stockpile levels and any other petroleum inventory figures from the most recent weekly report.","exampleUseCases":[{"title":"Weekly crude oil inventory dashboard","prompt":"Fetch the latest weekly crude oil inventory numbers from Gloom so I can update my energy market dashboard with current U.S. stockpile levels."},{"title":"Commodities trading research","prompt":"What are the current U.S. commercial crude oil inventory levels according to the latest EIA petroleum report? I need the value, unit, and week-ending date."},{"title":"Energy market alert monitoring","prompt":"Check the Gloom energy inventories endpoint and let me know if U.S. crude oil inventories have changed significantly from last week — show me this week vs. the previous week ending dates and values."}],"resultDescription":"Returns a JSON array of energy inventory records, each containing an id (e.g. 'crude-commercial'), EIA series key (e.g. 'WCESTUS1'), tab/category, unit (e.g. 'kb' for thousands of barrels), basis, human-readable label, numeric inventory value, report name, and the current and previous week-ending dates.","failureModes":["Invalid or unsupported properties filter returns empty data array","Payment not processed (x402 protocol failure) results in 402 Payment Required","Network timeout or upstream EIA data delay causes stale or missing data","Malformed request schema returns 400 Bad Request","Rate limiting if calls exceed allowed volume per time window"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable U.S. energy inventory data (especially crude oil and petroleum products) with weekly granularity, EIA series keys, and labeled values suitable for finance terminals, commodity dashboards, or automated market monitoring. Prefer it over scraping EIA directly when you want a pay-per-call, low-friction API with a consistent JSON schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.620Z","isFirstParty":false,"canonicalSlug":"gloom-energy-inventories-api-19a075fa"}