GET /ingredients

GET /ingredients

Returns Ingredients

Query parameters

Responses

GET /ingredients
curl \
 -X GET https://api.cosmily.com/api/v1/ingredients \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": 1,
      "title": "Water",
      "alias": "water",
      "status": "analyzed",
      "description": null,
      "introtext": "<p>#1 <strong>solvent</strong> in many skincare and haircare products. Usually, creams contain 40 - 70% of water, while toners and micellar water may have up to 90%. Manufacturers <strong>purify</strong> and <strong>deionize</strong> it before putting it into the product to make the formula last longer.</p> <p>As for the benefits, it is neither good nor bad. It's a neutral component itself, but it's a very important part of a product.</p>",
      "content": "",
      "categories": "Solvent",
      "ewg": {
        "min": 1,
        "max": 1,
        "data": "Robust",
        "url": "/skindeep/ingredient/706945/WATER/",
        "background": "bg-safe",
        "decision": "Safe - Moderate hazard"
      },
      "created_at": "2021-10-04T11:56:27.000Z",
      "updated_at": "2021-11-13T20:23:18.000Z",
      "cir_rating": "",
      "integer_properties": {
        "comedogenic_rating": 0,
        "natural": 1
      },
      "boolean_properties": {
        "ceramide": false,
        "vitamin": false,
        "pha": false,
        "bha": false,
        "aha": false,
        "hyaluronic_acid": false,
        "retinoid": false,
        "niacinamide": false,
        "antioxidant": false,
        "moisturising": false,
        "softening": false,
        "soothing": false,
        "acne_fighting": false,
        "anti_aging": false,
        "healing": false,
        "antiseptic": false,
        "whitening": false,
        "uv_protecting": false,
        "allergen": false,
        "alcohol": false,
        "gluten": false,
        "silicone": false,
        "sulfate": false,
        "paraben": false,
        "peg": false,
        "fungal_acne_feeding": false,
        "good_for_dry_skin": false,
        "bad_for_dry_skin": false,
        "good_for_oily_skin": false,
        "bad_for_oily_skin": false,
        "good_for_sensitive_skin": false,
        "bad_for_sensitive_skin": false
      }
    }
  ],
  "links": {
    "first": "/api/v1/ingredients?page=1",
    "last": "/api/v1/ingredients?page=1"
  }
}