{
  "openapi": "3.1.0",
  "info": {
    "title": "CrownBlock",
    "version": "1.0.0",
    "x-guidance": "US oil & gas intelligence - crude prices (WTI/Brent/Henry Hub), refined products (gasoline/heating oil/jet fuel/diesel/propane), crude inventory, rig count, and production by basin (Permian, Bakken, Appalachia, GOM and more). $1.00/report via x402 USDC on Base.  |  Also from LoneStarOracle: MacroPulse (macro.lonestaroracle.xyz)  |  EquityScope (equity.lonestaroracle.xyz)  |  NewsSentiment (news.lonestaroracle.xyz)  |  Full catalog: lonestaroracle.xyz",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "description": "Crude, natural gas and refined-product pricing, spreads and market signals.",
    "x-x402-proof": "https://crownblock.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/": {
      "get": {
        "summary": "Root",
        "operationId": "root__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/feed": {
      "get": {
        "summary": "Feed",
        "operationId": "feed_feed_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/report": {
      "get": {
        "summary": "Oil, Gas & Refined Products",
        "operationId": "report_report_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "1.000000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "O&G intelligence data"
          }
        },
        "description": "Crude, natural gas and refined-product pricing, spreads and market signals.",
        "tags": [
          "oil",
          "gas",
          "energy",
          "crude",
          "natgas",
          "commodities",
          "refining"
        ]
      }
    },
    "/preview": {
      "get": {
        "summary": "Preview",
        "operationId": "preview_preview_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/region/{name}": {
      "get": {
        "summary": "Region",
        "description": "Single-region brief.",
        "operationId": "region_region__name__get",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Name"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "1.000000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "O&G intelligence data"
          }
        }
      }
    },
    "/refinery": {
      "get": {
        "summary": "Refinery",
        "description": "Weekly US refinery utilization rates by PAD district from EIA.",
        "operationId": "refinery_refinery_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/history": {
      "get": {
        "summary": "History",
        "description": "Historical commodity and refined product prices for a specific date (YYYY-MM-DD).\nSourced from EIA and FRED. Data available from early 1990s to present.",
        "operationId": "history_history_get",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}