redmagic.gg APIredmagic.gg ↗
Access RedMagic gaming store data via 7 endpoints: product details, collection listings, real-time stock availability, pricing, discounts, and product comparison.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/10188af6-9358-493f-be0b-6fe72dd065b7/get_all_collections' \ -H 'X-API-Key: $PARSE_API_KEY'
Retrieve all product collections available on the RedMagic store. Returns collection metadata including title, handle, description, and product count.
No input parameters required.
{
"type": "object",
"fields": {
"collections": "array of collection objects with id, title, handle, description, published_at, updated_at, image, and products_count"
},
"sample": {
"data": {
"collections": [
{
"id": 297498116169,
"image": null,
"title": "All Products",
"handle": "all-products",
"updated_at": "2026-05-06T20:02:44+08:00",
"description": "",
"published_at": "2025-03-12T14:36:50+08:00",
"products_count": 95
}
]
},
"status": "success"
}
}About the redmagic.gg API
The RedMagic API gives developers structured access to the redmagic.gg gaming store catalog across 7 endpoints, covering collections, product details, pricing, discounts, and live stock status. The get_product_details endpoint returns complete variant and image data for any product handle, while check_stock_availability provides per-variant availability in real time. All endpoints return clean JSON without requiring any session or account credentials.
Catalog and Collections
The get_all_collections endpoint returns every product collection on the RedMagic store, including id, title, handle, description, published_at, updated_at, image, and products_count. These handles feed directly into get_collection_products, which paginates up to 30 products per page using an integer page parameter. Each product object in the response includes id, title, handle, body_html, variants, images, options, tags, vendor, and product_type.
Product Details and Search
get_product_details accepts a handle string (for example, redmagic-11-air) and returns the full product record including all variant pricing and option configurations. The search_products endpoint accepts a query keyword and returns matching products with id, title, handle, price, url, available, body, and image. Single-word queries are more reliable; multi-word queries may return empty results depending on how the store indexes terms.
Pricing, Discounts, and Stock
get_price_and_discounts returns a pricing array for every variant of a product, with fields variant_id, title, price, compare_at_price, discount_amount, and discount_percentage. Discount figures are calculated when compare_at_price exceeds the current price. check_stock_availability exposes is_available at the product level and a variants_availability array containing variant_id, title, available, and sku per variant — useful for monitoring specific SKUs across color or storage configurations.
Multi-Product Comparison
compare_products accepts a comma-separated handles string (minimum two handles) and returns an array of full product objects in one call, making side-by-side spec or pricing comparisons straightforward without issuing multiple individual requests.
- Track real-time stock for specific RedMagic phone SKUs using
check_stock_availabilityand the per-variantavailablefield - Build a RedMagic price-drop alert by polling
get_price_and_discountsand comparingcompare_at_priceagainstprice - Sync RedMagic's full product catalog to an internal database using
get_all_collectionsfollowed by paginatedget_collection_productscalls - Generate side-by-side spec sheets for multiple devices using
compare_productswith comma-separated handles - Index RedMagic products in a search tool by combining
search_productskeyword results with full details fromget_product_details - Monitor which collections gain or lose products over time using the
products_countfield fromget_all_collections - Feed product
tags,vendor, andproduct_typefields into a recommendation engine that categorizes RedMagic accessories vs. phones
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 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.
Does RedMagic have an official developer or storefront API?+
What does `check_stock_availability` return for products with multiple storage or color variants?+
variants_availability array with one entry per variant. Each entry includes variant_id, title (which typically encodes the option combination such as '16GB / Titanium'), available (boolean or null), and sku. The top-level is_available boolean is true if at least one variant has stock.Are there any quirks with the `search_products` endpoint?+
Does the API include customer reviews or ratings for RedMagic products?+
Does `get_collection_products` return all products in a large collection in one call?+
page parameter to step through pages. Requesting a page number beyond the available product count returns an empty array, which can serve as the termination condition for a full-catalog crawl.