🇨🇭 Farmy Switzerland REST API JSON

Farmy API — Real-Time Switzerland Grocery Data

Access Farmy's Swiss farm-direct and organic grocery catalog via the Pepesto API — live pricing in CHF, and details from farmy.ch, returned as structured JSON.

Daily Catalog indexed
Simple pricing See plans →
25+ Chains on one schema

What Does the Farmy API Return?

Everything visible and related to food, cooking, and recipes in the Farmy mobile web application, returned as clean JSON via a single REST call. The indexed product list typically contains 1,000–2,000 SKUs, focused on the most common ingredients used for cooking.

Product name
Current price (CHF)
Unit price (per 100g / per litre)
Promotional / sale price
Product images
Additonal Pepesto tags

Built with this API

Farmy CH Organic Basket Builder — A Week of Dinners via API

Real working code. See what's possible, then adapt it for your use case.


Why Use an API Instead of Building Your Own Farmy Integration?

Developers who have tried to build their own Farmy data pipeline know the obstacles. Unofficial workarounds exist, but they come with real costs.

🔧
No maintenance burden

Farmy updates their website regularly — changing markup, adding rate limiting, or restructuring categories. Pepesto absorbs all of that. Your integration keeps working.

📐
Consistent schema across all 25+ chains

The same JSON field names work whether you're calling Farmy, Jumbo, Tesco, or any other supported chain. One integration for all of Europe.

Faster time to market

Calling a REST API takes hours. Building, maintaining, and scaling your own Farmy data extraction takes months — and requires ongoing engineering resources.

🛡️
Reliable uptime

DIY data extraction is fragile: a single layout change can silently break your pipeline. Pepesto monitors and updates integrations continuously so you don't have to.


Fetch Farmy Products in One Request

A single authenticated POST to /api/catalog returns the all products available in Pepesto for Farmy.

Request — cURL
curl -X POST https://s.pepesto.com/api/catalog \
  -H "Authorization: Bearer $PEPESTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"supermarket_domain": "farmy.ch"}'
Response — JSON (URL key varies by product)
{
  "https://farmy.ch/spaghetti/barilla-spaghettoni-nr-7-1kg/p/4934814e0251": {
    "entity_name":             "Spaghetti",
    "kg_verified":             true,
    "names": {
      "de":                   "Barilla Spaghettoni Nr. 7 1kg",
      "en":                   "Barilla Spaghettoni No. 7 1kg"
    },
    "price":                   340,
    "currency":               "EUR",
    "price_per_meausure_unit": "0.34 / 100g",
    "quantity_str":           "1kg",
    "quantity": {
      "Unit": {
        "HundredGrams": 10
      },
      "accurate_grams": 1000
    }
  }
}
Full API Reference →

What Can You Build?

The Farmy API gives your product a live data layer on top of one of Switzerland's leading grocery retailers.

Use case
AI grocery agents

Give your AI agent the ability to search Farmy's products, compare products, and place grocery orders — all programmatically via REST.

Use case
Grocery price comparison

Compare Farmy prices against other Switzerland retailers in real time. Flag promotions, track price history, and surface the best deal per product.

Use case
Grocery budget tracker

Let users build a weekly shopping list and see the exact Farmy cost — including any active promotional prices — before they shop.

Use case
Meal planning with live prices

Match recipe ingredients to real Farmy products and show the true cost of cooking from a given menu. Drive grocery orders directly from your meal planner.

Use case
Nutrition & diet apps

Bridge meal planning and shopping: match recipe ingredients to real Farmy supermarket products and power dietary-aware grocery lists with live pricing.

Use case
Retail shelf analytics

Monitor Farmy's product range, pricing strategy, and promotional cadence at scale. Analyse SKU composition, spot price movements, and benchmark against competitors.


Coverage & Data Freshness

Covers farmy.ch — Farmy's Swiss online platform for organic and farm-direct groceries. Pricing in CHF. Products are sourced primarily from Swiss producers; some imported organic goods are included. This covers farmy.ch only.

🌍
Country coverage

Switzerland — farmy.ch. Pricing in CHF.

🔄
Refresh cadence

Daily. Promotional prices and weekly deals are included in every update cycle.

📦
What's included

All products listed online at farmy.ch — including active promotions and product details.

All product data and pricing is sourced from publicly listed pages on farmy.ch. Pepesto does not access retailer-gated pricing or any data not visible to a regular visitor. Products shown at a lower price due to a promotion or budget-tier range are included because they appear publicly on the site — not through any special retailer agreement.


How to get started

Three steps. No approval process. Your first call can be running within minutes.

💳
1. Buy credits

Start pay-as-you-go — all 27 chains included, no per-chain pricing. Move to a monthly plan when you grow. See pricing →

🔑
2. Get your API key

After purchase, call /link with your email — your API key is returned immediately. No waiting, no approval form, no account setup.

3. Start building

Make your first call to /api/catalog with chain: "farmy". Full endpoint reference and example responses are in the API reference.

Buy Credits & Get Your API Key   Full API Reference →

Purchase via Stripe, then call /link with your email — your key is returned immediately.


Frequently Asked Questions about the Farmy API

Does Farmy have an official public API for developers?

Farmy does not offer a public developer API. Pepesto provides a maintained API layer that normalises Farmy's product catalog from farmy.ch into consistent JSON, refreshed daily.

What format does the Farmy API response use?

Pepesto returns a unified JSON schema across all supported chains. Each Farmy product object includes product name, details, price in CHF, weight units.

How current is Farmy product and pricing data?

Data from farmy.ch is refreshed daily.

Does this API cover only Farmy Switzerland?

Yes. This integration covers farmy.ch only, serving Switzerland. Pricing is in CHF and products are tailored to the Swiss market.

How do I get started with the Farmy API?

Purchase Pepesto API credits, retrieve your key via /link, then query /catalog with chain set to farmy. Full documentation is available at pepesto.com/docs/grocery-shopping-api.

What does the Farmy API return?

Everything visible and related to food, cooking, and recipes in the Farmy mobile web application, returned as clean JSON via a single REST call. The indexed product list typically contains 1,000–2,000 SKUs, focused on the most common ingredients used for cooking.

Is the Farmy data available in real time?

The standard catalog is indexed daily — product prices and product details are refreshed every 24 hours. If your use case requires more frequent updates or push notifications on price changes, get in touch and we can discuss what's possible.


Other Supermarkets Available on Pepesto

One API key gives you access to 25+ European grocery chains with a consistent JSON schema.


Start fetching Farmy data today

Live pricing and product catalog for food, cooking, and recipes from farmy.ch — clean JSON, one API key.

Buy credits via Stripe → call /link with your email → API key returned immediately.

Questions? Email support@pepesto.com or book a call.