Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Basket API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fswaggerhub.jbhifi%2Fbasket-api" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fswaggerhub.jbhifi%2Fbasket-api" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Basket API.
Get all fulfilment options for a SKU / basket of SKUs
Retrieve previously calculated basket prices by Id
Integrate Basket API into automated workflows
Query and filter Basket API records by parameters
GET STARTED
For Agents
Programmatically get all fulfilment options for a sku / basket of skus, retrieve previously calculated basket prices by id. Covers 2 operations with apiKey authentication.
Use for: I need to all fulfilment options for a sku / basket of skus, I want to previously calculated basket prices by id, Get the current status of Basket API resources, List all records from Basket API
Not supported: Does not handle payments, communications, or crm - use for e-commerce only.
Receive a basket of goods, coupon codes and fulfillment options and retrieves fulfilment options, applies basket level promotions and any supplied coupon codes then returns the basket and fulfilment option details. The API exposes 2 endpoints secured with apiKey authentication.
Monitor Basket API operational status and events
Patterns agents use Basket API for, with concrete tasks.
★ E-Commerce Operations
Use the Basket API to perform e commerce operations programmatically. The API provides 2 endpoints covering core functionality including get all fulfilment options for a sku / basket of skus, retrieve previously calculated basket prices by id.
Call POST /Basket/Api/CalculatePrices to get all fulfilment options for a sku / basket of skus
Data Retrieval and Monitoring
Query Basket API resources on a schedule to track changes, generate alerts, or feed downstream dashboards. Agents poll relevant endpoints, compare against previous state, and trigger actions when thresholds are crossed.
Poll the primary Basket API endpoint, compare response to last known state, and alert if changed
AI Agent Integration via Jentic
AI agents discover and call Basket API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.
Search Jentic for 'get all fulfilment options for a sku / basket of skus', load the operation schema, and execute with Jentic-managed credentials
2 endpoints — receive a basket of goods, coupon codes and fulfillment options and retrieves fulfilment options, applies basket level promotions and any supplied coupon codes then returns the basket and fulfilment option details.
METHOD
PATH
DESCRIPTION
/Basket/Api/CalculatePrices
Get all fulfilment options for a SKU / basket of SKUs
/Basket/Api/CalculatedPrices/{CalculatedBasketId}
Retrieve previously calculated basket prices by Id
/Basket/Api/CalculatePrices
Get all fulfilment options for a SKU / basket of SKUs
/Basket/Api/CalculatedPrices/{CalculatedBasketId}
Retrieve previously calculated basket prices by Id
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Basket API by hand means reading its spec, setting the x-api-key header on the price requests, and handling request formatting and retries yourself. Through Jentic you install once, import Basket from the API Directory, store the key once, and your agent calls it.
Permission scoping
Basket puts the calculated basket id in the URL path for retrieval (the calculated-prices path), so a rule can pin your agent to reading one calculated basket. You choose the operations it may call, so the price-calculation POST is only in the allowed set if you add it.
Credential isolation
Your Basket API x-api-key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'calculate prices for a basket of SKUs', and Jentic returns the matching Basket operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Stripe
Alternative e commerce API
Choose Stripe when you need a different approach to e commerce operations
Specific to using Basket API through Jentic.
What authentication does the Basket API use?
The Basket API uses an API key passed in the `x-api-key` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I get all fulfilment options for a sku / basket of skus with the Basket API?
Yes. Use the POST /Basket/Api/CalculatePrices endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Basket API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I get all fulfilment options for a sku / basket of skus through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get all fulfilment options for a sku / basket of skus'. Jentic returns the matching Basket API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the Basket API have?
The Basket API exposes 2 endpoints covering basket operations.