# Tasty compilation API

Get Tasty Compilation data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including compilation identifier, compilation slug, compilation title, member recipe identifier, and recipe position for food discovery, and recipe catalogue, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/tasty/tasty-compilation-api/51915095-983a-4334-ba8d-288ca5af0fad/
API ID: 51915095-983a-4334-ba8d-288ca5af0fad
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/tasty/v1/compilation
Page update time: 2026-12-03T02:44:54.580Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:53.511Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Tasty Compilation API

id accepts the compilation slug or URL, rather than a numeric recipe ID. recipes preserves positions and individual recipe identities. The compilation’s own video and tags are distinct from those of each member recipe; no pagination input is exposed.

## What You Can Build

- **Food discovery**: Connect the returned source identities with a recipe browsing or discovery interface.
- **Recipe catalogue**: Retain record type and source identity when organising recipes and related editorial content.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Compilation identifier |
| `slug` | Compilation slug |
| `name` | Compilation title |
| `recipes[].id` | Member recipe identifier |
| `recipes[].position` | Recipe position |
| `video` | Compilation video metadata |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Tasty compilation API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Compilation slug from its URL (e.g. 4-romantic-dinners-for-date-night) or the URL."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "approved_at": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "created_at": {
      "type": "string"
    },
    "credits": {
      "type": "array",
      "items": {}
    },
    "credits_used": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "keywords": {
      "type": "null"
    },
    "name": {
      "type": "string"
    },
    "recipes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "aspect_ratio": {
            "type": "string"
          },
          "compilation_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "credits": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "picture": {
                  "type": "null"
                },
                "type": {
                  "type": "string"
                },
                "verified": {
                  "type": "boolean"
                }
              }
            }
          },
          "description": {
            "type": "null"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "rating_score": {
            "type": "null"
          },
          "ratings": {
            "type": "null"
          },
          "servings": {
            "type": "null"
          },
          "slug": {
            "type": "string"
          },
          "thumbnail": {
            "type": "string"
          },
          "thumbnail_alt": {
            "type": "null"
          },
          "times": {
            "type": "object",
            "properties": {
              "cook": {
                "type": "object",
                "properties": {
                  "display": {
                    "type": "string"
                  },
                  "minutes": {
                    "type": "integer"
                  }
                }
              },
              "prep": {
                "type": "object",
                "properties": {
                  "display": {
                    "type": "string"
                  },
                  "minutes": {
                    "type": "integer"
                  }
                }
              },
              "total": {
                "type": "object",
                "properties": {
                  "display": {
                    "type": "string"
                  },
                  "minutes": {
                    "type": "integer"
                  }
                }
              }
            }
          },
          "type": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "show": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "display_name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "parent": {
            "type": "string"
          },
          "root_type": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "thumbnail": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "video": {
      "type": "object",
      "properties": {
        "aspect_ratio": {
          "type": "string"
        },
        "duration_ms": {
          "type": "integer"
        },
        "hls": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/tasty/v1/compilation?id=4-romantic-dinners-for-date-night&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "approved_at": "2018-02-15T23:06:22.000Z",
  "cached": false,
  "count": 9,
  "created_at": "2018-02-15T23:02:15.000Z",
  "credits": [],
  "credits_used": 1,
  "description": "We’ve all been there: It’s date night, and you’re already flustered. Your special someone will be here any minute, and you’re a bundle of nerves. Luckily, we’re here to make date night just a little bit easier. You’re welcome.\n\nIn fact, getting fancy for your special night doesn’t get much simpler than this. From fancy yet doable appetizers like <a href=\"https://tasty.co/recipe/bacon-asparagus-pastry-twists\">bacon asparagus pastry twists</a> to a <a href=\"https://tasty.co/recipe/molten-lava-brownie\">delicious molten lava brownie</a> that oozes romance, we’ve got everything you need to make your night with your loved one especially delicious.\n\nPutting together an impressive 3-course meal doesn’t have to be tough. Pretty soon, you’ll be feeding each other spoonfuls of chocolatey goodness over your latest Netflix addiction. Trust us, and let’s get cooking!   \n",
  "fetched_at": "2026-11-19T12:19:57.895Z",
  "id": 470,
  "keywords": null,
  "name": "Romantic Dinners For Date Night",
  "recipes": [
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        34,
        470,
        741,
        1235,
        1948,
        2895,
        3176,
        3187,
        3208
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1424,
      "name": "Bacon Asparagus Pastry Twists",
      "position": 0,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "bacon-asparagus-pastry-twists",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/33a6157154344c9d883e1987e0dd1dcc/BFV14220_3CourseTuscanChickenDinner-FB.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "18 minutes",
          "minutes": 18
        },
        "prep": {
          "display": "20 minutes",
          "minutes": 20
        },
        "total": {
          "display": "38 minutes",
          "minutes": 38
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/bacon-asparagus-pastry-twists"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        34,
        470,
        2134,
        2411,
        2543,
        2627,
        2827,
        2910,
        3169,
        3184,
        3200,
        3269,
        3370,
        3453,
        3517,
        3539,
        3584
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1425,
      "name": "Creamy Tuscan Chicken",
      "position": 1,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "creamy-tuscan-chicken",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/1c4c0c0dece7467c9c4175cb759ed6a7/BFV14220_3CourseTuscanChickenDinner-FB.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "40 minutes",
          "minutes": 40
        },
        "prep": {
          "display": "10 minutes",
          "minutes": 10
        },
        "total": {
          "display": "50 minutes",
          "minutes": 50
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/creamy-tuscan-chicken"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        34,
        470,
        1692,
        1826,
        2262,
        2519,
        3560
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1426,
      "name": "Chocolate Chip Skillet Cookie",
      "position": 2,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "chocolate-chip-skillet-cookie",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/46dcbdeed2c1430d91ea6aa09c9120fb/BFV14220_3CourseTuscanChickenDinner-FB.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "40 minutes",
          "minutes": 40
        },
        "prep": {
          "display": "15 minutes",
          "minutes": 15
        },
        "total": {
          "display": "55 minutes",
          "minutes": 55
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/chocolate-chip-skillet-cookie"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        67,
        467,
        470,
        1112,
        1195,
        1499,
        1614,
        2149,
        2206,
        2541,
        2556,
        2757,
        3280,
        3366
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1552,
      "name": "3-Cheese Garlic Bread",
      "position": 3,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "3-cheese-garlic-bread",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/6e6292525051459ea04905ce883c96f2/BFV16420_LobsterDinnerForTwo2.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "15 minutes",
          "minutes": 15
        },
        "prep": {
          "display": "10 minutes",
          "minutes": 10
        },
        "total": {
          "display": "25 minutes",
          "minutes": 25
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/3-cheese-garlic-bread"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        67,
        470,
        2149,
        2609,
        2857,
        3158,
        3197
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1551,
      "name": "Molten Lava Brownie",
      "position": 4,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "molten-lava-brownie",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/e453ff8f15024d91b409cff4fce6a2a1/BFV16420_LobsterDinnerForTwo2.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "25 minutes",
          "minutes": 25
        },
        "prep": {
          "display": "15 minutes",
          "minutes": 15
        },
        "total": {
          "display": "1 hr 5 min",
          "minutes": 65
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/molten-lava-brownie"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        67,
        363,
        470,
        486,
        636,
        670,
        959,
        989,
        1544,
        1560,
        1888,
        2149,
        2164,
        2371,
        2411,
        2566,
        2690,
        2714,
        2917,
        2967,
        3370,
        3453
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1553,
      "name": "Baked Lobster Tails",
      "position": 5,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "baked-lobster-tails",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/aeb2a75ed6f443bd8870aac97515b6c5/BFV16420_LobsterDinnerForTwo2.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "15 minutes",
          "minutes": 15
        },
        "prep": {
          "display": "10 minutes",
          "minutes": 10
        },
        "total": {
          "display": "35 minutes",
          "minutes": 35
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/baked-lobster-tails"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        62,
        470,
        636,
        1963,
        2133,
        2149,
        2411,
        2563,
        2663,
        2862,
        3376
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1535,
      "name": "Garlic Butter Steak",
      "position": 6,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "garlic-butter-steak",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/3e9cd04fc2c34f9cb22ef893c49cff92/BFV15870_SteakDinnerForTwo2.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "48 minutes",
          "minutes": 48
        },
        "prep": {
          "display": "10 minutes",
          "minutes": 10
        },
        "total": {
          "display": "1 hr 8 min",
          "minutes": 68
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/garlic-butter-steak"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        62,
        391,
        470,
        1189,
        1204,
        2149,
        2161,
        2534,
        3329,
        3334,
        3353,
        3465,
        3591
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1534,
      "name": "Scalloped Potatoes",
      "position": 7,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "scalloped-potatoes",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/05a07209a87849729d88fdc9275e98b9/BFV15870_SteakDinnerForTwo2.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "1 hr 5 min",
          "minutes": 65
        },
        "prep": {
          "display": "15 minutes",
          "minutes": 15
        },
        "total": {
          "display": "1 hr 20 min",
          "minutes": 80
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/scalloped-potatoes"
    },
    {
      "aspect_ratio": "1:1",
      "compilation_ids": [
        62,
        470,
        974,
        1188,
        1195,
        1207,
        1223,
        1307,
        2149,
        2416,
        2741,
        3212
      ],
      "credits": [
        {
          "name": "Alvin Zhou",
          "picture": null,
          "type": "internal",
          "verified": false
        }
      ],
      "description": null,
      "id": 1536,
      "name": "Bacon Avocado Caesar Salad",
      "position": 8,
      "rating_score": null,
      "ratings": null,
      "servings": null,
      "slug": "bacon-avocado-caesar-salad",
      "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/01a073393baf41a18c5507ac035312b8/BFV15870_SteakDinnerForTwo2.jpg",
      "thumbnail_alt": null,
      "times": {
        "cook": {
          "display": "10 minutes",
          "minutes": 10
        },
        "prep": {
          "display": "15 minutes",
          "minutes": 15
        },
        "total": {
          "display": "25 minutes",
          "minutes": 25
        }
      },
      "type": "recipe",
      "url": "https://tasty.co/recipe/bacon-avocado-caesar-salad"
    }
  ],
  "show": "Tasty",
  "slug": "4-romantic-dinners-for-date-night",
  "tags": [
    {
      "display_name": "Date Night",
      "id": 64500,
      "name": "date_night",
      "parent": "occasion",
      "root_type": "seasonal",
      "type": "occasion"
    }
  ],
  "thumbnail": "https://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/110131.jpg",
  "url": "https://tasty.co/compilation/4-romantic-dinners-for-date-night",
  "video": {
    "aspect_ratio": "1:1",
    "duration_ms": 432687,
    "hls": "https://vid.tasty.co/output/58650/low_1509061770.m3u8",
    "url": "https://vid.tasty.co/output/58650/mp4_640x640/1509061770"
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I send a recipe ID?
Use a compilation slug or compilation URL.

### How do I keep recipe ordering?
Retain recipes[].position and the returned list order.

### Does the compilation video belong to every recipe?
No. The compilation has its own video metadata; inspect member recipes separately.

### Can I paginate this compilation?
No pagination parameter is exposed.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/tasty/tasty-compilation-api/51915095-983a-4334-ba8d-288ca5af0fad/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
