# Ochsner Sport Scraper — Swiss Sports Prices & Stock (`studio-amba/ochsnersport-scraper`) Actor

Scrape product data from ochsnersport.ch, Switzerland's largest sporting-goods retailer. Extract names, brands, prices in CHF, sizes, stock levels, and images via Ochsner's own product search API.

- **URL**: https://apify.com/studio-amba/ochsnersport-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Ochsner Sport Scraper

Pull product data from ochsnersport.ch, Switzerland's largest sporting-goods retailer with stores across the country. This scraper pulls directly from Ochsner Sport's own product search API, so it returns clean, structured data -- brand, price in CHF, per-size stock, images -- without any HTML parsing.

### How to scrape Ochsner Sport data

Give the actor a search term in German (e.g. `"laufschuhe"`, `"jacke"`, `"nike"`) and it queries Ochsner Sport's search endpoint directly, paginating until it hits `maxResults` or runs out of matching products. There's nothing to configure beyond the search term -- no category URLs to hunt down, no pagination logic to babysit.

Under the hood, Ochsner Sport's storefront (built on the SCAYLE headless-commerce platform) calls an unauthenticated JSON API at `api.ochsnersport.ch` for every search and category browse. This actor talks to that same API directly instead of rendering pages and parsing HTML, which makes it faster and far less likely to break when Ochsner Sport tweaks its frontend markup.

If you don't provide any input, it defaults to searching for `"laufschuhe"` (running shoes) as a demo.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | Search term, in German (e.g. `"jacke"`, `"sneaker"`, `"wanderschuhe"`) |
| `maxResults` | integer | Cap on number of products returned (default: 100) |
| `proxyConfiguration` | object | Apify proxy settings. Ochsner Sport's product API has no anti-bot protection, so the default Apify proxy is sufficient -- no residential proxy needed |

### What you get back

| Field | Type | Example |
|-------|------|---------|
| `name` | string | `"ON Cloudrunner 3 Herren Laufschuh Grau"` |
| `brand` | string | `"ON"` |
| `price` | number | `199.95` |
| `originalPrice` | number | null | `179` (only set when the item is discounted) |
| `currency` | string | `"CHF"` |
| `discount` | string | null | `"-30%"` |
| `sku` | string | `"02642046"` |
| `productId` | string | `"m02538633"` |
| `inStock` | boolean | null | `true` (null only if the source omits stock data) |
| `stockLevel` | integer | null | `19` (total units across all sizes) |
| `url` | string | Full product page URL |
| `imageUrl` | string | Primary product image |
| `imageUrls` | array | All product images |
| `category` | string | null | Most specific category label the API exposes |
| `sizes` | array | Per-size stock: `[{"size": "41", "inStock": true, "stockQuantity": 1}]` |
| `scrapedAt` | string | ISO timestamp |

### Sample output

```json
{
  "name": "Jack Wolfskin Pilvi Herren Daunenjacke Braun",
  "brand": "Jack Wolfskin",
  "price": 125.3,
  "originalPrice": 179,
  "currency": "CHF",
  "discount": "-30%",
  "sku": "02501374",
  "productId": "m02501374",
  "inStock": true,
  "stockLevel": 17,
  "url": "https://www.ochsnersport.ch/de-ch/p/jack-wolfskin-pilvi-herren-daunenjacke-braun-43768",
  "imageUrl": "https://asset.ochsnersport.ch/images/f_auto,q_auto,w_800/02501374_1/img",
  "imageUrls": [
    "https://asset.ochsnersport.ch/images/f_auto,q_auto,w_800/02501374_1/img",
    "https://asset.ochsnersport.ch/images/f_auto,q_auto,w_800/02501374_2/img"
  ],
  "category": "Base",
  "sizes": [
    { "size": "S", "inStock": true, "stockQuantity": 2 }
  ],
  "scrapedAt": "2026-08-24T14:11:54.164Z"
}
```

### Use cases

- **Price monitoring** -- track Ochsner Sport's own price and discount changes over time on the brands and styles you sell against.
- **Stock tracking** -- `sizes` gives you per-size availability, useful for spotting which sizes sell out fastest.
- **Assortment research** -- see which brands and product lines Ochsner Sport is pushing, and at what CHF price points.
- **Market comparison** -- Ochsner Sport is the largest sporting-goods chain in Switzerland, making it a useful reference point when benchmarking sports retail pricing in the Swiss market.

### Coverage

v1 covers the German-speaking Swiss storefront (`ochsnersport.ch/de-ch`) -- Ochsner Sport's default locale and its largest market segment within Switzerland.

### Performance and cost

The scraper hits Ochsner Sport's JSON API directly -- no browser rendering, no HTML parsing -- so it's fast. A run of 100 products typically completes in well under 10 seconds and uses a fraction of a compute unit. You're billed per actor start plus per result scraped; check the current per-event pricing on this actor's page before running at scale. Your run's usage cost only settles after the run reports SUCCEEDED -- checking cost mid-run will undercount it.

### Limitations

- German-speaking Swiss locale only in v1 (`de-ch`). French and Italian storefronts aren't covered yet.
- Ratings and review counts aren't exposed by the search API, so they're not included in the output.
- The `category` field is often just `"Base"` -- Ochsner Sport's free-text search index only exposes the root category node for most products, not a full breadcrumb, unlike some sibling sites on the same platform.
- The API's `X-Charybdis` header (a shop-configuration blob) was harvested from a live browsing session. It's static shop config, not a rotating secret, but if Ochsner Sport ever regenerates it, requests will start failing until the actor is updated.
- Search is keyword-based, matching Ochsner Sport's own on-site search. It does not accept direct product or category URLs.

### Related scrapers

If you're covering Swiss retail or European sporting goods more broadly, also check out:

- [Intersport Scraper](https://apify.com/studio-amba/intersport-scraper) -- German sporting goods, including athletic footwear
- [Digitec Scraper](https://apify.com/studio-amba/digitec-scraper) -- Swiss electronics retail
- [Galaxus Scraper](https://apify.com/studio-amba/galaxus-scraper) -- Swiss general online retail
- [Coop.ch Scraper](https://apify.com/studio-amba/coop-ch-scraper) -- Swiss grocery and household retail
- [Deichmann Scraper](https://apify.com/studio-amba/deichmann-scraper) -- German footwear, same SCAYLE platform family

### Support

Found an issue or need a different locale covered? Open an issue on this actor's Apify Store page and we'll take a look.

# Actor input Schema

## `searchQuery` (type: `string`):

Search term to find products on ochsnersport.ch (German, e.g. "laufschuhe", "jacke", "nike")

## `maxResults` (type: `integer`):

Maximum number of products to scrape

## `proxyConfiguration` (type: `object`):

Apify proxy configuration. Ochsner Sport's product API has no anti-bot protection (verified live), so the default Apify proxy is sufficient.

## Actor input object example

```json
{
  "searchQuery": "laufschuhe",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQuery": "laufschuhe",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/ochsnersport-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQuery": "laufschuhe",
    "maxResults": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/ochsnersport-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": "laufschuhe",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/ochsnersport-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/ochsnersport-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ONyIDHVcxcSrl5bJ0/builds/3gQmOTvmzNjawfo4m/openapi.json
