Discover/SPAR API
live

SPAR APIspar.co.za

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

Endpoint health
verified 14h ago
search_products
get_product
2/2 passing latest checkself-healing
Endpoints
2
Updated
1mo ago

What is the SPAR API?

The SPAR South Africa API gives developers access to the SPAR brand product catalog through 2 endpoints, returning up to 5 fields per product including name, description, size, and image URL. Use search_products to query by keyword across product names and descriptions, or use get_product to retrieve a single item by its numeric product ID.

This call costs1 credit / call— charged only on success
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.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3bdd71ec-f83f-486e-ad7d-f41d77d75337/search_products?query=milk' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalmissing one? ·

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. Results are from the first page only (up to 16 products).

Input
ParamTypeDescription
queryrequiredstringSearch term to find products by name or description (e.g. 'milk', 'bread', 'coconut').
Response
{
  "type": "object",
  "fields": {
    "query": "string — the search term used",
    "products": "array of product objects with product_id, name, description, size, and image_url",
    "total_results": "integer — number of products returned"
  },
  "sample": {
    "data": {
      "query": "milk",
      "products": [
        {
          "name": "active snack bar peanut",
          "size": "40g",
          "image_url": "https://www.spar.co.za/CMSWebParts/SPAR/Brands/BrandImage.aspx?thumb=false&Id=8727",
          "product_id": "8727",
          "description": "Granola and Peanuts with milk choc coating"
        }
      ],
      "total_results": 16
    },
    "status": "success"
  }
}

About the SPAR API

What the API Covers

This API exposes the SPAR South Africa brand product catalog at spar.co.za. It covers product metadata — name, description, size, image_url, and product_id — for items in the SPAR own-brand range. Prices are not included in any response because SPAR South Africa does not publish prices on its website; they vary by individual store location.

Endpoints

search_products accepts a query string (e.g. 'milk', 'bread', 'coconut') and returns an array of matching product objects alongside a total_results count and the original query value echoed back. Matching runs against both product names and descriptions, so partial or category-level terms can surface a range of items.

get_product accepts a numeric product_id — obtained from a prior search_products call — and returns the full detail record for that single product: name, size, image_url, product_id, and description. Retrieving a product by ID requires scanning the paginated catalog, which may involve up to approximately 20 sequential page fetches; latency for this endpoint is higher than for search.

Limitations to Note

Coverage is limited to SPAR own-brand products as listed on spar.co.za. National-brand products sold in SPAR stores but not featured on the SPAR website are not accessible. Stock availability, store-specific assortments, and promotional data are not part of any response.

Reliability & maintenanceVerified

The SPAR API is a managed, monitored endpoint for spar.co.za — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when spar.co.za changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official spar.co.za API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
14h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a SPAR own-brand product browser showing name, size, and pack image.
  • Populate a grocery comparison app with SPAR product descriptions and sizes.
  • Generate a structured product catalog database from SPAR brand items.
  • Match SPAR product IDs to external nutritional databases using name and description fields.
  • Power an internal procurement tool with SPAR brand product metadata.
  • Index SPAR product images and descriptions for a recipe or meal-planning application.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does SPAR South Africa have an official developer API?+
SPAR South Africa does not publish a public developer API or documented data feed for its product catalog.
What does search_products return, and are results paginated?+
search_products returns an array of product objects — each with product_id, name, description, size, and image_url — plus a total_results count and the echoed query string. Results come from the first page of the catalog matching the query; there is no pagination parameter exposed on this endpoint.
Are prices included in the product responses?+
No prices are returned by either endpoint. SPAR South Africa does not list prices on its website because they vary by store location. The API reflects this: product objects include name, description, size, and image_url only.
Does the API cover non-SPAR-brand products sold in SPAR stores?+
Not currently. The API covers SPAR own-brand products listed on spar.co.za. National or third-party brands sold in SPAR stores but not featured on the SPAR website are not included. You can fork this API on Parse and revise it to add an endpoint targeting a different product segment if the data becomes available on the site.
How does get_product behave when a product ID is not found?+
If the numeric product_id does not match any product in the catalog after scanning available pages, the endpoint returns a not-found result rather than a partial record. IDs should be sourced from a prior search_products call to ensure they are valid.
Page content last updated . Spec covers 2 endpoints from spar.co.za.
Related APIs in Food DiningSee all →
products.checkers.co.za API
Search and browse products from Checkers South Africa's online store, compare prices, and discover current specials and deals. Explore the complete product catalog by category to find items and get detailed product information all in one place.
checkers.co.za API
Search for groceries, browse product categories, and find Checkers store locations across South Africa all in one place. Get detailed product information, discover popular items, and locate the nearest store to shop conveniently.
pricecheck.co.za API
Search for products across South African retailers and instantly compare prices, store locations, and available offers from multiple shops in one place. Find the best deal by viewing each store's pricing and physical address for any product you're looking for.
clicks.co.za API
Search for and browse thousands of products from Clicks, South Africa's leading pharmacy, health, home and beauty retailer, with access to detailed product information, pricing, and the complete category structure. Discover items by keyword search or explore products organized by category to find exactly what you need.
pnp.co.za API
Search for groceries, browse products by category, and discover current specials at Pick n Pay stores, while accessing detailed product information, store locations, and fresh produce availability all in one place.
carrefour.be API
Search and browse Carrefour Belgium's grocery catalog to find products with detailed nutritional information, ingredients, and pricing. Explore product categories and discover items that match your shopping needs.
carrefour.eu API
Search and browse Carrefour's European online product catalog to access pricing, promotions, availability, and detailed product information including nutritional data. Retrieve comprehensive product details across categories to compare prices and find current deals in real-time.
sainsburys.co.uk API
Access Sainsbury's grocery catalogue: search products by keyword, browse the full category hierarchy, retrieve detailed product information, and discover trending searches.