# Get recipe details (v1)

Returns a Tasty recipe's ingredients with US and metric amounts, steps, nutrition per serving, prep and cook times, servings, rating and tags, from its link or slug. `data` is null for an unknown recipe.

- Platform: Tasty
- Request: `GET https://api.toolzerhub.com/v1/tasty/recipe`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/tasty/recipe/get-tasty-recipe

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `recipe` | query | yes | string | A tasty.co recipe link, or the slug from a search result, such as one-pot-garlic-parmesan-pasta. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/tasty/recipe?recipe=<recipe>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
