Skip to content
Eden Engine

Average Gas Prices for All 50 States and DC (State-Code Order)

omnial/all-states-average-gas-prices

Takes no input and returns one row for each of the 50 US states and the District of Columbia: the state's full name and its average Regular, Mid-Grade, Premium and Diesel price per gallon in US dollars. Rows come in two-letter state-code order (Alaska, Alabama, Arkansas, Arizona and so on), not sorted by price. The response carries no as-of date.

activeper callv1

Price

Up to $0.0137 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

AAA Gas Prices

Data from AAA Gas Prices.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/all-states-average-gas-prices" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/all-states-average-gas-prices" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/all-states-average-gas-prices", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/all-states-average-gas-prices", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0137
Updated
Oct 17, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "states": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string",
                "description": "The state's full name."
              },
              "diesel": {
                "type": "number",
                "description": "Average Diesel price per gallon, US dollars."
              },
              "premium": {
                "type": "number",
                "description": "Average Premium price per gallon, US dollars."
              },
              "regular": {
                "type": "number",
                "description": "Average Regular price per gallon, US dollars."
              },
              "mid_grade": {
                "type": "number",
                "description": "Average Mid-Grade price per gallon, US dollars."
              }
            }
          },
          "description": "One row per state and the District of Columbia, in two-letter state-code order."
        }
      }
    },
    "status": {
      "type": "string",
      "description": "'success' on a populated call."
    }
  },
  "description": "Every state's average fuel prices, as returned after shaping."
}