data

Brent and WTI spot price (EIA) — $0.007

Daily spot prices for Brent (Europe) and WTI (Cushing, OK) crude in USD per barrel, as published by the US EIA with about one business day lag. Not an exchange tick feed. Source: U.S. Energy Information Administration (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.

get/v1/data/energy/oil

Request

  • Base URL: https://x402.asterpay.io
  • URL: https://x402.asterpay.io/v1/data/energy/oil
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • HTTP payment

Response

Brent and WTI spot price (EIA)

successboolean required
dataobject required

Door-specific payload; see the door description and GET /v1/data for an example URL

observed_atstring nullable required

Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time.

fetched_atstring required

When AsterPay last fetched from the upstream

cadence'live' | '5m' | '15m' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' required
next_expectedstring nullable

Earliest time a newer upstream value is expected

cache_expires_atstring
staleboolean required

true when the upstream failed and a cached copy under 24h old was served

timestampstring required

Changes

No recorded changes to this operation across all 1 revision of this API.