SourceFinch Verified · Economic indicators & prices

New York State weekly retail gasoline prices by region

Weekly average retail prices of regular gasoline in New York State and 16 metropolitan regions, in dollars per gallon, for the 52 most recent weeks, one record per week, from NYSERDA's dataset on data.ny.gov.

Monitor this sourceAPI, CLI, SDK and MCP

At a glance

Jurisdiction
US-NY / New York
Publisher updates
Weekly
SourceFinch checks
Daily by default
Records per run
52 in the latest run
Record key
week
Acquired from
Open data portal: https://data.ny.gov/resource/nqur-w4p7.json?$select=date,new_york_state_average_gal,albany_average_gal,batavia_average_gal,binghamton_average_gal,buffalo_average_gal,dutchess_average_gal,elmira_average_gal,glens_falls_average_gal,ithaca_average_gal,kingston_average_gal,nassau_average_gal,new_york_city_average_gal,rochester_average_gal,syracuse_average_gal,utica_average_gal,watertown_average_gal,white_plains_average_gal&$order=date%20DESC&$limit=52
Recipe
v1.0.0, approved October 12, 2026
Verified since
October 12, 2026
Last green run
October 12, 2026

What the data contains

The New York State Energy Research and Development Authority (NYSERDA) publishes weekly average retail prices for regular gasoline statewide and for 16 regions (Albany, Batavia, Binghamton, Buffalo, Dutchess, Elmira, Glens Falls, Ithaca, Kingston, Nassau, New York City, Rochester, Syracuse, Utica, Watertown and White Plains) as the Gasoline Retail Prices Weekly Average by Region dataset on data.ny.gov. NYSERDA compiles the averages from survey data for its weekly transportation fuels report. This source asks the dataset's SODA API for the 52 most recent weeks on each daily run, naming every column it reads, and makes one record per week keyed by the week's date, with each price typed as a number of dollars per gallon. A monitor reports each new week and any revision. The data is aggregate price statistics and contains no personal data. SourceFinch is independent of NYSERDA and the State of New York.

Fields and types

Every record has these fields. The key field week identifies a record across runs, so changes are reported field by field.

FieldTypeDescription
weekkeydateDate of the weekly survey (YYYY-MM-DD). The record key.
new_york_statenumberStatewide average retail price of regular gasoline, in U.S. dollars per gallon.
albanynumber, nullableAverage retail price of regular gasoline in the Albany region, in U.S. dollars per gallon.
batavianumber, nullableAverage retail price of regular gasoline in the Batavia region, in U.S. dollars per gallon.
binghamtonnumber, nullableAverage retail price of regular gasoline in the Binghamton region, in U.S. dollars per gallon.
buffalonumber, nullableAverage retail price of regular gasoline in the Buffalo region, in U.S. dollars per gallon.
dutchessnumber, nullableAverage retail price of regular gasoline in the Dutchess region, in U.S. dollars per gallon.
elmiranumber, nullableAverage retail price of regular gasoline in the Elmira region, in U.S. dollars per gallon.
glens_fallsnumber, nullableAverage retail price of regular gasoline in the Glens Falls region, in U.S. dollars per gallon.
ithacanumber, nullableAverage retail price of regular gasoline in the Ithaca region, in U.S. dollars per gallon.
kingstonnumber, nullableAverage retail price of regular gasoline in the Kingston region, in U.S. dollars per gallon.
nassaunumber, nullableAverage retail price of regular gasoline in the Nassau region, in U.S. dollars per gallon.
new_york_citynumber, nullableAverage retail price of regular gasoline in the New York City region, in U.S. dollars per gallon.
rochesternumber, nullableAverage retail price of regular gasoline in the Rochester region, in U.S. dollars per gallon.
syracusenumber, nullableAverage retail price of regular gasoline in the Syracuse region, in U.S. dollars per gallon.
uticanumber, nullableAverage retail price of regular gasoline in the Utica region, in U.S. dollars per gallon.
watertownnumber, nullableAverage retail price of regular gasoline in the Watertown region, in U.S. dollars per gallon.
white_plainsnumber, nullableAverage retail price of regular gasoline in the White Plains region, in U.S. dollars per gallon.

Sample output

The first 5 of 52 records from SourceFinch's own run on October 12, 2026, exactly as delivered.

FieldRecord 1Record 2Record 3Record 4Record 5
week2026-09-212026-09-142026-09-072026-08-312026-08-24
new_york_state4.464.364.294.194.15
albany4.44.284.224.124.08
batavia4.384.314.274.174.2
binghamton4.424.334.264.094.01
buffalo4.394.34.274.214.2
dutchess4.464.354.274.174.13
elmira4.344.244.184.044.01
glens_falls4.434.324.264.154.11
ithaca4.44.314.274.224.2
kingston4.384.264.174.074.04
nassau4.464.354.254.134.06
new_york_city4.554.444.344.224.14
rochester4.384.294.284.234.22
syracuse4.344.254.224.164.14
utica4.434.334.284.224.21
watertown4.524.384.314.224.19
white_plains4.574.474.394.294.25
Sample as JSON
[
  {
    "week": "2026-09-21",
    "utica": 4.43,
    "albany": 4.4,
    "elmira": 4.34,
    "ithaca": 4.4,
    "nassau": 4.46,
    "batavia": 4.38,
    "buffalo": 4.39,
    "dutchess": 4.46,
    "kingston": 4.38,
    "syracuse": 4.34,
    "rochester": 4.38,
    "watertown": 4.52,
    "binghamton": 4.42,
    "glens_falls": 4.43,
    "white_plains": 4.57,
    "new_york_city": 4.55,
    "new_york_state": 4.46
  },
  {
    "week": "2026-09-14",
    "utica": 4.33,
    "albany": 4.28,
    "elmira": 4.24,
    "ithaca": 4.31,
    "nassau": 4.35,
    "batavia": 4.31,
    "buffalo": 4.3,
    "dutchess": 4.35,
    "kingston": 4.26,
    "syracuse": 4.25,
    "rochester": 4.29,
    "watertown": 4.38,
    "binghamton": 4.33,
    "glens_falls": 4.32,
    "white_plains": 4.47,
    "new_york_city": 4.44,
    "new_york_state": 4.36
  },
  {
    "week": "2026-09-07",
    "utica": 4.28,
    "albany": 4.22,
    "elmira": 4.18,
    "ithaca": 4.27,
    "nassau": 4.25,
    "batavia": 4.27,
    "buffalo": 4.27,
    "dutchess": 4.27,
    "kingston": 4.17,
    "syracuse": 4.22,
    "rochester": 4.28,
    "watertown": 4.31,
    "binghamton": 4.26,
    "glens_falls": 4.26,
    "white_plains": 4.39,
    "new_york_city": 4.34,
    "new_york_state": 4.29
  },
  {
    "week": "2026-08-31",
    "utica": 4.22,
    "albany": 4.12,
    "elmira": 4.04,
    "ithaca": 4.22,
    "nassau": 4.13,
    "batavia": 4.17,
    "buffalo": 4.21,
    "dutchess": 4.17,
    "kingston": 4.07,
    "syracuse": 4.16,
    "rochester": 4.23,
    "watertown": 4.22,
    "binghamton": 4.09,
    "glens_falls": 4.15,
    "white_plains": 4.29,
    "new_york_city": 4.22,
    "new_york_state": 4.19
  },
  {
    "week": "2026-08-24",
    "utica": 4.21,
    "albany": 4.08,
    "elmira": 4.01,
    "ithaca": 4.2,
    "nassau": 4.06,
    "batavia": 4.2,
    "buffalo": 4.2,
    "dutchess": 4.13,
    "kingston": 4.04,
    "syracuse": 4.14,
    "rochester": 4.22,
    "watertown": 4.19,
    "binghamton": 4.01,
    "glens_falls": 4.11,
    "white_plains": 4.25,
    "new_york_city": 4.14,
    "new_york_state": 4.15
  }
]

Evidence behind every value

  • Each run keeps the publisher's exact response, hashed with SHA-256. This sample came from a response with hash 0ae2d3ebe2e52b0b31fa9626d259c653c5a90d0c2df8e0e2d621fe690ee0b2b7.
  • Every value records where it came from in that response: a JSON Pointer into the retained capture.
  • Each run gets a signed manifest (Ed25519) timestamped by an RFC 3161 authority: this run's manifest hash is 2c3652e80efe6f92f79ed79af5ccfa43edbbe4d165df74687d1cc7119d42364b, timestamped October 12, 2026.
  • The compliance state at capture is recorded with the evidence: robots.txt hash and verdict, AI-preference signals, crawler identity and the usage rights below.
  • Download any run as an evidence bundle (WACZ) and check it offline, without trusting SourceFinch: sourcefinch verify-bundle run.wacz.

Terms posture and usage rights

Terms
Automated access permitted · publisher's terms
robots.txt
Allows this path · SHA-256 288844529d99bac9…
AI-preference signals
None observed at review
Public record
Yes. Published by NYSERDA, a New York State public authority, on the State's open data portal under the OPEN-NY policy (Executive Order 95).
Reviewed
October 12, 2026; next review April 12, 2027
Licence basis
Publisher's terms of use
Commercial use
Allowed
Redistribution
Allowed
Attribution
Not required

OPEN-NY Terms of Use: anyone may freely download and use data.ny.gov content for any lawful purpose, including private-sector projects, with no attribution, licence re-posting, share-alike or pre-approval requirement. Users must not imply State endorsement and the State gives no warranty. Anonymous SODA API access needs no key; data.ny.gov/robots.txt allows the resource path and asks for a 1 second crawl delay.

Usage rights travel with every record SourceFinch delivers (API, exports, webhooks and evidence bundles). They are our documented understanding of the publisher's stated terms, not legal advice.

Reliability

Runs, last 30 days
1
Green
100%
Failed
0
Median run time
1.8 s
Latest run
success, October 12, 2026

Measured on completed runs of this recipe version across SourceFinch, anonymized, within a rolling 30-day window. First successful observation: October 12, 2026. A new recipe has only the history collected since that date; this is not a 30-day uptime guarantee.

Use it

Every surface creates the same monitor from this Verified recipe. Monitors keep record history, report field-level changes and deliver by webhook, export or email. You confirm you have the right to collect the source (rights: true).

Console

Open this recipe in the console: it preserves the reviewed URL, fields and record key. Review the latest captured sample, confirm source rights, and choose a schedule before creating your monitor.

Portable recipe

Copy into the console's Import or share a recipe panel to customize fields, types and schedules. This configuration contains no captured records or workspace IDs.

{
  "schema": "sourcefinch/source@1",
  "name": "New York State weekly retail gasoline prices by region",
  "url": "https://data.ny.gov/resource/nqur-w4p7.json?$select=date,new_york_state_average_gal,albany_average_gal,batavia_average_gal,binghamton_average_gal,buffalo_average_gal,dutchess_average_gal,elmira_average_gal,glens_falls_average_gal,ithaca_average_gal,kingston_average_gal,nassau_average_gal,new_york_city_average_gal,rochester_average_gal,syracuse_average_gal,utica_average_gal,watertown_average_gal,white_plains_average_gal&$order=date%20DESC&$limit=52",
  "recipe": {
    "mode": "http",
    "format": "json",
    "items": "[*]",
    "fields": {
      "week": "date",
      "utica": "utica_average_gal",
      "albany": "albany_average_gal",
      "elmira": "elmira_average_gal",
      "ithaca": "ithaca_average_gal",
      "nassau": "nassau_average_gal",
      "batavia": "batavia_average_gal",
      "buffalo": "buffalo_average_gal",
      "dutchess": "dutchess_average_gal",
      "kingston": "kingston_average_gal",
      "syracuse": "syracuse_average_gal",
      "rochester": "rochester_average_gal",
      "watertown": "watertown_average_gal",
      "binghamton": "binghamton_average_gal",
      "glens_falls": "glens_falls_average_gal",
      "white_plains": "white_plains_average_gal",
      "new_york_city": "new_york_city_average_gal",
      "new_york_state": "new_york_state_average_gal"
    },
    "required": [
      "week",
      "new_york_state"
    ],
    "types": {
      "albany": "number",
      "batavia": "number",
      "binghamton": "number",
      "buffalo": "number",
      "dutchess": "number",
      "elmira": "number",
      "glens_falls": "number",
      "ithaca": "number",
      "kingston": "number",
      "nassau": "number",
      "new_york_city": "number",
      "new_york_state": "number",
      "rochester": "number",
      "syracuse": "number",
      "utica": "number",
      "watertown": "number",
      "week": "date",
      "white_plains": "number"
    }
  },
  "schedule": "daily",
  "key_field": "week"
}

source.json

The request body used by the API, CLI and SDK examples.

{
  "name": "New York State weekly retail gasoline prices by region",
  "url": "https://data.ny.gov/resource/nqur-w4p7.json?$select=date,new_york_state_average_gal,albany_average_gal,batavia_average_gal,binghamton_average_gal,buffalo_average_gal,dutchess_average_gal,elmira_average_gal,glens_falls_average_gal,ithaca_average_gal,kingston_average_gal,nassau_average_gal,new_york_city_average_gal,rochester_average_gal,syracuse_average_gal,utica_average_gal,watertown_average_gal,white_plains_average_gal&$order=date%20DESC&$limit=52",
  "recipe": {
    "mode": "http",
    "format": "json",
    "items": "[*]",
    "fields": {
      "week": "date",
      "utica": "utica_average_gal",
      "albany": "albany_average_gal",
      "elmira": "elmira_average_gal",
      "ithaca": "ithaca_average_gal",
      "nassau": "nassau_average_gal",
      "batavia": "batavia_average_gal",
      "buffalo": "buffalo_average_gal",
      "dutchess": "dutchess_average_gal",
      "kingston": "kingston_average_gal",
      "syracuse": "syracuse_average_gal",
      "rochester": "rochester_average_gal",
      "watertown": "watertown_average_gal",
      "binghamton": "binghamton_average_gal",
      "glens_falls": "glens_falls_average_gal",
      "white_plains": "white_plains_average_gal",
      "new_york_city": "new_york_city_average_gal",
      "new_york_state": "new_york_state_average_gal"
    },
    "required": [
      "week",
      "new_york_state"
    ],
    "types": {
      "week": "date",
      "utica": "number",
      "albany": "number",
      "elmira": "number",
      "ithaca": "number",
      "nassau": "number",
      "batavia": "number",
      "buffalo": "number",
      "dutchess": "number",
      "kingston": "number",
      "syracuse": "number",
      "rochester": "number",
      "watertown": "number",
      "binghamton": "number",
      "glens_falls": "number",
      "white_plains": "number",
      "new_york_city": "number",
      "new_york_state": "number"
    }
  },
  "key_field": "week",
  "schedule": "daily",
  "rights": true,
  "catalog": {
    "slug": "new-york-weekly-gasoline-prices",
    "version_id": "c6e28334-2a2e-4aab-b6d3-9cce79589ac6"
  }
}

REST API

Create an API key under Console → API keys. Reference: /docs/api.

# the Verified entry (fields, recipe, sample, terms) as JSON
curl https://sourcefinch.com/v1/catalog/new-york-weekly-gasoline-prices -H "Authorization: Bearer $SOURCEFINCH_API_KEY"

# create the monitor from source.json (below)
curl -X POST https://sourcefinch.com/v1/sources \
  -H "Authorization: Bearer $SOURCEFINCH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d @source.json

# then run it now (later runs follow the schedule)
curl -X POST https://sourcefinch.com/v1/sources/$SOURCE_ID/runs \
  -H "Authorization: Bearer $SOURCEFINCH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

CLI

The sourcefinch CLI is not on npm yet; see /docs/cli.

sourcefinch login
sourcefinch catalog get new-york-weekly-gasoline-prices --source-json > source.json
sourcefinch sources create --file source.json
sourcefinch runs create $SOURCE_ID --wait
sourcefinch records $SOURCE_ID

TypeScript SDK

The SDK is not on npm yet; see /docs/sdk.

import { SourceFinch } from "@sourcefinch/sdk";

const sf = new SourceFinch({ apiKey: process.env.SOURCEFINCH_API_KEY });
const entry = await sf.catalog.get("new-york-weekly-gasoline-prices");
const source = await sf.sources.create({
  catalog: { slug: entry.slug, version_id: entry.recipe.version_id },
  name: entry.name.slice(0, 100),
  url: entry.acquisition_path.endpoint,
  recipe: entry.recipe.definition,
  key_field: entry.recipe.key_field,
  schedule: entry.recipe.schedule,
  rights: true, // you confirm you have the right to collect this source
});
const run = await sf.runs.wait((await sf.runs.create(source.id)).id);
console.log(run.status);

MCP

Remote MCP server with OAuth; see /docs/mcp.

claude mcp add --transport http sourcefinch https://sourcefinch.com/mcp

# then ask your agent:
"Use SourceFinch to monitor New York State weekly retail gasoline prices by region: get_catalog_source new-york-weekly-gasoline-prices,
then create_source with its create_source_args (dry run first), then run_source."

Pricing

Each check is one run, whatever the number of records, and failed runs are free. On its default daily schedule this source uses about 30 runs a month, which fits the Free plan's 300 runs. It uses HTTP acquisition, so no browser runs are needed. See plans.

Guides using this source

All guides

More from New York State Energy Research and Development Authority and in economic indicators & prices.

SourceFinch is independent and is not affiliated with or endorsed by New York State Energy Research and Development Authority. This page describes new york state weekly retail gasoline prices by region as SourceFinch acquires it.