Discover/cosdna.com API
live

cosdna.com APIcosdna.com

Access CosDNA product data, ingredient safety ratings, supplier listings, and forum posts via 8 structured API endpoints. Analyze ingredient lists for acne and irritant scores.

Endpoints
8
Updated
3mo ago
Try it
Page number for pagination.
Sort order for results.
Search keyword for products (e.g. 'sunscreen', 'moisturizer').
api.parse.bot/scraper/9bcbfb6c-22be-4d42-9a24-08e297777710/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/9bcbfb6c-22be-4d42-9a24-08e297777710/search_products?page=1&query=sunscreen' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Search for cosmetic products by name. Returns paginated results with product IDs, names, links, and thumbnails.

Input
ParamTypeDescription
pagestringPage number for pagination.
sortstringSort order for results.
queryrequiredstringSearch keyword for products (e.g. 'sunscreen', 'moisturizer').
Response
{
  "type": "object",
  "fields": {
    "page": "string, the current page number",
    "query": "string, the search query used",
    "products": "array of product objects with product_id, name, link, and thumbnail fields"
  },
  "sample": {
    "data": {
      "page": "1",
      "query": "sunscreen",
      "products": [
        {
          "link": "https://www.cosdna.com/eng/cosmetic_73c6694771.html",
          "name": "Peach & Lily Sun Cover Mineral Sunscreen 50ml",
          "thumbnail": "https://www.cosdna.com/images/cos/sea3a694771.jpg",
          "product_id": "73c6694771"
        }
      ]
    },
    "status": "success"
  }
}

About the cosdna.com API

The CosDNA API exposes 8 endpoints covering cosmetic product search, ingredient analysis, supplier discovery, and community content from CosDNA.com. The get_product_details endpoint returns a full ingredient list for any product with per-ingredient safety, acne, and irritant ratings. The analyze_cosmetics endpoint lets you submit a raw ingredient list and receive the same structured ratings without needing a product ID.

Product and Ingredient Data

The search_products endpoint accepts a query string and returns paginated results — each with a product_id, name, link, and thumbnail. Pass that product_id to get_product_details to retrieve the full ingredient list for a product, where each ingredient object includes name, ingredient_id, function, acne, irritant, and safety fields. The product name is pulled from the page title and may carry a suffix such as "Ingredient Analysis".

For ingredient-level research, search_ingredients returns matching ingredient_id values that unlock get_ingredient_details. That endpoint surfaces chemical metadata (Formula, Molecular Weight, Cas No), synonyms, a description, and a list of up to 10 related products — useful for tracing which products use a specific compound.

Ingredient Analysis Without a Product ID

analyze_cosmetics accepts a comma-separated ingredient_list string and returns an analysis array with the same function, acne, irritant, and safety fields used in product details. This endpoint is practical for analyzing products not yet in the CosDNA database or for evaluating custom formulations against the site's rating system.

Suppliers, Reviews, and Forum

search_suppliers returns supplier product listings for a given ingredient query, including product_name, company, description, and link. Community data is available through get_latest_reviews, which returns the most recent user-submitted reviews shown on the CosDNA homepage (each with name and link), and get_forum_posts, which accepts a board_id (for example, 13 for Skincare) and a page parameter, returning paginated post title, link, and author fields.

Common use cases
  • Scan a product's ingredient list for acne-triggering compounds using get_product_details acne ratings.
  • Compare irritant scores across multiple products by querying search_products and batching get_product_details calls.
  • Validate a custom formulation before production by submitting it to analyze_cosmetics and reviewing safety fields.
  • Identify raw material suppliers for a specific ingredient via search_suppliers company and description data.
  • Build an ingredient glossary by retrieving CAS numbers, molecular weights, and synonyms from get_ingredient_details.
  • Monitor skincare community sentiment by scraping paginated forum posts with get_forum_posts and a given board_id.
  • Populate a product recommendation feed using get_latest_reviews to surface recently reviewed items.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does CosDNA have an official developer API?+
CosDNA does not publish an official public developer API. There is no documented REST or GraphQL interface available to developers on the CosDNA website.
What rating fields does `get_product_details` return per ingredient, and what do they represent?+
get_product_details returns acne, irritant, and safety as numeric fields on each ingredient object, alongside function and ingredient_id. These values correspond to the ratings CosDNA displays on its ingredient analysis pages. The ingredient_id can be passed to get_ingredient_details for additional chemical metadata on any listed ingredient.
Does the forum endpoint return post content or just metadata?+
get_forum_posts returns title, link, and author for each post — it does not return the body text or replies of individual forum threads. The API covers the post listing level with board-level pagination via board_id and page. You can fork the API on Parse and revise it to add an endpoint that fetches individual thread content.
Can I retrieve user-written review text, star ratings, or skin-type tags through this API?+
Not currently. get_latest_reviews returns review name and link fields only — no rating scores, review body text, or user metadata. You can fork the API on Parse and revise it to add an endpoint that retrieves full review details from individual review pages.
Is there a limitation on how many related products `get_ingredient_details` returns?+
Yes. The related_products array in get_ingredient_details returns up to 10 product objects. If you need broader product coverage for a given ingredient, search_products with an ingredient name as the query is a practical alternative, and it supports pagination via the page parameter.
Page content last updated . Spec covers 8 endpoints from cosdna.com.
Related APIs in HealthcareSee all →
goodtherapy.org API
Search and find therapists on GoodTherapy.org by location, name, or specialty, then view detailed profiles including credentials and practice information. Browse available therapists across different locations and filter results by specialty, insurance, language, and more to find the right mental health professional.
radiopaedia.org API
Search medical cases and images on Radiopaedia to find relevant radiology references, and stay updated with the latest articles in medical imaging. Access case details, diagnostic images, and recent content updates all in one place.
tbca.net.br API
Search Brazil's most comprehensive food database to get detailed nutritional profiles, household portion measurements, and statistical composition data for thousands of foods including regional and biodiversity-focused options. Find specific nutrients by component, browse foods by group or type, and access institutional food information all in one place.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
cabi.org API
Search and retrieve detailed information about plant diseases from the CABI Digital Library, including disease characteristics, symptoms, and management strategies. Find specific disease data by name or browse the comprehensive Compendium to identify and understand plant health issues.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.
arztsuche.116117.de API
Find therapists and doctors across Germany by postal code, radius, or medical specialty, getting detailed results with names, addresses, distances, and contact information. Quickly locate healthcare providers that match your needs using Germany's official 116117 doctor search portal.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
CosDNA API – Cosmetic Ingredients & Products · Parse