Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

How to Turn a Recipe Screenshot into Structured JSON

Anyone building a cooking, meal planning, or grocery app hits the same wall fast: people do not save recipes as clean data. They save them as pictures. A screenshot of a Pinterest pin. A frame grabbed from a TikTok. A photo of a page in a…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Anyone building a cooking, meal planning, or grocery app hits the same wall fast: people do not save recipes as clean data. They save them as pictures. A screenshot of a Pinterest pin. A frame grabbed from a TikTok. A photo of a page in a cookbook. A wall of text pasted into a note.



If your app needs ingredients, servings, and steps as real fields, that messy input is a genuine problem. Scraping a web page only works when there is a web page, and most recipes shared on social apps never have one. So you end up writing brittle parsers, bolting on OCR, and babysitting edge cases forever.



This is the exact gap I built an API to close.






The idea



Send a recipe in any common form, a photo, a screenshot, a web link, or pasted text, and get back clean structured JSON. Every ingredient comes split into a name, a quantity, and a unit, with the unit normalized to a fixed vocabulary. The category, the serving count, and the instructions come back too.



The piece most tools skip is the picture. Reading a recipe out of an image needs vision, not HTML parsing. That part is built in here, so you never have to stand up your own OCR pipeline or stitch together a vision model yourself.






One endpoint, three inputs



You call a single endpoint and send one of three body shapes.



From pasted text:




{
"type": "text",
"content": "Garlic Butter Shrimp. 1 lb shrimp, 3 tbsp butter, 4 cloves garlic, 1/2 tsp salt. Cook 5 minutes."
}






From a web link:




{
"type": "url",
"content": "https://www.example.com/garlic-butter-shrimp"
}






From a screenshot or photo, pass the image as base64 (you can send several photos of the same recipe and they get combined):




{
"type": "image",
"images": [
{ "base64": "<base64 image data>", "mimeType": "image/jpeg" }
]
}









A full call



Here is a request in Node. Grab your key and the exact host string from the API page on RapidAPI, then drop them in.




const res = await fetch("https://recipe-extractor-screenshot-photo-and-url-to-json.p.rapidapi.com/extract", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "recipe-extractor-screenshot-photo-and-url-to-json.p.rapidapi.com"
},
body: JSON.stringify({
type: "text",
content: "Garlic Butter Shrimp. 1 lb shrimp, 3 tbsp butter, 4 cloves garlic, 1/2 tsp salt. Cook 5 minutes."
})
});

const data = await res.json();
console.log(data.recipe);






And the response:




{
"recipe": {
"name": "Garlic Butter Shrimp",
"description": "A quick garlic butter shrimp skillet.",
"category": "dinner",
"servings": 2,
"ingredients": [
{ "name": "shrimp", "quantity": "1", "unit": "lb" },
{ "name": "butter", "quantity": "3", "unit": "tbsp" },
{ "name": "garlic", "quantity": "4", "unit": "clove" },
{ "name": "salt", "quantity": "0.5", "unit": "tsp" }
],
"instructions": "Cook for 5 minutes."
}
}






Notice the ingredients arrive already broken into fields, ready to drop straight into a database or a shopping cart. No second parsing pass, no regex zoo.






Where this fits



Meal planning and grocery apps can let users import a recipe by photo or link, then build a shopping list automatically from the structured ingredients. Nutrition trackers can read the ingredient list to estimate macros. Recipe organizers can digitize screenshots and cookbook photos into a searchable library. And if you are feeding a model, clean structured data beats raw HTML every time.






Try it



The API lives on RapidAPI with a free tier so you can test it in a minute. Find it here:



Recipe Extractor on RapidAPI



If you build something with it, I would love to hear what you made.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to Turn a Recipe Screenshot into Structured JSON

Thematisch verwandte Begriffe: Turn, Recipe, Screenshot, into · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-49449 | Joplin is an open source note-taking and to-do application that organise…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick