🇨🇭 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, producer provenance data, bio certifications, and availability from farmy.ch, returned as structured JSON.

Daily Catalog indexed
From €0.01 Per request, no subscription
25+ Chains on one schema

What Does the Farmy API Return?

Everything visible in the Farmy app and website, returned as clean JSON via a single REST call.

Product name
Current price (CHF)
Unit price (per 100g / per litre)
Promotional / sale price
Availability status
Category path (full hierarchy)
Product images
Ingredients list
Allergen information
Nutritional values (per 100g & per serving)
Brand
Pack size / weight

Farmy-specific: Farmy products often include producer or farm-of-origin fields and organic/bio certification labels not present in conventional supermarket catalogs. These are returned in the product object where available.


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, Albert Heijn, 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 full structured product catalog from 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 (truncated)
{
  "supermarket_domain": "farmy.ch",
  "products": [
    {
      "name":         "Barilla Penne Rigate 500g",
      "brand":        "Barilla",
      "pack_size":    "500g",
      "price":        1.89,
      "unit_price":   0.38,
      "unit_label":   "per 100g",
      "promo_price":  1.49,
      "availability": "in_stock",
      "category":     "Pasta & Rice / Pasta / Penne",
      "nutrition": {
        "energy_kcal": 352,
        "protein_g":   12.5,
        "carbs_g":     70.5,
        "fat_g":       1.5
      }
    }
  ]
}
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
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

Access structured nutritional data — calories, macros, allergens — for the exact products sold at Farmy. Power food logging and dietary tracking with real supermarket data.

Use case
Retail shelf analytics

Monitor Farmy's product range, pricing strategy, and promotional cadence at scale. Track SKU introductions, price changes, and out-of-stock events over time.

Use case
AI grocery agents

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


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 full 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

Purchase a credit pack via Stripe. Pay-as-you-go from €0.05 per request. No monthly subscription, no minimum spend. Credits don't expire.

🔑
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 docs.

Buy Credits & Get Your API Key   Full API Reference →

Purchase via Stripe, then call /link with your email — your key is returned immediately. No approval process, no waiting.


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.

Does the Farmy API include organic certification and farm provenance data?

Yes. Where Farmy includes producer or farm-of-origin information on a product, these fields are returned in the product object. Organic and bio certification labels are also included as product flags.

What format does the Farmy API response use?

Pepesto returns a unified JSON schema across all supported chains. Each Farmy product object includes name, price in CHF, availability, category path, brand or producer, and nutritional data.

How current is Farmy product and pricing data?

Data from farmy.ch is refreshed daily, reflecting the current seasonal availability and pricing shown on the site.

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.

Is the Farmy data available in real time?

The standard catalog is indexed daily — prices, availability, 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, nutritional data, and full product catalog from farmy.ch — clean JSON, one API key, zero monthly commitment.

Buy credits via Stripe → call /link with your email → API key returned immediately. No approval, no waiting.

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

Try Pepesto's Integration Today!

Download on App Store
Get it on Google Play

© 2026 Pepesto. All rights reserved.

Made with ❤️ in Zurich, Switzerland.