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.
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.
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.
Farmy updates their website regularly — changing markup, adding rate limiting, or restructuring categories. Pepesto absorbs all of that. Your integration keeps working.
The same JSON field names work whether you're calling Farmy, Jumbo, Tesco, or any other supported chain. One integration for all of Europe.
Calling a REST API takes hours. Building, maintaining, and scaling your own Farmy data extraction takes months — and requires ongoing engineering resources.
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.
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"}'
{
"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
}
}
}What Can You Build?
The Farmy API gives your product a live data layer on top of one of Switzerland's leading grocery retailers.
Give your AI agent the ability to search Farmy's products, compare products, and place grocery orders — all programmatically via REST.
Compare Farmy prices against other Switzerland retailers in real time. Flag promotions, track price history, and surface the best deal per product.
Let users build a weekly shopping list and see the exact Farmy cost — including any active promotional prices — before they shop.
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.
Bridge meal planning and shopping: match recipe ingredients to real Farmy supermarket products and power dietary-aware grocery lists with live pricing.
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.
Switzerland — farmy.ch. Pricing in CHF.
Daily. Promotional prices and weekly deals are included in every update cycle.
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.
Start pay-as-you-go — all 27 chains included, no per-chain pricing. Move to a monthly plan when you grow. See pricing →
After purchase, call /link with your email — your API
key is returned immediately. No waiting, no approval form, no account
setup.
Make your first call to /api/catalog with
chain: "farmy". Full endpoint reference and example
responses are in the API reference.
Purchase via Stripe, then call /link with your email — your
key is returned immediately.
Frequently Asked Questions about the Farmy API
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.
Pepesto returns a unified JSON schema across all supported chains. Each Farmy product object includes product name, details, price in CHF, weight units.
Data from farmy.ch is refreshed daily.
Yes. This integration covers farmy.ch only, serving Switzerland. Pricing is in CHF and products are tailored to the Swiss market.
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.
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.
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.