Ninja API reference
Track Ninja stores, products, stock, offers, and merchandising across Saudi darkstores.
The Ninja API has 7 endpoints, called the same way: POST /execute with the endpoint ID as capability and its fields as input, or pin Ninja in the MCP server and call each one as a tool. The data comes back as JSON in results[0].data, with what the call cost in billing.credits_charged.
The input most of them take is store_id. Access to Ninja is by request: contact us and we set it up for your account.
Endpoints
Open an endpoint for its input, the fields it returns and the request in cURL, Python and Node.js.
| Endpoint | What it returns | Price |
|---|---|---|
ninja.categories.list |
List the category tree for a store. | By request |
ninja.inventory.list |
Get store-scoped stock quantities and availability for up to 100 Ninja product ids. | By request |
ninja.offers.list |
List current store offers with quantities, discounts, and linked buy/offer product ids. | By request |
ninja.product.get |
Get one Ninja catalog product by stable product id, including price, discount, brand, category, unit, and image. | By request |
ninja.products.list |
List products by category and/or brand for a store, with price, discount, unit, brand, category, and image. | By request |
ninja.store.get |
Resolve the Ninja darkstore(s) serving a latitude/longitude, including delivery mode, fee, minimum order, and estimated delivery fields. | By request |
ninja.stories.list |
List current store merchandising stories with localized copy, public media, ordering, and redirect metadata. | By request |
Something missing or unclear? Ask the team that builds the Ninja endpoints.