Quickstart
This guide will get you set up and ready to use the NutritionSignals API. We’ll cover how to generate an API key, choose a client, and make your first API request using the Food Resolution endpoint.
Before you can make requests to the NutritionSignals API, you’ll need an API key. Generate one in your Settings » API.
Choose your client
Before making your first API request, pick which client you’ll use. NutritionSignals works with plain HTTP requests (cURL) and any standard HTTP library. Below are simple setups for JavaScript, Python, and PHP.
curl https://api.nutritionsignals.com/v1/foods/resolve \
-H "Authorization: Bearer $NUTRITIONSIGNALS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Chobani Greek Yogurt, strawberry, 5.3 oz"}'
```bash {{ title: 'cURL' }}
What's next?
Great, you’ve generated an API key and made your first request. Here are a few links to keep going with NutritionSignals: