Catalog coverage · soma
Catalog coverage · soma
Search products from soma.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": ["soma"], "q": "underwear & sleepwear", "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=["soma"],
q="underwear & sleepwear",
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: ["soma"],
q: "underwear & sleepwear",
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.
Soma
Soma
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.

Soma
$39.99In stock
Sizes: XS, S, M, L, XL, XXL
There’s no need to choose between lingerie and PJs with our Stretch Luster Knit collection. Both sexy and comfortable, these pieces are crafted with a move-with-you stretch fabric (aka curve-friendly!) with the shine of satin and a hint of soft lace. Enjoy the soft and stretchy waistband on these flirty pajama shorts, providing ultimate comfort and a premium fit. Exude feminine energy and feel luxurious in these elevated styles. Details Shirred, elastic waistband Functional pockets Curved hem 2" inseam Fabric features the shine of satin and the stretch of knit Skims the body for a premium fit 76% Nylon, 24% Spandex With similar colors, machine wash cold, only non-chlorine bleach. Tumble dry. Cool iron.
Source product pageProduct content returned by the lookup API, ready for a product page.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "soma",
"product": {
"title": "Pajama Shorts",
"brand": {
"name": "Soma"
},
"productUrl": "https://www.soma.com/store/product/stretch-luster-knit-pajama-shorts/570353277",
"currentPrice": 39.99,
"currency": "USD",
"inStock": true,
"description": "There’s no need to choose between lingerie and PJs with our Stretch Luster Knit collection. Both sexy and comfortable, these pieces are crafted with a move-with-you stretch fabric (aka curve-friendly!) with the shine of satin and a hint of soft lace. Enjoy the soft and stretchy waistband on these flirty pajama shorts, providing ultimate comfort and a premium fit. Exude feminine energy and feel luxurious in these elevated styles. Details Shirred, elastic waistband Functional pockets Curved hem 2\" inseam Fabric features the shine of satin and the stretch of knit Skims the body for a premium fit 76% Nylon, 24% Spandex With similar colors, machine wash cold, only non-chlorine bleach. Tumble dry. Cool iron.",
"primaryImage": {
"url": "https://www.soma.com/_assets/products/content/6bc8rhu2ve/jpeg/SOMA_BODYSILQ%20SHORT_570353277_BLU003555_OF_MAIN.jpeg?w=3840",
"cdnUrl": "https://cdn.octogen.ai/1138e08f41c8d4bd04b053675ce8b076/89ac5f4ab1fce8435e6e6980aebf96dc.webp?request_id=7c788e7e-21f7-4a02-9dce-dd4bb8cf8c1d",
"width": 1638,
"height": 2048,
"sizeBytes": 99364,
"mimeType": "image/webp"
},
"details": {
"materials": [
"76% Nylon, 24% Spandex"
],
"fit": [
"Skims the body for a premium fit"
],
"dimensions": null,
"patterns": []
}
}
}StoreRouter classification and attributes. Use attribute_handles as search facet values.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "soma",
"product": {
"enrichment": {
"type": "pajama shorts",
"category_path": [
"Apparel & Accessories",
"Clothing",
"Underwear & Sleepwear",
"Sleep & Loungewear",
"Pajamas & Sleep Sets"
],
"styles": [
"feminine",
"loungewear",
"sexy"
],
"attributes": {
"Fabric": [
"Elastane (Spandex / Lycra)",
"Nylon / Polyamide"
],
"Pattern": [
"Lace",
"Solid"
],
"General Clothing Features": [
"Stretchable"
]
},
"attribute_handles": {
"fabric": [
"fabric__elastane",
"fabric__nylon"
],
"pattern": [
"pattern__lace",
"pattern__solid"
],
"general_clothing_features": [
"general_clothing_features__stretchable"
]
}
}
}
}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.soma.com/store/product/stretch-luster-knit-pajama-shorts/570353277",
"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 Soma 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 color
color
Color family
color_family
Age Group
age_groups
Gender
gender
Pattern
pattern
Fabric
fabric
Neckline
neckline
Sleeve length type
sleeve_length_type
Season
season
Care instructions
care_instructions
Construction Detail
construction_detail
| Field | Facet name | Source | Coverage | Values |
|---|---|---|---|---|
| Activewear | is_activewear | Merchant data | 100% | 2 |
| Product color | color | Merchant data | 100% | 57 |
| Color family | color_family | Merchant data | 100% | 12 |
| Category at depth 0 | category_path.depth_0 | StoreRouter enrichment | 100% | 2 |
| Category at depth 1 | category_path.depth_1 | StoreRouter enrichment | 100% | 5 |
| Category at depth 2 | category_path.depth_2 | StoreRouter enrichment | 100% | 13 |
| Age Group | age_groups | StoreRouter enrichment | 100% | 3 |
| Gender | gender | StoreRouter enrichment | 100% | 3 |
| Pattern | pattern | StoreRouter enrichment | 100% | 33 |
| Fabric | fabric | StoreRouter enrichment | 100% | 34 |
| Category at depth 3 | category_path.depth_3 | StoreRouter enrichment | 95% | 31 |
| General Clothing Features | general_clothing_features | StoreRouter enrichment | 79% | 1 |
| Category at depth 4 | category_path.depth_4 | StoreRouter enrichment | 78% | 26 |
| Neckline | neckline | StoreRouter enrichment | 43% | 21 |
| Sleeve length type | sleeve_length_type | StoreRouter enrichment | 35% | 4 |
| Season | season | StoreRouter enrichment | 28% | 3 |
| Care instructions | care_instructions | StoreRouter enrichment | 24% | 4 |
| Category at depth 5 | category_path.depth_5 | StoreRouter enrichment | 16% | 8 |
| Construction Detail | construction_detail | StoreRouter enrichment | 16% | 6 |
| Underwear coverage style | underwear_coverage_style | StoreRouter enrichment | 14% | 8 |
| Swimwear Features | swimwear_unique_features | StoreRouter enrichment | 13% | 3 |
| Bra style | bra_style | StoreRouter enrichment | 10% | 16 |
| Insulation Level | insulation_level | StoreRouter enrichment | 9% | 3 |
| Skirt/Dress length type | skirt_dress_length_type | StoreRouter enrichment | 9% | 4 |
| Opacity | opacity_level | StoreRouter enrichment | 8% | 3 |
| Top length type | top_length_type | StoreRouter enrichment | 8% | 4 |
| Graphic Type | graphic_type | StoreRouter enrichment | 8% | 3 |
| Bra coverage style | bra_coverage_style | StoreRouter enrichment | 7% | 7 |
| Intimates Features | intimates_unique_features | StoreRouter enrichment | 7% | 2 |
| Fit (Tops) | fit_top | StoreRouter enrichment | 7% | 5 |
| Bra features | bra_features | StoreRouter enrichment | 6% | 7 |
| Swim bottom coverage style | swim_bottom_coverage_style | StoreRouter enrichment | 6% | 4 |
| Front Closure | front_closure_type | StoreRouter enrichment | 6% | 5 |
| Sustainability Features | sustainability_features | StoreRouter enrichment | 6% | 3 |
| Swim top coverage style | swim_top_coverage_style | StoreRouter enrichment | 6% | 7 |
| Front Closure Length | front_closure_length | StoreRouter enrichment | 6% | 4 |
| Nightgown style | nightgown_style | StoreRouter enrichment | 6% | 4 |
| Bra closure type | bra_closure_type | StoreRouter enrichment | 5% | 3 |
| Fit | fit_bottoms | StoreRouter enrichment | 5% | 7 |
| Bra strap type | bra_strap_type | StoreRouter enrichment | 4% | 5 |
| Dress style | dress_style | StoreRouter enrichment | 4% | 15 |
| Knit Style | knit_style | StoreRouter enrichment | 4% | 7 |
| Dress occasion | occasion_style_dresses | StoreRouter enrichment | 4% | 2 |
| Waist rise | waist_rise | StoreRouter enrichment | 4% | 3 |
| Fabric Weight | fabric_weight | StoreRouter enrichment | 4% | 3 |
| Collar Style | collar_style | StoreRouter enrichment | 3% | 6 |
| Pants length type | pants_length_type | StoreRouter enrichment | 3% | 5 |
| Sleeve Style | sleeve_style | StoreRouter enrichment | 3% | 8 |
| Bottoms Closure | bottoms_closure | StoreRouter enrichment | 2% | 2 |
| Compression level | compression_level | StoreRouter enrichment | 2% | 3 |
| Leg Shape | pants_leg_shape | StoreRouter enrichment | 2% | 9 |
| Bra support level | bra_support_level | StoreRouter enrichment | 2% | 5 |
| Performance Features | performance_features | StoreRouter enrichment | 2% | 3 |
| Activewear Features | activewear_unique_features | StoreRouter enrichment | 1% | 4 |
| Front Opening | placket_type | StoreRouter enrichment | 1% | 2 |
| Openwork Detail | openwork_detail | StoreRouter enrichment | <1% | 3 |
| Activity Type | activity_type | StoreRouter enrichment | <1% | 5 |
| Size Type | size_group | StoreRouter enrichment | <1% | 4 |
| Activity Intensity | activity_intensity | StoreRouter enrichment | <1% | 3 |
| Embellishments | embellishments | StoreRouter enrichment | <1% | 3 |
| Occasion | occasion_general | StoreRouter enrichment | <1% | 1 |
| Shorts Fit | shorts_fit | StoreRouter enrichment | <1% | 1 |
| Slit Style | slit_style | StoreRouter enrichment | <1% | 1 |
| Maternity Features | maternity_unique_features | StoreRouter enrichment | <1% | 3 |
| Stretch Level | stretch_level | StoreRouter enrichment | <1% | 1 |
| Surface Finish | surface_finish | StoreRouter enrichment | <1% | 2 |
| One-piece style | one_piece_style | StoreRouter enrichment | <1% | 2 |
| Outerwear Length | outerwear_length_type | StoreRouter enrichment | <1% | 2 |
| Bag/Case material | bag_case_material | StoreRouter enrichment | <1% | 1 |
| Bag closure type | bag_closure_type | StoreRouter enrichment | <1% | 1 |
| Denim Finish Effects | denim_wash_effects | StoreRouter enrichment | <1% | 2 |
| Footwear material | footwear_material | StoreRouter enrichment | <1% | 1 |
| Occasion style | occasion_style_shoes | StoreRouter enrichment | <1% | 1 |
| Outerwear Features | outerwear_unique_features | StoreRouter enrichment | <1% | 1 |
| Package type | package_type | StoreRouter enrichment | <1% | 3 |
| Product form | product_form | StoreRouter enrichment | <1% | 1 |
| Sandal style | sandal_style | StoreRouter enrichment | <1% | 1 |
| Scarf/Shawl style | scarf_shawl_style | StoreRouter enrichment | <1% | 2 |
| Scent | scent | StoreRouter enrichment | <1% | 1 |
| Closure type | shoe_closure_type | StoreRouter enrichment | <1% | 1 |
| Heel height | shoe_heel_height | StoreRouter enrichment | <1% | 1 |
| Sole Type | shoe_sole_type | StoreRouter enrichment | <1% | 1 |
| Skirt style | skirt_style | StoreRouter enrichment | <1% | 3 |
| Shapewear support level | support_level | StoreRouter enrichment | <1% | 1 |
| Toe Shape | toe_style | StoreRouter enrichment | <1% | 1 |
| Top Hem Shape | top_hem_shape | StoreRouter enrichment | <1% | 2 |
| 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