Catalog coverage · hatattack
Catalog coverage · hatattack
Catalog coverage · hatattack.com
Search products from hatattack.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": ["hatattack"], "q": "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=["hatattack"],
q="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: ["hatattack"],
q: "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.
Hat Attack
Hat Attack
Hat Attack
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.

Hat Attack
$276.00In stock
Our Luxe Chelsea has a Medium brim fall fedora with narrow leather band. Our Velour brimmed hats are hand blocked by local workers in our Stamford, CT factory. We are proud of our made in USA products. Our hand blocked hats are made to order and require a processing time of up to 4 days. Material: 100% Rabbit Fur - 100% Leather Trim Black with Black Narrow Leather Band Measurements: Crown Height 4", Brim 3", Crown Width 7", Head Measurement is 57cm Weight: 3.8oz Dry Clean
Source product pageProduct content returned by the lookup API, ready for a product page.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "hatattack",
"product": {
"title": "Luxe Chelsea-Black",
"brand": {
"name": "Hat Attack"
},
"productUrl": "https://hatattack.com/products/luxe-chelsea-black",
"currentPrice": 276,
"currency": "USD",
"inStock": true,
"description": "Our Luxe Chelsea has a Medium brim fall fedora with narrow leather band. Our Velour brimmed hats are hand blocked by local workers in our Stamford, CT factory. We are proud of our made in USA products. Our hand blocked hats are made to order and require a processing time of up to 4 days. Material: 100% Rabbit Fur - 100% Leather Trim Black with Black Narrow Leather Band Measurements: Crown Height 4\", Brim 3\", Crown Width 7\", Head Measurement is 57cm Weight: 3.8oz Dry Clean",
"primaryImage": {
"url": "https://cdn.shopify.com/s/files/1/2372/4033/files/KAFX455_BLACK_BLACK_1.jpg?v=1698439644",
"cdnUrl": "https://cdn.octogen.ai/3cde21a94ad889fa642d43a6dbb0e454/23997d89f0b209d661bb6c1b62ac1824.webp?request_id=075c096e-3a9c-42c4-bde2-341fe5268b3e",
"width": 3235,
"height": 4587,
"sizeBytes": 320858,
"mimeType": "image/webp"
},
"details": {
"materials": [
"100% Rabbit Fur - 100% Leather Trim"
],
"fit": [],
"dimensions": null,
"patterns": []
}
}
}StoreRouter classification and attributes. Use attribute_handles as search facet values.
JSON response excerpt
{
"source": "indexed",
"catalogKey": "hatattack",
"product": {
"enrichment": {
"type": "fedora",
"category_path": [
"Apparel & Accessories",
"Accessories",
"Hats & Headwear",
"Classic",
"Fedoras"
],
"styles": [
"classic",
"sophisticated",
"western"
],
"attributes": {
"Fabric": [
"Fur",
"Leather",
"Velour"
],
"Pattern": [
"Solid"
]
},
"attribute_handles": {
"fabric": [
"fabric__fur",
"fabric__leather",
"fabric__velour"
],
"pattern": [
"pattern__solid"
]
}
}
}
}curl -sS https://api.storerouter.ai/v1/products/lookup \
-H "Authorization: Bearer $OCTOGEN_PLATFORM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://hatattack.com/products/luxe-chelsea-black",
"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 Hatattack 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%.
Pattern
pattern
Product color
color
Color family
color_family
Season
season
Fabric
fabric
Material
material
Bag/Case material
bag_case_material
Carry options
carry_options
Bag closure type
bag_closure_type
Headwear features
headwear_features
Bag Shape
bag_shape
Bag Size
bag_size
| Field | Facet name | Source | Coverage | Values |
|---|---|---|---|---|
| Activewear | is_activewear | Merchant data | 100% | 2 |
| Product color | color | Merchant data | 96% | 35 |
| Color family | color_family | Merchant data | 96% | 12 |
| 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% | 12 |
| Pattern | pattern | StoreRouter enrichment | 100% | 18 |
| Age Group | age_groups | StoreRouter enrichment | 99% | 1 |
| Gender | gender | StoreRouter enrichment | 99% | 2 |
| Category at depth 3 | category_path.depth_3 | StoreRouter enrichment | 96% | 15 |
| Season | season | StoreRouter enrichment | 54% | 4 |
| Fabric | fabric | StoreRouter enrichment | 53% | 30 |
| Category at depth 4 | category_path.depth_4 | StoreRouter enrichment | 49% | 12 |
| Material | material | StoreRouter enrichment | 41% | 33 |
| Bag/Case material | bag_case_material | StoreRouter enrichment | 32% | 15 |
| Carry options | carry_options | StoreRouter enrichment | 32% | 7 |
| Bag closure type | bag_closure_type | StoreRouter enrichment | 31% | 6 |
| Graphic Type | graphic_type | StoreRouter enrichment | 28% | 2 |
| Headwear features | headwear_features | StoreRouter enrichment | 28% | 5 |
| Bag Shape | bag_shape | StoreRouter enrichment | 26% | 4 |
| Bag Size | bag_size | StoreRouter enrichment | 23% | 5 |
| Care instructions | care_instructions | StoreRouter enrichment | 20% | 2 |
| Scarf/Shawl style | scarf_shawl_style | StoreRouter enrichment | 8% | 4 |
| Occasion | occasion_general | StoreRouter enrichment | 6% | 1 |
| Embellishments | embellishments | StoreRouter enrichment | 4% | 1 |
| Handwear material | handwear_material | StoreRouter enrichment | 4% | 5 |
| Handwear type | handwear_type | StoreRouter enrichment | 4% | 3 |
| Bag/Case storage features | bag_case_storage_features | StoreRouter enrichment | 3% | 2 |
| Handwear features | handwear_features | StoreRouter enrichment | 3% | 2 |
| Tote handle type | tote_handle_type | StoreRouter enrichment | 2% | 1 |
| Fabric Weight | fabric_weight | StoreRouter enrichment | 2% | 1 |
| Hardware finish | hardware_finish | StoreRouter enrichment | 2% | 2 |
| Bag/Case features | bag_case_features | StoreRouter enrichment | 1% | 1 |
| Clutch Style | clutch_style | StoreRouter enrichment | 1% | 2 |
| General Clothing Features | general_clothing_features | StoreRouter enrichment | 1% | 2 |
| Sustainability Features | sustainability_features | StoreRouter enrichment | 1% | 1 |
| Activity Type | activity_type | StoreRouter enrichment | <1% | 1 |
| Bag strap details | bag_strap_details | StoreRouter enrichment | <1% | 1 |
| Collar Style | collar_style | StoreRouter enrichment | <1% | 1 |
| Fit (Tops) | fit_top | StoreRouter enrichment | <1% | 1 |
| Front Closure Length | front_closure_length | StoreRouter enrichment | <1% | 1 |
| Front Closure | front_closure_type | StoreRouter enrichment | <1% | 1 |
| Insulation Level | insulation_level | StoreRouter enrichment | <1% | 1 |
| Neckline | neckline | StoreRouter enrichment | <1% | 1 |
| Front Opening | placket_type | StoreRouter enrichment | <1% | 1 |
| Sleeve length type | sleeve_length_type | StoreRouter enrichment | <1% | 1 |
| Surface Finish | surface_finish | StoreRouter enrichment | <1% | 1 |
| Canonical brand name | brand_name | Brand | 99% | 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