{
  "x402Version": 2,
  "id": 7823,
  "slug": "7823",
  "resource": "https://loonie-toll.onrender.com/fuelprice",
  "description": "US retail gasoline or diesel price this week vs last, with a RISING / FALLING / FLAT verdict. EIA weekly survey.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "fuel": "gasoline"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "changeFromPriorWeekCents": -1.4,
            "disclaimer": "Advisory only, provided as is without warranty of accuracy or completeness. National weekly averages from the EIA survey — local pump prices vary widely. Not affiliated with or endorsed by the EIA or …",
            "fuel": "Regular gasoline, US average",
            "latest": {
              "priceUsdPerGallon": 4.071,
              "units": "$/GAL",
              "weekOf": "2026-08-31"
            },
            "reasons": [
              "Regular gasoline, US average: $4.071/gal for the week of 2026-08-31.",
              "Down 1.4¢ from $4.085 last week.",
              "…1 more"
            ],
            "retrievedAt": "2026-09-09T00:55:38.585Z",
            "series": [
              {
                "priceUsdPerGallon": 4.071,
                "units": "$/GAL",
                "weekOf": "2026-08-31"
              },
              {
                "priceUsdPerGallon": 4.085,
                "units": "$/GAL",
                "weekOf": "2026-08-24"
              }
            ],
            "source": "US Energy Information Administration (api.eia.gov)",
            "verdict": "FALLING"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "fuel": {
                    "description": "Which fuel, default gasoline",
                    "enum": [
                      "gasoline",
                      "diesel"
                    ],
                    "type": "string"
                  },
                  "weeks": {
                    "description": "History weeks to return, default 4",
                    "type": "integer"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "changeFromPriorWeekCents": {
                    "type": "number"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "fuel": {
                    "type": "string"
                  },
                  "latest": {
                    "properties": {
                      "priceUsdPerGallon": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      },
                      "weekOf": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "reasons": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "retrievedAt": {
                    "type": "string"
                  },
                  "series": {
                    "items": {
                      "properties": {
                        "priceUsdPerGallon": {
                          "type": "number"
                        },
                        "units": {
                          "type": "string"
                        },
                        "weekOf": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "source": {
                    "type": "string"
                  },
                  "verdict": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "loonie-toll.onrender.com",
  "lastUpdated": "2026-09-16T21:13:44.737Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T21:13:44.296Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "loonie-toll.onrender.com",
    "manifest_name": "loonie-toll.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}