Catalog coverage · primehatstore
Catalog coverage · primehatstore
Catalog coverage · primehatstore.com
Search products from primehatstore.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.
Catalog by color
StoreRouter tags every product with its color family and shade, so agents can ask for exactly the color a shopper wants.
Catalog
Median price $42 across 1,421 priced products. Current prices, in USD.
Example product response
Inspect a product from the search example below, then retrieve its details through the API.
Indexed response retrieved . Price and availability reflect this response and may change.

New Era
$42.99In stock
Part of New Era’s Evergreen Collection, this New York Yankees 9FIFTY A-Frame Snapback comes in a clean olive green colorway with a raised white Yankees logo on the front. The structured 5-panel A-Frame crown gives it a sharp profile, while the slightly pre-curved visor keeps the fit easy and wearable right out of the box. A 2009 World Series side patch adds a classic championship detail to the tonal look. Details New Era 9FIFTY A-Frame Snapback New York Yankees Evergreen Collection Olive green colorway White embroidered Yankees front logo 2009 World Series side patch Structured 5-panel A-Frame crown Slightly pre-curved visor Adjustable snapback closure New Era side flag embroidery One size fits most
Source product pageProduct content returned by the lookup API, ready for a product page.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "primehatstore",
"product": {
"title": "New Era New York Yankees Olive Green 9FIFTY A-Frame Snapback Hat",
"brand": {
"name": "New Era"
},
"productUrl": "https://primehatstore.com/products/new-era-new-york-yankees-olive-green-9fifty-a-frame-snapback-hat",
"currentPrice": 42.99,
"currency": "USD",
"inStock": true,
"description": "Part of New Era’s Evergreen Collection, this New York Yankees 9FIFTY A-Frame Snapback comes in a clean olive green colorway with a raised white Yankees logo on the front. The structured 5-panel A-Frame crown gives it a sharp profile, while the slightly pre-curved visor keeps the fit easy and wearable right out of the box. A 2009 World Series side patch adds a classic championship detail to the tonal look. Details New Era 9FIFTY A-Frame Snapback New York Yankees Evergreen Collection Olive green colorway White embroidered Yankees front logo 2009 World Series side patch Structured 5-panel A-Frame crown Slightly pre-curved visor Adjustable snapback closure New Era side flag embroidery One size fits most ",
"primaryImage": {
"url": "https://cdn.shopify.com/s/files/1/0666/1351/0390/files/new-era-new-york-yankees-olive-green-9fifty-a-frame-snapback-hat.jpg?v=1791250337",
"cdnUrl": "https://cdn.storerouter.ai/4eed58028e4faa99e3c67341efbece43/4b0e697df934fbcdd5159ae6c3e8d1c1.webp?request_id=26669c2b-89b7-4919-ae28-00360a10e1ae",
"width": null,
"height": null,
"sizeBytes": null,
"mimeType": null
},
"details": {
"materials": [],
"fit": [],
"dimensions": null,
"patterns": []
}
}
}StoreRouter classification and attributes. Use attribute_handles as search facet values.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "primehatstore",
"product": {
"enrichment": {
"type": "snapback hat",
"category_path": [
"Apparel & Accessories",
"Accessories",
"Hats & Headwear",
"Caps",
"Snapback Caps"
],
"styles": [
"sporty",
"casual",
"streetwear"
],
"attributes": {
"Headwear features": [
"Adjustable Fit"
],
"Occasion": [
"Casual"
],
"Pattern": [
"Logo",
"Solid",
"Text"
]
},
"attribute_handles": {
"headwear_features": [
"headwear_features__adjustable_fit"
],
"occasion_general": [
"occasion_general__casual"
],
"pattern": [
"pattern__logo",
"pattern__solid",
"pattern__text"
]
}
}
}
}curl -sS https://api.storerouter.ai/v1/products/lookup \
-H "Authorization: Bearer $OCTOGEN_PLATFORM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://primehatstore.com/products/new-era-new-york-yankees-olive-green-9fifty-a-frame-snapback-hat",
"resolutionMode": "index_only"
}'Selected response fields are shown. API documentation
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": ["primehatstore"], "facets": [ {"name":"category_path.depth_2","values":["hats & headwear"]} ], "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=["primehatstore"],
facets=[
{"name": "category_path.depth_2", "values": ["hats & headwear"]},
],
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: ["primehatstore"],
facets: [
{ name: "category_path.depth_2", values: ["hats & headwear"] },
],
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.
Attributes
Each attribute below is a search facet: the bar shows the share of Primehatstore 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 type
product_type
Age Group
age_groups
Pattern
pattern
Product color
color
Color family
color_family
Graphic Type
graphic_type
Headwear features
headwear_features
Material
material
| Field | Facet name | Source | Coverage | Values |
|---|---|---|---|---|
| Activewear | is_activewear | Merchant data | 100% | 2 |
| Product type | product_type | Merchant data | 100% | 10 |
| Product color | color | Merchant data | 98% | 41 |
| Color family | color_family | Merchant data | 98% | 12 |
| Age Group | age_groups | StoreRouter enrichment | 100% | 4 |
| Category at depth 0 | category_path.depth_0 | StoreRouter enrichment | 100% | 1 |
| Category at depth 1 | category_path.depth_1 | StoreRouter enrichment | 100% | 2 |
| Category at depth 2 | category_path.depth_2 | StoreRouter enrichment | 100% | 2 |
| Category at depth 3 | category_path.depth_3 | StoreRouter enrichment | 100% | 3 |
| Gender | gender | StoreRouter enrichment | 100% | 2 |
| Pattern | pattern | StoreRouter enrichment | 100% | 24 |
| Category at depth 4 | category_path.depth_4 | StoreRouter enrichment | 99% | 4 |
| Graphic Type | graphic_type | StoreRouter enrichment | 97% | 7 |
| Occasion | occasion_general | StoreRouter enrichment | 97% | 1 |
| Headwear features | headwear_features | StoreRouter enrichment | 55% | 3 |
| Material | material | StoreRouter enrichment | 31% | 19 |
| Fabric | fabric | StoreRouter enrichment | 15% | 13 |
| Season | season | StoreRouter enrichment | 7% | 2 |
| Jewelry material | jewelry_material | StoreRouter enrichment | 1% | 5 |
| Jewelry type | jewelry_type | StoreRouter enrichment | 1% | 2 |
| Care instructions | care_instructions | StoreRouter enrichment | <1% | 1 |
| Canonical brand name | brand_name | Brand | 99% | 7 |
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