# H&M API on SandBase

> H&M data API endpoints available through one SandBase API key.

Source: https://www.sandbase.ai/apis/hm

- Endpoints: 12
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [H&M List Products Kr](https://www.sandbase.ai/apis/hm/products-kr.md): $0.03 per call
  List Korean H&M products by category path. Returns paginated products with Korean names, KRW prices, member prices, images, and facets. Sort by price is supported. The category path maps to the Korean...
- [H&M New Arrivals](https://www.sandbase.ai/apis/hm/new-arrivals.md): $0.03 per call
  Fetch new arrivals for a category. Returns recently added products with pricing and availability. Uses the same listing mechanism as category pages but scoped to new arrivals sections.
- [H&M Product Detail](https://www.sandbase.ai/apis/hm/product-detail.md): $0.03 per call
  Fetch product details including pricing, availability, color variants, and images for a given article code or product URL. Returns full variant information with all color options, stock states, and im...
- [H&M Product Details Kr](https://www.sandbase.ai/apis/hm/product-details-kr.md): $0.03 per call
  Get full product details for a Korean H&M product including all color variants, size-level online availability, images with type labels, KRW prices (regular, current, member), and stock state.
- [H&M Product Listing](https://www.sandbase.ai/apis/hm/product-listing.md): $0.03 per call
  Fetch paginated product listings for a specific category path. Returns product hits with pricing, images, swatches, sizes, and pagination metadata. Each page returns up to 36 products.
- [H&M Related Products Kr](https://www.sandbase.ai/apis/hm/related-products-kr.md): $0.03 per call
  Get styling and pairing recommendations for a Korean H&M product.
- [H&M Sale Products](https://www.sandbase.ai/apis/hm/sale-products.md): $0.03 per call
  Fetch sale/discounted products for a category. Returns products with both regular and discounted prices, discount percentages, and pagination. Uses the same listing mechanism as category pages but sco...
- [H&M Search Products](https://www.sandbase.ai/apis/hm/search-products.md): $0.03 per call
  Search for products by keyword. Returns matching products with pricing, images, facets, and pagination. Uses H&M's search API for reliable structured results. Each page returns up to 45 products.
- [H&M Search Products Kr](https://www.sandbase.ai/apis/hm/search-products-kr.md): $0.03 per call
  Search Korean H&M products by keyword.
- [H&M Similar Items](https://www.sandbase.ai/apis/hm/similar-items.md): $0.03 per call
  Fetch similar product recommendations for a given article code. Returns multiple recommendation lists (style_with, alternatives, upsell) each containing related products with pricing and availability.
- [H&M Size Guide](https://www.sandbase.ai/apis/hm/size-guide.md): $0.03 per call
  Return the H&M size guide shown on a product page: measurement tables (chest, waist, hip, inside leg, etc.
- [H&M Store Finder](https://www.sandbase.ai/apis/hm/store-finder.md): $0.03 per call
  Fetch physical H&M store locations in the US. Optionally filter by city name using case-insensitive substring matching. Returns store details including name, address, coordinates, and opening hours.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
