# Turn a TikTok recipe caption into a structured recipe

**Use case:** 

Paste a TikTok or Reels recipe caption and get ingredients with quantities and units, numbered steps, servings, cooking times and what the caption left out.

## Input

```json
{
  "items": [
    {
      "captionText": "Creamy tuscan chicken pasta 🍝 dinner in 25 min!\n\nYou need: 250g penne, 2 chicken breasts sliced, 1 tbsp olive oil, 3 garlic cloves, 1/2 cup sun-dried tomatoes, 2 handfuls spinach, 200ml cooking cream, 1/3 cup grated parmesan, salt + pepper, 1 tsp italian herbs\n\nBoil the pasta. Season the chicken and sear 5-6 min until golden, set aside. Same pan: garlic + sun-dried tomatoes 1 min, pour in the cream, add herbs and parmesan, simmer 2 min. Stir in spinach until wilted, add the chicken and pasta back, toss. Serves 3 #pasta #easydinner #recipe",
      "sourceUrl": "https://www.tiktok.com/@example/video/1"
    }
  ],
  "youtubeUrls": [],
  "mediaFileUrls": [],
  "unitSystem": "metric",
  "outputLanguage": "en",
  "includeNutrition": true,
  "maxRecipes": 100,
  "maxMediaMinutes": 20
}
```

## Output

```json
{
  "inputIndex": {
    "label": "Item",
    "format": "integer"
  },
  "title": {
    "label": "Recipe",
    "format": "string"
  },
  "cuisine": {
    "label": "Cuisine",
    "format": "string"
  },
  "servings": {
    "label": "Servings",
    "format": "integer"
  },
  "totalMinutes": {
    "label": "Minutes",
    "format": "integer"
  },
  "ingredients": {
    "label": "Ingredients",
    "format": "array"
  },
  "confidence": {
    "label": "Confidence",
    "format": "number"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Video to Recipe API: YouTube Recipe Extractor & Nutrition Actor is ready to run with the inputs already set for "Turn a TikTok recipe caption into a structured recipe". [Sign up or log in](https://console.apify.com/create-task-from-example/IZFJBHU3mBrJ2TgoJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Turn a TikTok recipe caption into a structured recipe" task

The Video to Recipe API: YouTube Recipe Extractor & Nutrition Actor will start running based on the input automatically. You can also change all the input fields, like captions and mixed items, youtube video links, and more, to match your specific use case.

### 3. Receive the "Turn a TikTok recipe caption into a structured recipe" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as item, recipe, cuisine, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Turn a TikTok recipe caption into a structured recipe" task via API](https://apify.com/messnomore/video-to-recipe.md).

## About this Actor

This example demonstrates how to use [Video to Recipe API: YouTube Recipe Extractor & Nutrition](https://apify.com/messnomore/video-to-recipe.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/messnomore/video-to-recipe.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/messnomore/video-to-recipe.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
