Scavio icon

Scavio

Real-time structured data from Google, Amazon, Walmart, eBay, Target, Home Depot, Costco, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the App Store, Google Play, SEC EDGAR, Companies House, Legistar, G2, Capterra, Trustpilot, ad libraries, and any URL

Actions227

Costco → Get Gas Prices

AI-generated

Summary

Find Costco gas stations by ZIP code or coordinates, or retrieve gas prices for specific warehouse IDs. Choose the lookup method with “Locate By”; optionally set the country and result limit.

Inputs

  • Locate By — Choose ZIP Code, Coordinates, or Warehouse IDs. Defaults to ZIP Code.
  • ZIP Code (required) — US ZIP code to search around when locating by ZIP Code.
  • Latitude and Longitude (required) — Coordinates to search around when locating by Coordinates; latitude must be between -90 and 90 and longitude between -180 and 180.
  • Warehouse IDs (required) — Comma-separated Costco warehouse numbers, up to 10, when locating by Warehouse IDs. The request converts these to an array and drops blank entries. The UI notes that this costs 1 credit per 5 warehouses, or 2 credits per warehouse on Costco.ca.
  • Country — Choose United States (Costco.com) or Canada (Costco.ca); defaults to United States.
  • Limit — Maximum number of nearest stations to return when locating by ZIP Code or Coordinates, from 1 to 50. Defaults to 50; the API default is 10.
  • Request Options — Optional batching, SSL certificate validation, HTTP proxy, and request timeout settings.

Output shape

A list of gas station and price records returned by the API.

The source excerpt does not show the response schema or whether the list is wrapped in an envelope. The Limit option is described for ZIP and coordinate searches; warehouse lookup uses the supplied IDs.

Examples

Example 1: Find nearby gas stations

Select ZIP Code or Coordinates, provide the corresponding location, then optionally choose a country and set the result limit.

Example 2: Check prices at selected warehouses

Select Warehouse IDs and enter up to 10 comma-separated Costco warehouse numbers; optionally choose the country.

Links

Discussion