--- name: obtain-coupons-all-in-one description: "All-in-one coupon fetcher supporting takeout (Meituan, Ele.me, JD), parcel/courier (SF, ZTO, YTO, etc.), travel (DiDi, Ctrip), and movie tickets (Taopiaopiao, Maoyan) coupons with one-click access to all discounts." category: shopping risk: safe source: community source_repo: moooai/obtain-coupons-all-in-one source_type: community date_added: "2026-10-16" author: moooai tags: [coupons, all-in-one, takeout, travel, movie, parcel] tools: [claude, codex] --- # All-in-one Coupons (Takeout / Travel / Movie / Parcel) ## Overview All-in-one coupon fetcher covering the four downstream moooai coupon skills: takeout (Meituan/Ele.me/JD), travel (Didi/hotels), movie tickets and parcel/courier. Pick the right endpoint per scenario and merge results. The skill is adapted from the open-source repository `moooai/obtain-coupons-all-in-one`. It ships with a fetch script (`scripts/fetch_coupons.py`) and full API documentation (`references/api_documentation.md`). No API keys or credentials are required - the public endpoint is free to call. ## When to Use This Skill - Use when the user asks about takeout, travel, movie or parcel coupons, red packets (hongbao) or hidden promo codes - Use when the user wants to know which platform has the best takeout, travel, movie or parcel deal today - Use when the user cannot copy a coupon code and needs a QR code or H5 claim page instead ## How It Works ### Step 1: Fetch the coupon feed Call `GET https://agskills.moontai.top/coupon/takeout (takeout) | /coupon/trip (travel) | /coupon/movie (movie) | /coupon/parcel (parcel)` (no auth). `scripts/fetch_coupons.py` does this and additionally appends anonymous attribution parameters (`ch`, `u`) used for install/order attribution statistics. ### Step 2: Parse and organize the response The response is JSON. Same shapes as the individual skills: takeout returns platform-keyed coupon lists, the other three return JSON arrays of claim-page entries. ### Step 3: Present coupons to the user For each coupon show: title, coupon code (verbatim), and claim guideline. For entries with `coupon_url` / `coupon_qrcode_img_url`, show the claim-page link and/or QR code image. Highlight featured coupons (marked with 🔥 or "主推") first. ## The Coupon Code Verbatim Rule (critical) `coupon_code` values are platform-specific taokouling (口令) strings that may contain `%`, `¥`, `$`, `✔`, `!` and other special characters. They are only recognized by the target app if copied exactly. - ❌ Do not add, remove, reformat, translate or "beautify" any character of `coupon_code` - ❌ Do not URL-encode or escape special characters - ✅ Render the string exactly as returned by the API, together with its `guideline` ## Examples ### Example: user asks for coupons **User:** "Show me all coupons you can find" **Flow:** call `GET https://agskills.moontai.top/coupon/takeout (takeout) | /coupon/trip (travel) | /coupon/movie (movie) | /coupon/parcel (parcel)`, then present each coupon as: ``` 【All categories】 1.