Oil Price API · Authentication Profile

Oil Price API Authentication

Authentication

Secure API access using Token authentication with your API key.

Oil Price API declares 2 security scheme(s) across its OpenAPI definitions.

EnergyDataCommoditiesOil
Methods: Schemes: 2 OAuth flows: API key in:

Security Schemes

API Key apiKey
API Key (query) apiKey

Source

Authentication Profile

Raw ↑
generated: '2026-11-09'
method: searched
generator: extract-docs-artifacts.py (local)
source: https://docs.oilpriceapi.com/guides/authentication
sources:
- https://docs.oilpriceapi.com/guides/authentication
- https://docs.oilpriceapi.com/agent-quickstart.md
- https://docs.oilpriceapi.com/quick-start/
description: Secure API access using Token authentication with your API key.
schemes:
- type: apiKey
  name: API Key
  evidence: 'All requests require your API key in the Authorization header: curl "https://api.oilpriceapi.com/v1/prices/latest" \ -H "Authorization:
    Token YOUR_API_KEY"'
  location: header
  header: Authorization
  how_to_obtain: Sign up at oilpriceapi.com/signup. Your first key is created at signup and shown on the next page. Additional keys can be created
    in the Dashboard → API Keys.
- type: apiKey
  name: API Key (query)
  evidence: 'Tools that cannot set request headers — Google Sheets IMPORTDATA() , for example — may pass the key as an api_key query parameter
    instead: https://api.oilpriceapi.com/v1/prices/latest?by_code=WTI_USD&api_key=YOUR_API_KEY'
  location: query
  how_to_obtain: Sign up at oilpriceapi.com/signup. Your first key is created at signup and shown on the next page.
note: 'The Bearer scheme (Authorization: Bearer YOUR_API_KEY) is also accepted, but Token is the documented and recommended form.'
docs: https://docs.oilpriceapi.com/guides/authentication

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/oilpriceapi-authentication"
All security posture
curl "https://apis.io/api/v1/security?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. See our Privacy Policy and Terms.

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