Discover/spar.co.za API
live

spar.co.za APIwww.spar.co.za

Search the SPAR South Africa grocery catalog by keyword. Returns product name, description, size, and image URL for matching items.

Endpoints
1
Updated
3h ago
Try it
Search term to find products by name or description (e.g. 'milk', 'bread', 'coconut').
api.parse.bot/scraper/3bdd71ec-f83f-486e-ad7d-f41d77d75337/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3bdd71ec-f83f-486e-ad7d-f41d77d75337/search_products' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 1 totalclick to expand

Search the SPAR brand product catalog by keyword. Returns matching products with their name, description, size, and image URL. The search matches against product names and descriptions. Prices are not available on this site as they vary by store location.

Input
ParamTypeDescription
queryrequiredstringSearch term to find products by name or description (e.g. 'milk', 'bread', 'coconut').
Response
{
  "type": "object",
  "fields": {
    "query": "string",
    "products": "array of product objects with product_id, name, description, size, and image_url",
    "total_results": "integer"
  },
  "sample": {
    "query": "bread",
    "products": [
      {
        "name": "brown bread wheat flour",
        "size": "12.5kg",
        "image_url": "https://www.spar.co.za/CMSWebParts/SPAR/Brands/BrandImage.aspx?thumb=false&Id=799",
        "product_id": "799",
        "description": "Finest quality flour for home made brown bread"
      }
    ],
    "total_results": 5
  }
}

About the spar.co.za API

The SPAR South Africa API exposes 1 endpoint — search_products — that queries the SPAR brand product catalog and returns up to 5 fields per product: product_id, name, description, size, and image_url. It covers the full SPAR grocery range including fresh food, pantry staples, beverages, and household items, letting developers build product lookup tools without maintaining their own catalog data.

What the API Returns

The search_products endpoint accepts a single query string parameter and returns a list of matching SPAR South Africa products. Each product object includes a product_id, name, description, size, and image_url. The response also includes a total_results count and echoes back the original query string for reference. Searches match against both product names and descriptions, so terms like 'coconut' will surface items whose descriptions mention the ingredient even if it is not in the product name.

Coverage and Scope

The catalog reflects SPAR's branded product range for South Africa, covering categories such as dairy, bakery, beverages, snacks, canned goods, and household products. Because SPAR South Africa prices are set at the individual store level, price data is not available in any response field — this is a fundamental characteristic of the source, not a gap in the endpoint.

Using the Data

The image_url field returns a direct link to the product image, suitable for rendering in a storefront or comparison tool. The size field carries the pack or volume information (e.g. 500ml, 1kg) as a string, which can be used for unit-based filtering in downstream logic. Product IDs are stable identifiers useful for deduplicating results or building persistent product references.

Common use cases
  • Build a grocery list app that resolves typed item names to canonical SPAR product entries with images and descriptions.
  • Populate a nutrition or meal-planning tool with SPAR product data keyed by ingredient keyword.
  • Create a product comparison page that shows SPAR catalog entries alongside other South African retailers.
  • Generate a product image gallery for SPAR items by querying category keywords and collecting image_url fields.
  • Validate whether a specific branded product (e.g. SPAR house-brand bread) exists in the catalog before listing it in a menu or app.
  • Feed a search autocomplete widget that resolves partial grocery terms to full SPAR product names and sizes.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does SPAR South Africa offer an official developer API?+
SPAR South Africa does not publish a public developer API or documented data feed for its product catalog. This Parse API provides structured access to the product data available on spar.co.za.
Why are prices missing from the product results?+
SPAR South Africa prices are set at the store level and are not published centrally on spar.co.za. As a result, no price field exists in any product response — this applies to every item returned by search_products, not just certain categories.
Can I retrieve products by category or browse the full catalog?+
Not currently. The API supports keyword search via the query parameter and returns matching products with name, description, size, and image_url. Category-level browsing or a full catalog dump is not covered. You can fork the API on Parse and revise it to add a category-browsing endpoint.
Does the API return store locations or stock availability?+
Not currently. The API covers product catalog data only — name, description, size, and image URL. Store locations, stock levels, and availability by branch are not included. You can fork the API on Parse and revise it to add a store-finder or availability endpoint.
How specific can my search query be?+
The query parameter matches against product names and descriptions, so both broad terms ('milk') and more specific phrases ('low fat yoghurt') are valid. The total_results field in the response indicates how many products matched, which is useful for deciding whether to broaden or narrow the search term.
Page content last updated . Spec covers 1 endpoint from www.spar.co.za.
Related APIs in Food DiningSee all →
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
fdc.nal.usda.gov API
Search across thousands of foods to get detailed nutritional information, serving sizes, and ingredient data from USDA's comprehensive food database. Find nutrition facts for branded products, legacy foods, and foundation foods all in one place.
resy.com API
Search for restaurants across cities and check real-time availability to find open reservation slots on Resy. Discover trending and top-rated venues with detailed information about dining options, menus, and available time slots across selected dates.
guide.michelin.com API
Access data from guide.michelin.com.
waitrose.com API
Search Waitrose & Partners' online grocery catalog to find products with detailed information including pricing, current promotions, and availability. Get autocomplete suggestions for faster browsing and access complete product details to compare items and find the best deals.
aldi.co.uk API
Search and browse Aldi UK's product catalog with detailed information about items, categories, and real-time suggestions to help you find exactly what you're looking for. Get instant access to product details, pricing, and category navigation across Aldi's full range of groceries and goods.
woolworths.com.au API
Search and browse Woolworths supermarket products with detailed information including nutritional content, current pricing, and special offers. Get autocomplete suggestions while shopping, explore products by category, and access real-time data on what's available and on sale.
postmates.com API
Browse and search Postmates restaurants to discover menus, items, and detailed restaurant information all in one place. Get category suggestions, view complete menus, and access specific item details to find exactly what you're looking for.