Marketplace
No threads yet
Live

get_ingredient_details

incidecoder.com

Gets full ingredient details from https://incidecoder.com by ingredient slug, including INCIDecoder rating, facts, CosIng metadata, and product occurrences with concentration percentages when available.

Parameters4
Runs8
Updated8d ago
Operational8 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_ingredient_details?

Gets full ingredient details from https://incidecoder.com by ingredient slug, including INCIDecoder rating, facts, CosIng metadata, and product occurrences with concentration percentages when available. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass slug, max_other_pages, max_known_pages, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "ingredient": {
    "url": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "cosing": {
      "ec_number": "<string>",
      "cas_number": "<string>",
      "cosing_url": "<string>",
      "references": [
        "<string>"
      ],
      "ph_eur_name": "<string>",
      "all_functions": "<string>",
      "chemical_iupac_name": "<string>"
    },
    "products": [
      {
        "url": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "brand": "<string>",
        "source": "<string>",
        "concentration_percentage": "<string>"
      }
    ],
    "also_called": [
      "<string>"
    ],
    "quick_facts": [
      "<string>"
    ],
    "what_it_does": [
      {
        "url": "<string>",
        "name": "<string>",
        "slug": "<string>"
      }
    ],
    "description_text": "<string>",
    "next_known_offset": 0,
    "next_other_offset": 0,
    "inci_decoder_rating": "<string>",
    "has_more_known_pages": true,
    "has_more_other_pages": true,
    "other_products_count": 0,
    "known_amount_products_count": 0
  }
}

Call it

curl --location 'https://us-prod.notte.cc/functions/293941ed-ee51-4318-a5cc-221d31077ffc/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "293941ed-ee51-4318-a5cc-221d31077ffc",
    "variables": {
        "slug": "niacinamide",
        "max_other_pages": 1,
        "max_known_pages": 1,
        "timeout_seconds": 20
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="293941ed-ee51-4318-a5cc-221d31077ffc") — the "get_ingredient_details" function, which gets full ingredient details from https://incidecoder.com by ingredient slug, including INCIDecoder rating, facts, CosIng metadata, and product occurrences with concentration percentages when available..

It takes slug (str), max_other_pages (int), max_known_pages (int), timeout_seconds (int). Return the result as structured JSON.