Catalog coverage · cosrx
Catalog coverage · cosrx
Search products from cosrx.com and retrieve product details as JSON through StoreRouter’s API. Access prices, images, descriptions, and available variant data, plus enriched attributes for filtering.
Snapshot from . Counts are approximate and refresh about daily.
Developer quickstart
export OCTOGEN_PLATFORM_API_KEY="your-api-key". Requests use Authorization: Bearer; the SDKs read this variable automatically. Keep the key on your server.curl -sS https://api.storerouter.ai/v1/products/search \ -H "Authorization: Bearer $OCTOGEN_PLATFORM_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "catalogs": ["cosrx"], "limit": 5 }'# Requires Python 3.11+ and uv; install from the public SDK repository:
# git clone https://github.com/octogen-ai/octogen-dev.git
# cd octogen-dev
# uv sync --project sdks/python
# Save this sample as search.py here, then run:
# uv run --project sdks/python python search.py
import asyncio
from octogen_ai_sdk import OctogenClient
async def main() -> None:
async with OctogenClient(base_url="https://api.storerouter.ai/v1") as client:
page = await client.search_products(
catalogs=["cosrx"],
limit=5,
)
for product in page.items:
print(product.title, product.current_price, product.product_url)
asyncio.run(main())// Node.js 20+; install: npm install @octogen-ai/sdk
// Save this sample as search.mjs, then run: node search.mjs
import { OctogenClient } from "@octogen-ai/sdk";
const client = new OctogenClient({ baseUrl: "https://api.storerouter.ai/v1" });
const page = await client.searchProducts({
catalogs: ["cosrx"],
limit: 5,
});
for (const product of page.items) {
console.log(product.title, product.currentPrice, product.productUrl);
}Indexed snapshot from this search, verified by URL lookup. Selected fields only; prices and availability may have changed since retrieval.
Search finds indexed products by query and filters within this retailer’s catalog.Product URL lookup retrieves one product: index_only uses the index and returns 404 on a miss; auto checks the index before resolving a miss on demand. For a fresh page read where supported, use resolutionMode: "on_demand_only" with onDemandCachePolicy: "refresh". On-demand results may be partial and do not guarantee live price or availability.
Example product response
Inspect a product from the search example above, then retrieve its details through the API.
Indexed response retrieved . Price and availability reflect this response and may change.

COSRX
$6.99In stock
Free gift orders $100+
Source product pageProduct content returned by the lookup API, ready for a product page.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "cosrx",
"product": {
"title": "($100+ Free Gift) COSRX The Alpha-Arbutin Discoloration Care Hydrogel Mask_1ea",
"brand": {
"name": "COSRX"
},
"productUrl": "https://www.cosrx.com/products/100-free-gift-cosrx-the-alpha-arbutin-discoloration-care-hydrogel-mask_1ea",
"currentPrice": 6.99,
"currency": "USD",
"inStock": true,
"description": "Free gift orders $100+",
"primaryImage": {
"url": "https://cdn.shopify.com/s/files/1/0513/3775/6828/files/250407_HydrogelMask4457_R1.webp?v=1758260393",
"cdnUrl": "https://cdn.octogen.ai/23b7552c56ad5c190da82e2a4af5768e/5623508b7bcc7a42eed8a59c38aa49f4.webp?request_id=95293c00-746e-4dbf-b3cf-cd68967fc694",
"width": 4044,
"height": 6044,
"sizeBytes": 391438,
"mimeType": "image/webp"
},
"details": {
"materials": [],
"fit": [],
"dimensions": null,
"patterns": []
}
}
}StoreRouter classification and attributes. Use attribute_handles as search facet values.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "cosrx",
"product": {
"enrichment": {
"type": "hydrogel mask",
"category_path": [
"Beauty",
"Skincare",
"Masks & Peels"
],
"styles": [
"minimalist"
],
"attributes": {
"Skin care effect": [
"Anti Dark Spot",
"Brightening",
"Hydrating",
"Uneven Skin Tone"
],
"Skin care mask type": [
"Sheet"
],
"Constitutive ingredients": [
"Collagen"
]
},
"attribute_handles": {
"skin_care_effect": [
"skin_care_effect__anti_dark_spot",
"skin_care_effect__brightening",
"skin_care_effect__hydrating",
"skin_care_effect__uneven_skin_tone"
],
"skin_care_mask_type": [
"skin_care_mask_type__sheet"
],
"constitutive_ingredients": [
"constitutive_ingredients__collagen"
]
}
}
}
}curl -sS https://api.storerouter.ai/v1/products/lookup \
-H "Authorization: Bearer $OCTOGEN_PLATFORM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.cosrx.com/products/100-free-gift-cosrx-the-alpha-arbutin-discoloration-care-hydrogel-mask_1ea",
"resolutionMode": "index_only"
}'Selected response fields are shown. API documentation
Catalog
Attributes
Each attribute below is a search facet: the bar shows the share of Cosrx products that have it, and each value shows the share tagged with that value. A product can have several values, so these can add up to more than 100%.
Product form
product_form
Constitutive ingredients
constitutive_ingredients
Skin care effect
skin_care_effect
Suitable for skin type
suitable_for_skin_type
Package type
package_type
Product certifications & standards
product_certifications_standards
| Field | Facet name | Source | Coverage | Values |
|---|---|---|---|---|
| Activewear | is_activewear | Merchant data | 100% | 1 |
| Product color | color | Merchant data | <1% | 5 |
| Color family | color_family | Merchant data | <1% | 5 |
| Category at depth 0 | category_path.depth_0 | StoreRouter enrichment | 100% | 1 |
| Category at depth 1 | category_path.depth_1 | StoreRouter enrichment | 100% | 3 |
| Category at depth 2 | category_path.depth_2 | StoreRouter enrichment | 100% | 10 |
| Category at depth 3 | category_path.depth_3 | StoreRouter enrichment | 81% | 18 |
| Product form | product_form | StoreRouter enrichment | 63% | 12 |
| Constitutive ingredients | constitutive_ingredients | StoreRouter enrichment | 56% | 21 |
| Skin care effect | skin_care_effect | StoreRouter enrichment | 52% | 42 |
| Age Group | age_groups | StoreRouter enrichment | 47% | 1 |
| Gender | gender | StoreRouter enrichment | 46% | 1 |
| Suitable for skin type | suitable_for_skin_type | StoreRouter enrichment | 37% | 10 |
| Package type | package_type | StoreRouter enrichment | 32% | 13 |
| Product certifications & standards | product_certifications_standards | StoreRouter enrichment | 22% | 9 |
| Cosmetic function | cosmetic_function | StoreRouter enrichment | 13% | 11 |
| Skin care features | skin_care_features | StoreRouter enrichment | 13% | 8 |
| Skin care mask type | skin_care_mask_type | StoreRouter enrichment | 13% | 3 |
| Category at depth 4 | category_path.depth_4 | StoreRouter enrichment | 12% | 2 |
| Active ingredient | active_ingredient | StoreRouter enrichment | 10% | 7 |
| Dispenser type | dispenser_type | StoreRouter enrichment | 7% | 5 |
| Suitable for hair type | suitable_for_hair_type | StoreRouter enrichment | 6% | 4 |
| Application area | application_area | StoreRouter enrichment | 5% | 2 |
| Anti-aging Skin Care Type | anti_aging_skin_care_type | StoreRouter enrichment | 3% | 3 |
| Hair care items included | hair_care_items_included | StoreRouter enrichment | 2% | 5 |
| Moisturizer type | moisturizer_type | StoreRouter enrichment | 2% | 1 |
| Treatment type | treatment_type | StoreRouter enrichment | 2% | 1 |
| Sustainability Features | sustainability_features | StoreRouter enrichment | 1% | 2 |
| Category at depth 5 | category_path.depth_5 | StoreRouter enrichment | <1% | 1 |
| Cosmetic finish | cosmetic_finish | StoreRouter enrichment | <1% | 2 |
| Lip gloss effect | lip_gloss_effect | StoreRouter enrichment | <1% | 3 |
| Makeup features | makeup_features | StoreRouter enrichment | <1% | 1 |
| Material | material | StoreRouter enrichment | <1% | 1 |
| Pattern | pattern | StoreRouter enrichment | <1% | 1 |
| Scent | scent | StoreRouter enrichment | <1% | 4 |
| Shampoo/Conditioner effect | shampoo_conditioner_effect | StoreRouter enrichment | <1% | 5 |
| Canonical brand name | brand_name | Brand | 100% | 1 |
Data
For agents
Every facet name and value on this page, ready for an agent or a script.
Are you an AI agent? Fetch https://storerouter.ai/llms.txt to learn how to get product data from StoreRouter, and how to make a storefront's products readable by agents.
One API key gives your agent search, product lookup, and similar-item results across every store StoreRouter indexes.
Get an API key