x402Pulse Oil API

Prices, U.S. inventories and supply, hedge-fund positioning, and oil prediction markets with smart money.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /v1/oil/prices Crude oil prices #
GET /v1/oil/inventories U.S. oil inventories (EIA) #
GET /v1/oil/supply U.S. oil supply from the EIA weekly report #
GET /v1/oil/positioning WTI crude positioning (CFTC) #
GET /v1/oil/markets Oil prediction markets with smart money #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/x402pulse-dev:x402pulse-dev-oil-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

x402pulse-dev-oil-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: x402Pulse Oil API
  version: 1.0.0
  description: 'Pay-per-call data for AI agents: Polymarket traders ranked by skill, FDA drug and CMS hospital data, EIA oil and CFTC positioning, Wikipedia attention, travel delay risk (FAA, NOAA, State Department, ECB) and Wall Street data from SEC filings, plus a daily Morning Brief. Paid per call in USDC on Base with x402: no account or API key.'
  x-guidance: 'Every /v1 endpoint is a GET. Call it without payment to receive a 402 with the x402 challenge (price, network, payTo) and a free preview; pay with any x402 client (for example @x402/fetch) and retry to receive { data, cached }. Errors (4xx/5xx) are never charged. Start with /v1/wallstreet/morning-brief, /v1/travel/trip-check or /v1/disagreements for the richest single-call answers. A Pro key (Authorization: Bearer xp_live_…) from /v1/pro/pass replaces per-call payment for 30 days. Full guide: https://www.x402pulse.dev/llms.txt'
  contact:
    email: gp@zionassets.com
    url: https://www.x402pulse.dev
servers:
- url: https://www.x402pulse.dev
tags:
- name: Oil
  description: Prices, U.S. inventories and supply, hedge-fund positioning, and oil prediction markets with smart money.
paths:
  /v1/oil/prices:
    get:
      operationId: get_oil_prices
      summary: Crude oil prices
      description: 'Crude oil prices: WTI and Brent daily spot prices from the U.S. Energy Information Administration (EIA), with 1-day, 1-week, 1-month and 1-year changes, 52-week range and position in it, and the Brent-WTI spread. Official daily figures, not live futures quotes. Data, not trading advice.'
      tags:
      - Oil
      parameters: []
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0014'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  wti:
                    date: '2026-09-29'
                    price: 96.16
                    change1w:
                      change: 10.93
                      changePct: 0.128
                    range52w:
                      low: 61.2
                      high: 99.37
                  brent:
                    price: 99.8
                  brentWtiSpread:
                    usdPerBarrel: 3.64
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/oil/inventories:
    get:
      operationId: get_oil_inventories
      summary: U.S. oil inventories (EIA)
      description: 'U.S. oil inventories from the EIA Weekly Petroleum Status Report: commercial crude, Cushing (WTI hub), Strategic Petroleum Reserve, gasoline and distillate stocks, each with the weekly build or draw, change vs. a year ago and vs. the 5-year average for the same week. Data, not trading advice.'
      tags:
      - Oil
      parameters: []
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0028'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  weekEnding: '2026-09-25'
                  stocks:
                  - key: crudeExSpr
                    thousandBarrels: 427320
                    weeklyChange: 922
                    vsFiveYearAveragePct: -0.021
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/oil/supply:
    get:
      operationId: get_oil_supply
      summary: U.S. oil supply from the EIA weekly report
      description: 'U.S. oil supply from the EIA weekly report: crude production, refinery utilization, crude imports and exports (thousand barrels per day), weekly change, 4-week average, change vs. a year ago, and net imports. Data, not trading advice.'
      tags:
      - Oil
      parameters: []
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0028'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  weekEnding: '2026-09-25'
                  items:
                  - key: production
                    value: 13400
                    fourWeekAverage: 13380
                  netImports:
                    thousandBarrelsPerDay: 2200
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/oil/positioning:
    get:
      operationId: get_oil_positioning
      summary: WTI crude positioning (CFTC)
      description: 'WTI crude oil positioning from the CFTC Commitments of Traders: managed money (hedge funds) long, short and net contracts, weekly change, long/short ratio, and how extreme the net position is vs. the last 3 years (percentile), plus producers, swap dealers and open interest. Data, not trading advice.'
      tags:
      - Oil
      parameters: []
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0056'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  reportDate: '2026-09-29'
                  managedMoney:
                    long: 209028
                    short: 129436
                    net: 79592
                    weeklyNetChange: -10059
                    threeYearPercentile: 82
                    reading: within its usual 3-year range
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/oil/markets:
    get:
      operationId: list_oil_markets
      summary: Oil prediction markets with smart money
      description: 'Oil prediction markets with smart money: busy Polymarket markets about oil prices, OPEC, Strait of Hormuz and fuel, each with the skilled-trader lean (skill-weighted money vs. the market''s odds) from x402Pulse scoring. Data, not trading advice.'
      tags:
      - Oil
      parameters:
      - name: limit
        in: query
        required: false
        description: 1 to 10
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.014'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  marketsFound: 4
                  markets:
                  - question: Will WTI close above $100 in October?
                    outcomes:
                    - name: 'Yes'
                      price: 0.38
                    skilledHolders: 3
                    skilledFirstOutcomeShare: 0.52
                    gapVsPrice: 0.14
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: An x402Pulse Pro key (xp_live_…). Optional on paid routes as an alternative to paying per call; required for /v1/pro/status.
x-discovery:
  payTo: '0x5e901f973C17E5542b4Da2A64C7fDc736B2A6e74'
  network: eip155:8453
  llms: https://www.x402pulse.dev/llms.txt
  mcp: https://www.x402pulse.dev/api/mcp
  catalog: https://www.x402pulse.dev/catalog