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.
What Does the Farmy API Return?
Everything visible in the Farmy app and website, returned as clean JSON via a single REST call.
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.
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, Albert Heijn, 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 full structured product catalog from 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"}'
{
"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
}
}
]
}What Can You Build?
The Farmy API gives your product a live data layer on top of one of Switzerland's leading grocery retailers.
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.
Access structured nutritional data — calories, macros, allergens — for the exact products sold at Farmy. Power food logging and dietary tracking with real supermarket data.
Monitor Farmy's product range, pricing strategy, and promotional cadence at scale. Track SKU introductions, price changes, and out-of-stock events over time.
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.
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 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.
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.
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 docs.
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
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.
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.
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.
Data from farmy.ch is refreshed daily, reflecting the current seasonal availability and pricing shown on the site.
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.
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.

