# SiteCheck Trade & Energy – Daily Crude Oil Prices (WTI & Brent)

> SiteCheck Trade & Energy – Daily Crude Oil Prices (WTI & Brent) is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns daily spot crude oil prices for WTI (Cushing) and Brent in USD per barrel from FRED/EIA, with the latest value and up to 60 trading days of history.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/crude-oil-brent-wti?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-trade-energy-daily-crude-oil-prices-wti-brent-62022dd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eCsxEHrFZSvMyDBFeDZVm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-trade-energy-daily-crude-oil-prices-wti-brent-62022dd2
```

Example prompt: What are the current WTI and Brent crude oil spot prices, and can you pull the last 30 trading days of history so I can see how prices have been trending?

## When to prefer this

Choose this endpoint when you need authoritative daily WTI and/or Brent crude oil spot prices sourced directly from the EIA via FRED, especially when you need historical context (up to 60 trading days). Prefer this over web-scraping or financial data aggregators when EIA/FRED provenance is required. Not suitable if you need intraday/real-time crude futures prices, Cushing storage inventory data, or other petroleum products.

## Known failure modes

- Invalid 'days' parameter (outside 1–60 range) may return an error or default behavior
- FRED/EIA data may have a lag of 1–2 business days, so 'latest' may not reflect today
- Upstream FRED API unavailability could result in stale or missing data
- Network timeout from the Cloudflare Worker if FRED is slow to respond
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Pay-per-call logistics, shipping, trade and energy data tools for AI agents, from official and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

A JSON object containing two top-level keys — 'wti' and 'brent' — each with a 'unit' label, a 'latest' object (date + value in USD/barrel), and a 'history' array of date/value pairs covering the requested number of trading days. Also includes a 'source' URL pointing to FRED and a 'checkedAt' ISO timestamp indicating when the data was last fetched.

## Request schema (JSON Schema)

```json
{
 "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",
     "required": [],
     "properties": {
      "days": {
       "type": "string",
       "description": "Days of history, 1 to 60 (default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "wti": {
   "unit": "USD per barrel, WTI Cushing (EIA spot, via FRED)",
   "latest": {
    "date": "2026-10-20",
    "value": 107.89
   },
   "history": [
    {
     "date": "2026-10-20",
     "value": 107.89
    },
    {
     "date": "2026-10-19",
     "value": 110.01
    }
   ]
  },
  "brent": {
   "unit": "USD per barrel, Brent (EIA spot, via FRED)",
   "latest": {
    "date": "2026-10-20",
    "value": 115.22
   },
   "history": [
    {
     "date": "2026-10-20",
     "value": 115.22
    },
    {
     "date": "2026-10-19",
     "value": 118.82
    }
   ]
  },
  "source": "https://fred.stlouisfed.org/graph/fredgraph.csv",
  "checkedAt": "2026-10-23T09:38:08.115Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-trade-energy-daily-crude-oil-prices-wti-brent-62022dd2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
