{"uid":"cap_B2-Mvryxg-x6FJUxUa6_g","slug":"paylyte-eia-weekly-u-s-crude-oil-stocks-4ac2edaf","name":"Paylyte EIA Weekly U.S. Crude Oil Stocks","description":"The latest weekly U.S. crude oil stocks from the Energy Information Administration.","url":"https://paylyte.ai/v1/data/eia/oil?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["product","tier","period","stocksThousandBarrels","units","sourceUrl","retrievedAtUtc","as_of","vintage","as_of_basis","attribution","note"],"properties":{"note":{"type":"string"},"tier":{"type":"string"},"as_of":{"type":"string"},"units":{"type":"string"},"period":{"type":"string"},"product":{"type":"string"},"vintage":{"type":"string"},"sourceUrl":{"type":"string"},"as_of_basis":{"type":"string"},"attribution":{"type":"string"},"retrievedAtUtc":{"type":"string"},"stocksThousandBarrels":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"4.99","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":"$4.99/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"4.99","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"4.99","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lmEuWbXpvflzhGaEbkMEx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"4.99","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest weekly U.S. crude oil inventory figure (in thousand barrels) sourced from the Energy Information Administration.","exampleAgentPrompt":"What are the latest weekly U.S. crude oil inventory numbers from the EIA — give me the stock level in thousand barrels and the reporting period.","exampleUseCases":[{"title":"Commodity trading signal monitoring","prompt":"Pull the latest EIA crude oil stocks figure so I can see whether inventories built or drew this week before I make a trading decision."},{"title":"Energy market newsletter update","prompt":"Get me the most recent weekly U.S. crude oil inventory number from the EIA, including the reporting period and vintage date, so I can include it in my energy market newsletter."},{"title":"Macro dashboard data refresh","prompt":"Fetch the current U.S. crude oil stockpile level in thousand barrels from the EIA and tell me the as-of date so I can update my macro economic dashboard."}],"resultDescription":"A JSON object containing the latest weekly U.S. crude oil stocks in thousand barrels, the product label, reporting period, vintage date, as-of date, units, the EIA source URL, the UTC retrieval timestamp, attribution text, and any notes about the data.","failureModes":["EIA data not yet updated for the current week — returns stale or prior-week data","Upstream EIA API unavailable — may return a service error","Rate limiting or payment failure (x402) if USDC payment is not properly handled","Malformed response if EIA changes its reporting format"],"whenToPreferThis":"Choose this endpoint when you need the single most recent weekly U.S. crude oil inventory figure from the official EIA source, with full provenance metadata (vintage, as-of date, attribution). Prefer it over scraping EIA directly, as it abstracts the data fetch and normalizes the output schema. Best for automated pipelines, trading signals, energy dashboards, or any workflow needing reliable, timestamped EIA crude stock data without managing EIA API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:02:56.821Z","isFirstParty":false,"canonicalSlug":"paylyte-eia-weekly-u-s-crude-oil-stocks-4ac2edaf"}