Query parameters
-
search string
Search by resource Name
-
page integer
requested page number
Minimum value is
1
. Default value is1
. -
page_size integer
requested page size
Minimum value is
1
, maximum value is100
. Default value is12
. -
prop_int_comedogenic_rating integer
Filter by Property Comedogenic Rating
-
prop_bool_antioxidant boolean
Filter by Property Antioxidant
-
prop_bool_moisturising boolean
Filter by Property Moisturising
-
prop_bool_softening boolean
Filter by Property Softening
-
prop_bool_soothing boolean
Filter by Property Soothing
-
prop_bool_acne_fighting boolean
Filter by Property Acne Fighting
-
prop_bool_anti_aging boolean
Filter by Property Anti-Aging
-
prop_bool_healing boolean
Filter by Property Healing
-
prop_bool_antiseptic boolean
Filter by Property Antiseptic
-
prop_bool_whitening boolean
Filter by Property Brightening
-
prop_bool_uv_protecting boolean
Filter by Property UV Protecting
-
prop_bool_allergen boolean
Filter by Property Allergen
-
prop_bool_alcohol boolean
Filter by Property Alcohol
-
prop_bool_gluten boolean
Filter by Property Gluten
-
prop_bool_silicone boolean
Filter by Property Silicone
-
prop_bool_sulfate boolean
Filter by Property Sulfate
-
prop_bool_paraben boolean
Filter by Property Paraben
-
prop_bool_peg boolean
Filter by Property PEG
-
prop_bool_fungal_acne_feeding boolean
Filter by Property Fungal Acne Feeding
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"
}
}
Response examples (200)
{
"data": [
{
"id": 1,
"ewg": {
"max": 1,
"min": 1,
"url": "/skindeep/ingredient/706945/WATER/",
"data": "Robust",
"decision": "Safe - Moderate hazard",
"background": "bg-safe"
},
"alias": "water",
"title": "Water",
"status": "analyzed",
"content": "",
"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>",
"categories": "Solvent",
"cir_rating": "",
"created_at": "2021-10-04T11:56:27.000Z",
"updated_at": "2021-11-13T20:23:18.000Z",
"description": null,
"boolean_properties": {
"aha": false,
"bha": false,
"peg": false,
"pha": false,
"gluten": false,
"alcohol": false,
"healing": false,
"paraben": false,
"sulfate": false,
"vitamin": false,
"allergen": false,
"ceramide": false,
"retinoid": false,
"silicone": false,
"soothing": false,
"softening": false,
"whitening": false,
"anti_aging": false,
"antiseptic": false,
"antioxidant": false,
"niacinamide": false,
"moisturising": false,
"acne_fighting": false,
"uv_protecting": false,
"hyaluronic_acid": false,
"bad_for_dry_skin": false,
"bad_for_oily_skin": false,
"good_for_dry_skin": false,
"good_for_oily_skin": false,
"fungal_acne_feeding": false,
"bad_for_sensitive_skin": false,
"good_for_sensitive_skin": false
},
"integer_properties": {
"natural": 1,
"comedogenic_rating": 0
}
}
],
"links": {
"last": "/api/v1/ingredients?page=1",
"first": "/api/v1/ingredients?page=1"
}
}