Grocery
Safeway logo

Safeway API

safeway.com

Safeway grocery store locator, product search, weekly ads, and deals

Actions
5
Category
Grocery
Login
Not required
Output
JSON

Call the Safeway API

Submit a task, then poll the job until it settles. This example runs act_safeway_com_digital_coupons.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_safeway_com_digital_coupons",
    "params": {
      "store_id": "1507",
      "offer_ids": "56917387,76232184,81158401,71733545,91531840,63969546,51589687,73431715,68134436,96323006,69235699,62764463,88700706,91322130,92336714,98243849,42529898,77821207,54235404,40699944,81584212,71527281,95963906,46934099,62966553,66631839,76830980,98713828,71461085,83465875,66802362,64263461,64078388,96553021,49617491,81206118,44806595,53598970,92292044,99030621,60363001"
    }
  }'

5 actions on safeway.com

Read

  • Digital Coupons

    act_safeway_com_digital_couponsread1 credit / call

    Safeway Just For U digital coupons for a store: offer price, description, category and start/end dates. Pass offer IDs, e.g. the sku values from Product Detail.

    store_id
    string · required
    offer_ids
    string · required
  • Product Detail

    act_safeway_com_product_detailread1 credit / call

    Price, unit price and promotions for one Safeway weekly-ad product at a store, including the SKU used by Digital Coupons.

    product_id
    string · required
    store_code
    string · required
    postal_code
    string · required
  • Product Search

    act_safeway_com_product_searchread1 credit / call

    Search Safeway weekly-ad products by keyword for a store: price, unit price, promotion text and the dates the price is valid. Covers items in the store's current weekly ad (Safeway blocks its full catalogue search).

    search_query
    string · required
    store_code
    string · required
    postal_code
    string · required
    limit
    integer
  • Store Locator

    act_safeway_com_store_locatorread1 credit / call

    Find Safeway stores near a US zip code with address, distance, and pickup/delivery flags

    zipcode
    string · required
    size
    integer
    radius
    integer
  • Weekly Ad Deals

    act_safeway_com_weekly_ad_dealsread1 credit / call

    List Safeway weekly ad / flyer deals for a store (name, price, validity, image)

    postal_code
    string · required
    store_code
    string · required

Safeway API questions

Is there an API for Safeway?
Safeway does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for safeway.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Safeway data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when safeway.com changes its markup, Anakin updates the action.
Do I need a Safeway account?
No. Every Safeway action listed here runs anonymously — no account and no credentials required.
What does the Safeway API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Grocery APIs

All Grocery sites