Developers & AI agents
Connect purchase software (ERP), apps and AI shopping assistants to ADVAITHAAT. Product search is open to everyone; a business buyer’s own prices, price offers, cart and orders need that buyer’s API key (My account › API keys). Orders are always confirmed and paid by the buyer on the checkout page.
1. MCP server (Claude, ChatGPT and other AI assistants)
Add this as a remote MCP server / connector:
https://advaithaat.com/api/mcp.php Without a key the assistant can search and read products. To use your account, add the header Authorization: Bearer <your key>. Tools: search_products, get_product, find_by_barcode, list_categories, get_my_price, make_price_offer, list_my_offers, add_to_cart, view_cart, list_my_orders, get_order, reorder_suggestions.
{
"mcpServers": {
"advaithaat": {
"type": "http",
"url": "https://advaithaat.com/api/mcp.php",
"headers": {
"Authorization": "Bearer adv_\u2026your key\u2026"
}
}
}
}2. REST API
Base address https://advaithaat.com/api/v1 · JSON · OpenAPI description · prices in ₹ including GST unless the response says otherwise.
| Call | What it does | Key |
|---|---|---|
GET /products?q=wax&in_stock=1 | Search (q, category, subcategory, brand, in_stock, min_price, max_price, sort, page, per_page) | no |
GET /products/{id} | Product details | no |
GET /products/barcode/{ean} | Find by barcode | no |
GET /categories | Categories | no |
GET /products/{id}/price?qty=240 | Your price for that quantity (bulk / contract / tier) | catalog |
POST /quotes | Price offer {product_id, price, qty | packs, note} — may be answered instantly | quotes |
GET /quotes | Your offers | quotes |
POST /cart/items | Add {product_id, qty, quote_id?} → cart + checkout link | cart |
GET /cart | Cart with prices | cart |
DELETE /cart/items/{id} | Remove | cart |
GET /orders | Your orders | orders |
GET /orders/{id} | Items and tracking | orders |
GET /reorders | What you usually reorder, and when | orders |
GET /me | Your account and key | any |
curl 'https://advaithaat.com/api/v1/products?q=car+wax&in_stock=1'
curl -H 'Authorization: Bearer adv_…' 'https://advaithaat.com/api/v1/products/123/price?qty=240'
curl -X POST -H 'Authorization: Bearer adv_…' -H 'Content-Type: application/json' \
-d '{"product_id":123,"packs":10,"price":92}' 'https://advaithaat.com/api/v1/quotes' Errors come back as {"error":{"code":"…","message":"…"}} with the usual HTTP status (401 key missing/invalid, 403 permission, 404, 422 invalid, 429 limit).
3. Licence check API (for software sold here)
Apps and plugins sold on ADVAITHAAT check their licence keys at https://advaithaat.com/api/license.php — no API key needed, the licence key is the credential. Actions: activate, validate, deactivate (send license_key and a stable instance id per device or site). Answers are signed with Ed25519; the public key is at ?action=pubkey. Limit: 60 calls a minute per address.
4. Limits & privacy
Without a key: 30 calls a minute per visitor. With a key: 60 a minute and 5,000 a day (headers X-RateLimit-Limit / X-RateLimit-Remaining). A key only ever sees its own account. Revoke a key any time in My account › API keys. Catalogue summary for AI crawlers: llms.txt.