Discover/hanes.com API
live

hanes.com APIhanes.com

Access Hanes.com product data via API: search by keyword, browse men's/women's/sale categories, and retrieve variant-level pricing and stock status.

Endpoints
7
Updated
3mo ago
Try it
Page number.
Sort attribute: relevance, price, position.
Search keyword.
Number of items per page.
Sort direction: ASC, DESC.
api.parse.bot/scraper/fa5b631c-119a-4433-8e9b-41e0f5d848a0/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fa5b631c-119a-4433-8e9b-41e0f5d848a0/search_products?page=1&sort=relevance&query=socks&page_size=24&sort_direction=DESC' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Search for products by keyword with optional filters and sorting. Returns paginated results with product details, facets for filtering, and pagination info.

Input
ParamTypeDescription
pageintegerPage number.
sortstringSort attribute: relevance, price, position.
queryrequiredstringSearch keyword.
page_sizeintegerNumber of items per page.
sort_directionstringSort direction: ASC, DESC.
Response
{
  "type": "object",
  "fields": {
    "items": "array of product objects with productView containing name, sku, url, images, priceRange, and options",
    "facets": "array of filter facets with title, type, attribute, and buckets",
    "page_info": "object with current_page, total_pages, and page_size",
    "total_count": "integer total number of matching products"
  },
  "sample": {
    "data": {
      "items": [
        {
          "product": {
            "id": 1250397
          },
          "productView": {
            "sku": "PBS184",
            "url": "https://www.hanes.com/hanes-unisex-plain-black-socks-pack-6-pairs-crew-socks-pbs184.html",
            "name": "Hanes Unisex Plain Black Socks Pack, 6 Pairs, Crew Socks",
            "images": [
              {
                "url": "https://cdn.hanes.com/catalog/product/H/N/HNS_PBS184_XBK_ALD1.jpg",
                "label": "Y29uZmlndXJhYmxlLzI4MC80Mw==",
                "roles": [
                  "image",
                  "small_image",
                  "thumbnail"
                ]
              }
            ],
            "urlKey": "hanes-unisex-plain-black-socks-pack-6-pairs-crew-socks-pbs184",
            "options": [
              {
                "id": "color",
                "title": "Color",
                "values": [
                  {
                    "id": "Y29uZmlndXJhYmxlLzI4MC80Mw==",
                    "title": "Black",
                    "inStock": true
                  }
                ]
              }
            ],
            "priceRange": {
              "maximum": {
                "final": {
                  "amount": {
                    "value": 18,
                    "currency": "USD"
                  }
                },
                "regular": {
                  "amount": {
                    "value": 18,
                    "currency": "USD"
                  }
                }
              },
              "minimum": {
                "final": {
                  "amount": {
                    "value": 18,
                    "currency": "USD"
                  }
                },
                "regular": {
                  "amount": {
                    "value": 18,
                    "currency": "USD"
                  }
                }
              }
            }
          }
        }
      ],
      "facets": [
        {
          "type": "PINNED",
          "title": "Gender",
          "buckets": [
            {
              "id": "Men",
              "count": 255,
              "title": "Men",
              "__typename": "ScalarBucket"
            }
          ],
          "attribute": "gender"
        }
      ],
      "page_info": {
        "page_size": 24,
        "total_pages": 19,
        "current_page": 1
      },
      "total_count": 455
    },
    "status": "success"
  }
}

About the hanes.com API

The Hanes.com API exposes 7 endpoints covering product search, category browsing, and per-SKU detail retrieval across Hanes.com's catalog. The get_product_details endpoint returns full variant data including per-variant SKU, stock status, and pricing, while search_products accepts keyword queries with faceted filters and sort controls. Response objects include structured fields for images, priceRange, configurable options, and pagination metadata.

Product Search and Category Browsing

The search_products endpoint accepts a required query string and optional parameters for page, page_size, sort (relevance, price, position), and sort_direction (ASC or DESC). Results include an items array of product objects, a facets array for client-side filter rendering, page_info with current_page, total_pages, and page_size, and a total_count integer. The get_category_products endpoint works the same way but routes by category_path (e.g. socks/socks/crew or sale) instead of a keyword.

Focused Category Endpoints

get_men_products and get_women_products each accept an optional subcategory path — for example men/underwear or women/bras — and return the same paginated shape as the general category endpoint. get_sale_products takes only a page parameter and returns currently discounted items with the same items, facets, and page_info structure. All listing endpoints include priceRange and options fields inside each product's productView object.

Per-SKU Detail and Availability

get_product_details takes a sku string (e.g. PBS184) and returns two top-level objects: basic_details (name, description, attributes, images, options, priceRange) and availability_and_variants (overall stock_status, configurable_options such as size and color, and a variants array where each entry carries its own sku, stock_status, and pricing). get_product_availability accepts the same input and returns the same response shape, making it useful as a dedicated stock-check call without re-fetching full descriptive content.

Common use cases
  • Building a price-tracking tool that monitors priceRange changes across SKUs over time using get_product_details
  • Aggregating sale inventory by paginating through get_sale_products and extracting per-variant stock_status
  • Generating a size/color availability matrix for a product by parsing the variants array from get_product_availability
  • Populating a product comparison page using name, attributes, images, and priceRange from get_product_details
  • Indexing the full men's or women's catalog by iterating pages of get_men_products or get_women_products with subcategory paths
  • Surfacing facet buckets from search_products to drive filter UI in a custom storefront or affiliate site
  • Alerting users when a specific SKU moves back in stock by polling get_product_availability for stock_status changes
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Hanes have an official public developer API?+
Hanes does not publish a public developer API or documented developer portal for accessing product catalog data.
What does get_product_details return that listing endpoints do not?+
Listing endpoints return a summary productView with name, sku, url, images, priceRange, and options. get_product_details adds a full description, product attributes, configurable_options, and a variants array where each variant has its own sku, stock_status, and individual pricing — data not present in paginated listing responses.
What facet data is returned and how is it structured?+
Every listing and search endpoint returns a facets array. Each facet object includes a title, type, attribute name, and a buckets array. Buckets represent individual filter values (such as a specific size or color) and their associated counts, which can be used to build dynamic filter UI on top of search or category results.
Does the API cover customer reviews, ratings, or Q&A content for products?+
Not currently. The API covers product catalog data: names, descriptions, attributes, images, pricing, variants, and stock status. Review and rating content is not included in any endpoint response. You can fork this API on Parse and revise it to add an endpoint that retrieves review data for a given SKU.
Is there a way to look up products by color or size directly, rather than by SKU?+
Not directly. The search_products endpoint accepts keyword queries and returns facets that include color and size attributes, but there is no dedicated filter-by-attribute lookup. To find all variants of a specific size or color, you would retrieve product-level results via search_products or get_category_products and then inspect the variants array from get_product_details for each SKU. You can fork this API on Parse and revise it to add a dedicated attribute-filter endpoint.
Page content last updated . Spec covers 7 endpoints from hanes.com.
Related APIs in EcommerceSee all →
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
jula.fi API
Search and browse products from Jula.fi to find hardware items with detailed information including prices (with and without VAT), stock availability, brand details, and product SKUs. Explore products by category or search for specific items to compare pricing and check real-time stock status.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
industrynet.com API
Find industrial suppliers and browse product categories across a comprehensive marketplace directory. Connect directly with suppliers by viewing detailed listings and submitting contact inquiries programmatically.
carsforsale.com API
Search vehicle listings and browse detailed car inventory by make, model, and trim to find the perfect vehicle on CarsForSale.com. Access comprehensive listing details including pricing, specifications, and availability all in one place.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.