Discover/Hasaki API
live

Hasaki APIhasaki.vn

Access Hasaki.vn product listings, reviews, brands, categories, flash deals, and autocomplete via 12 structured API endpoints for the Vietnamese beauty market.

Endpoint health
verified 4d ago
get_brands_list
search_products
get_brand_products
get_best_sellers
get_new_arrivals
12/12 passing latest checkself-healing
Endpoints
12
Updated
26d ago

What is the Hasaki API?

The Hasaki.vn API exposes 12 endpoints covering the full product catalog of Vietnam's major beauty and cosmetics platform, from search and category browsing to customer reviews and flash deals. The get_product_detail endpoint returns structured content blocks including pricing, image galleries, variants, promotions, and related products. Other endpoints cover brand directories, Q&A threads, best sellers, new arrivals, and real-time autocomplete suggestions.

Try it
Page number for pagination.
Number of results per page.
Search keyword (e.g. 'kem chống nắng', 'serum vitamin c').
api.parse.bot/scraper/bf606614-615b-4332-9217-888820291bae/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/bf606614-615b-4332-9217-888820291bae/search_products?page=1&size=5&query=kem+ch%E1%BB%91ng+n%E1%BA%AFng' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace hasaki-vn-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Hasaki.vn SDK — search products, browse categories, read reviews, flash deals."""
from parse_apis.hasaki_vn_api import Hasaki, ProductSort, ReviewSort, ReviewFilter, ProductNotFound

client = Hasaki()

# Search for sunscreen products, capped at 3 results.
for product in client.products.search(query="kem chống nắng", limit=3):
    print(product.name, product.price, product.discount_percent)

# Navigate a category by slug and list best sellers.
category = client.category(slug="cham-soc-da-mat-c4")
top = category.best_sellers(limit=1).first()
if top:
    print(top.name, top.brand.name, top.market_price)

# List products in category sorted by top sales.
for p in category.products(sort=ProductSort.TOPSALE, limit=3):
    print(p.name, p.price)

# Drill into a product's reviews sorted by best rating with 5-star filter.
if top:
    for review in top.reviews.list(sort=ReviewSort.BEST, filter=ReviewFilter.FIVE_STAR, limit=3):
        print(review.user_fullname, review.rating.star, review.content[:60])

# List current flash deals.
for deal in client.flashdeals.list(limit=3):
    print(deal.name, deal.price, deal.discount_percent)

# Get autocomplete suggestions for a partial query.
suggestions = client.autocompletes.suggest(query="kem")
for kw in suggestions.keywords[:3]:
    print(kw.label, kw.url)

# Typed error handling: catch a missing product.
try:
    detail = client.products.search(query="nonexistent_xyz_product_00000", limit=1).first()
    if detail:
        print(detail.name)
except ProductNotFound as exc:
    print(f"Product not found: {exc.product_id}")

print("exercised: products.search / category.best_sellers / category.products / reviews.list / flashdeals.list / autocompletes.suggest")
All endpoints · 12 totalmissing one? ·

Full-text search over Hasaki's product catalog by keyword. Returns paginated product results sorted by relevance/sales with metadata including total count and available sort/filter options. Each product includes pricing, brand, rating, and deal info.

Input
ParamTypeDescription
pageintegerPage number for pagination.
sizeintegerNumber of results per page.
queryrequiredstringSearch keyword (e.g. 'kem chống nắng', 'serum vitamin c').
Response
{
  "type": "object",
  "fields": {
    "products": "array of product objects with id, name, price, brand, image, rating, deal info",
    "meta_data": "object containing products_total, sort_params, and filter options"
  }
}

About the Hasaki API

Product Discovery and Search

The search_products endpoint accepts a query string (e.g. 'kem chống nắng' or 'serum vitamin c') and returns paginated results with products_total, sort parameters, and filter options in the meta_data object. Each product object includes id, name, price, brand, image, rating, and any active deal info. The get_search_autocomplete endpoint takes a partial query and returns keywords, suggestions, product previews with prices, and brand matches — useful for building search-as-you-type interfaces.

Category, Brand, and Curated Listings

get_category_products and get_brand_products both accept a slug parameter derived from the Hasaki URL path (e.g. 'cham-soc-da-mat-c4' or 'cerave') and support sort and page/size pagination. Both return filter arrays with grouped filter keys and values alongside meta_data containing the total count, sort options, and either current_cate or brand_info. The get_categories endpoint returns the full hierarchical category tree — including nested subcategories and banners — which can be used to discover valid slugs. get_brands_list returns all brands alphabetically grouped by first letter, each with id, name, URL, logo, and cover image.

Product Detail and Social Proof

get_product_detail takes a numeric product_id and returns an array of structured blocks covering product info sections (CommonInfo, PromotionInfo, and others), the full image gallery, variant options, and related products. get_product_reviews returns paginated reviews with a rating object showing the star distribution and per-star counts, plus individual review objects that include user_fullname, content, rating, created_at, and attached images. The filter parameter allows filtering reviews by star count or by image presence. get_product_qa returns customer questions and staff replies as nested comments with sub_comments, paginated via comments_total in meta_data.

Deals, Best Sellers, and New Arrivals

get_flash_deals returns current promotional products with discount_percent and countdown timer data, filterable by a key representing the deal time period (e.g. 'deal08'). get_best_sellers and get_new_arrivals both accept an optional slug to scope results to a category; omitting it returns site-wide results. All three support page and size pagination and return the standard product array with filter groups and meta_data.

Reliability & maintenanceVerified

The Hasaki API is a managed, monitored endpoint for hasaki.vn — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when hasaki.vn changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official hasaki.vn API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
12/12 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Vietnamese skincare price comparison tool using search_products and get_product_detail pricing fields.
  • Monitor flash deal discount percentages and countdown timers via get_flash_deals to track promotional patterns.
  • Aggregate customer review sentiment and star distributions with get_product_reviews across competing products.
  • Populate a brand directory page using get_brands_list with logo, cover image, and URL for each brand.
  • Generate category-scoped best-seller rankings by passing a category slug to get_best_sellers.
  • Implement Vietnamese beauty product autocomplete by feeding partial queries to get_search_autocomplete.
  • Track new product launches in a specific category by polling get_new_arrivals with a category slug.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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 Hasaki.vn have an official developer API?+
Hasaki.vn does not publish a public developer API or documentation for third-party access to its catalog data.
What does `get_product_reviews` return beyond the review text?+
Each review object includes user_fullname, rating, created_at, attached images, and any staff response. The top-level rating object provides a stars array showing the count for each star level (1–5), plus filter options to isolate reviews by rating tier or by image presence.
How do I find valid category or brand slugs to use with `get_category_products` and `get_brand_products`?+
get_categories returns the full nested category tree with URL paths — the slug is the path segment (e.g. 'chong-nang-da-mat-c11'). For brands, get_brands_list returns every brand's URL, from which the slug can be extracted (e.g. 'la-roche-posay').
Does the API expose a user's order history, wishlist, or account data?+
No. The API covers public catalog data: products, categories, brands, reviews, Q&A, flash deals, and search. Account-level data such as order history or wishlists is not exposed. You can fork the API on Parse and revise it to add endpoints for any additional public product data not currently included.
Is there a way to filter `get_flash_deals` results by product category?+
The endpoint returns a filters array of category filter options alongside the deal products, but category filtering is applied via the key parameter which selects the deal time period. Direct category-scoped filtering within flash deals is not currently parameterized. You can fork the API on Parse and revise it to add a category filter parameter for deal results.
Page content last updated . Spec covers 12 endpoints from hasaki.vn.
Related APIs in EcommerceSee all →
tiki.vn API
Search and browse products from Tiki.vn with instant access to detailed product information, customer reviews, category listings, and seller profiles. Discover items across categories, compare products, read customer feedback, and learn about sellers all in one place.
sephora.com API
Search and browse Sephora's product catalog to find detailed information about beauty items, including specifications, customer reviews, Q&A discussions, pricing, and real-time availability. Filter products by category or brand, and access comprehensive brand listings to discover exactly what you're looking for.
shopee.vn API
Search for products and shops on Shopee Vietnam, view detailed product information and shop profiles, and get search suggestions to discover items. Find everything you need with access to product listings, pricing, descriptions, and merchant details from Vietnam's leading marketplace.
dhgate.com API
Search DHgate's vast marketplace to find products across all categories, view detailed information including pricing tiers, shipping options, and seller ratings, and discover flash deals. Retrieve full product details and customer reviews in one place.
lazada.sg API
Search and browse products on Lazada Singapore with access to detailed product information, customer reviews, seller profiles, and category listings. Discover flash sale deals and explore what sellers are offering all in one place.
theordinary.com API
Browse and search The Ordinary's complete product catalog by category or ingredients. View detailed product information including formulas and key actives, apply filters by product type, concern, or ingredient, and read customer reviews to compare and evaluate products.
stylishop.com API
Browse and search stylishop.com's complete fashion catalog, including products, categories, brands, reviews, and trending data to discover new arrivals and sale items. Get product details, size guides, autocomplete suggestions, and trending search insights to enhance your shopping experience.
aliexpress.com API
Search for products across AliExpress and instantly access detailed information including product specs, customer reviews, and pricing to make informed purchasing decisions. Browse through product categories and retrieve complete product data directly from URLs to compare options and find exactly what you're looking for.