Skip to content
Eden Engine

Gas Prices for Every Metro Area in a State (Unranked)

omnial/get-metro-prices-by-state

Given a two-letter US state code, returns the state's name and every metro area tracked for it, in the source's listing order (not sorted by price), each with the average Regular, Mid-Grade, Premium and Diesel price per gallon in US dollars for today, yesterday, a week ago, a month ago and a year ago. The response carries no as-of date.

activeper callv1
Provider
Web & Business Data Network
Category
automotive
Provider price
$0.01365 per call
Latency p50 / p95
— / —
Success rate
—
Verified
—

Provider list price; Omnial MCP charges provider cost plus a platform markup on top.

Contract

input_schema.json
{
  "type": "object",
  "required": [
    "state_code"
  ],
  "properties": {
    "state_code": {
      "type": "string",
      "maxLength": 2,
      "minLength": 2,
      "description": "A two-letter US state code."
    }
  },
  "additionalProperties": false
}
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "description": "The state's full name."
        },
        "metros": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "metro": {
                "type": "string",
                "description": "The metro area's name."
              },
              "prices": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "Diesel": {
                        "type": "number"
                      },
                      "Premium": {
                        "type": "number"
                      },
                      "Regular": {
                        "type": "number"
                      },
                      "Mid-Grade": {
                        "type": "number"
                      }
                    }
                  },
                  "week_ago": {
                    "type": "object",
                    "properties": {
                      "Diesel": {
                        "type": "number"
                      },
                      "Premium": {
                        "type": "number"
                      },
                      "Regular": {
                        "type": "number"
                      },
                      "Mid-Grade": {
                        "type": "number"
                      }
                    }
                  },
                  "year_ago": {
                    "type": "object",
                    "properties": {
                      "Diesel": {
                        "type": "number"
                      },
                      "Premium": {
                        "type": "number"
                      },
                      "Regular": {
                        "type": "number"
                      },
                      "Mid-Grade": {
                        "type": "number"
                      }
                    }
                  },
                  "month_ago": {
                    "type": "object",
                    "properties": {
                      "Diesel": {
                        "type": "number"
                      },
                      "Premium": {
                        "type": "number"
                      },
                      "Regular": {
                        "type": "number"
                      },
                      "Mid-Grade": {
                        "type": "number"
                      }
                    }
                  },
                  "yesterday": {
                    "type": "object",
                    "properties": {
                      "Diesel": {
                        "type": "number"
                      },
                      "Premium": {
                        "type": "number"
                      },
                      "Regular": {
                        "type": "number"
                      },
                      "Mid-Grade": {
                        "type": "number"
                      }
                    }
                  }
                },
                "description": "Average US dollars per gallon by fuel grade at five points in time."
              }
            }
          },
          "description": "One entry per metro area, in the source's listing order."
        }
      }
    },
    "status": {
      "type": "string",
      "description": "'success' on a populated call."
    }
  },
  "description": "The state's metro areas with their prices, as returned after shaping."
}

Pricing

Every real charge, itemised. A model that quietly omits one is a slow financial leak, so nothing here is rolled up, and a charge that only applies to some inputs says so rather than being added in.

Prices in this catalog are the provider's own list price, not your bill: Omnial MCP charges provider cost plus a platform markup on top, so what you are charged is higher than the figure shown. For the exact amount a specific call will cost, run omnial_execute with dry_run: true; that number includes the markup and is what we hold while the call runs. It is a quote, not a cap on the charge.

ChargeRate
Per call
Flat, regardless of what comes back
$0.01365
Cost basis
Not recorded

This tool's catalog entry does not record how its final bill is determined, so we will not tell you whether its cost is fixed before the call or reported by the provider afterwards. Either way what is held is a quote rather than a cap: you are charged what the call actually costs, bounded at 2x the quote.

Updated
Oct 11, 2026