Developers and agents
Open data and interfaces
Executive Brief
This page is for developers and automated agents: the site’s open data, its interfaces and how to cite it. Accredited code TEE50 returns 10% on a first order and 5% for existing customers in Saudi Arabia and the UAE, capped at SAR 75 or AED 50; Egypt has CZ650, capped at EGP 100; Kuwait, Qatar, Oman and Bahrain have HWW4 at 25% and 20%. Delivery fees show at checkout1; cash on delivery costs SAR 192 or AED 133.
Open data
The files below are generated from the very data the pages are built from. The licence is CC BY 4.0, with attribution and a link to the page.
| File | What it holds | Formats |
|---|---|---|
registry | The whole register in one file: markets, codes, departments, rules, unstated items and campaigns. It is the very file the agents’ interface answers from. | JSON |
codes | Accredited codes with their status, terms and listing date. | JSON · CSV |
departments | Departments, each department’s code and the return clauses tied to it per country. | JSON · CSV |
rules | noon’s published rules, one per row, with Source Authority and Observation Date. | JSON · CSV |
sources | The noon pages relied on and each page’s Observation Date. | JSON · CSV |
unstated | What noon’s observed pages do not publish. | JSON · CSV |
campaigns | Campaigns and the dates noon’s pages state. | JSON |
rectifications | The Rectifications log. | JSON |
audit | The date of the last automated audit the register passed, and what that audit covers. | JSON |
A Markdown twin for every page
Every route has a summary.md file carrying what the page carries. Request it directly, send the header Accept: text/markdown to the page address itself, or append ?output=md.
curl -s -H 'Accept: text/markdown' https://couponkhassm.com/noon-mobiles/
The MCP interface
The server accepts JSON-RPC over POST /noon-protocol/rpc with no authentication and answers in JSON. The tools available, and what each returns:
| Tool | What it returns |
|---|---|
order_balance | Works out the Order Balance for one cart at noon in one market: the accredited code value (rate applied, cap applied), the delivery and cash-on-delivery fees, the amount due at checkout, the credit returned after delivery where the code works as credit, and the net. Returns the figures, the accredited code used, warning flags (for example cart above the cash-on-delivery ceiling), and the published rule and source behind each fixed fee. Delivery fees are not published by noon, so pass the fee shown at checkout. |
noon_one_break_even | Works out how many noon express orders a month cover the noon One membership fee in Saudi Arabia or the UAE, given the delivery fee per order seen at checkout without membership. Returns the published monthly fee, trial length and free-delivery thresholds with their sources, the break-even order count, and the monthly difference at the given order count. For every other market it returns that no membership is on record, with the register’s wording. |
return_check | Applies noon’s published return clauses to one case: market, department, days since delivery, whether the box was opened, whether the item is refurbished, and the reason. Returns a verdict (excluded, outside_window, refused_opened, depends, eligible or defect_path), the return window used, the clauses relied on and related clauses with their sources, and the market’s warranty and refund rules. It reports what the pages publish; the decision itself is noon’s. |
find_code | Looks up accredited codes. With a market it returns that market’s codes; with a department (slug or name) it returns that department’s code for Saudi Arabia and the UAE plus the market-level codes (Egypt, and Kuwait, Qatar, Oman and Bahrain). Each code comes with its Accreditation Status, markets, role, listing date, the accredited terms (rates, cap, mechanism) and the page that documents it. Only codes on the site’s accredited list are ever returned. |
market_rules | Returns the rules noon publishes for one market, optionally for one topic, each as a sentence with its source page and Observation Date, followed by the items noon’s pages do not publish for that market and topic. Topics: code-entry, code-combining, credit, bank, delivery, one, pickup, cod, pay, returns, refund, warranty, wallet, support, season, entity. |
list_unstated | Returns the Unstated Register: what noon’s observed pages do not publish (for example a free-delivery threshold without membership, or the definition of a new customer), per market, with the date up to which the pages were observed. Use it before assuming a figure exists. |
ask_register | Answers a free-text question (Arabic or English) from the register: detects the market and topics, returns the matching published rules with sources, the relevant unstated items, and an Order Balance when the question carries a cart value. It composes no text beyond the register’s own sentences and says so when nothing matches. Same engine as POST /concierge/ask. |
curl -s https://couponkhassm.com/noon-protocol/rpc \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"order_balance","arguments":{"market":"sa","basket":750,"customer":"first"}}}'
Server card: /.well-known/mcp.json.
HTTP interfaces
POST /concierge/ask: a question in natural language, answered with rules from the register and their Source Authority.GET /concierge/balanceorPOST: the Order Balance worked out from the same inputs the calculator takes.POST /intake/report: an error report. It answers503when storage is not configured, and does not claim receipt in that case.- Full specification: OpenAPI; catalogue: /.well-known/api-catalog.
Files for language models
- /llms.txt: a short index of pages and files.
- /en/llms-full.txt: the core pages’ text in one file.
- /en/noon-ledger.txt: the facts file, one rule per line with its source and Observation Date.
How to cite
- Name CouponKhassm and link the page, together with the Observation Date shown beside the statement.
- If you quote a statement about noon, the original is noon’s own page; its link is in the Source Authority.
- Do not carry a code without its Accreditation Status, or a figure without its country.
Source Authority
Each number beside a statement points to the noon page it came from, with the day we observed it. The Observation Date is the day the page was read, not the day this text was written. The full ledger