CookToolAPI

Quick start

Get from zero to your first API response in under two minutes.

1. Create your account

Sign up for a free developer account. No credit card required. You'll receive 1,000 requests per day immediately.

2. Generate an API key

In your dashboard, click New key, give it a name, and copy the key — it's only shown once. Store it securely (environment variable, secrets manager).

3. Make your first request

Pass your key in the x-api-key header:

bash
curl "https://api.cooktool.org/v1/ingredients?q=chicken&limit=5" \
  -H "x-api-key: ctk_live_your_key_here"

Response

json
{
  "data": [
    { "id": 42, "name": "Chicken, broilers or fryers, breast, meat only, raw", "category_id": 5, "data_type": "sr_legacy" },
    { "id": 43, "name": "Chicken, broilers or fryers, drumstick, meat only, raw", "category_id": 5, "data_type": "sr_legacy" }
  ],
  "limit": 5,
  "offset": 0
}