ADVAITHAAT

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.

CallWhat it doesKey
GET /products?q=wax&in_stock=1Search (q, category, subcategory, brand, in_stock, min_price, max_price, sort, page, per_page)no
GET /products/{id}Product detailsno
GET /products/barcode/{ean}Find by barcodeno
GET /categoriesCategoriesno
GET /products/{id}/price?qty=240Your price for that quantity (bulk / contract / tier)catalog
POST /quotesPrice offer {product_id, price, qty | packs, note} — may be answered instantlyquotes
GET /quotesYour offersquotes
POST /cart/itemsAdd {product_id, qty, quote_id?} → cart + checkout linkcart
GET /cartCart with pricescart
DELETE /cart/items/{id}Removecart
GET /ordersYour ordersorders
GET /orders/{id}Items and trackingorders
GET /reordersWhat you usually reorder, and whenorders
GET /meYour account and keyany
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.