Rank products by unit price with savings, premium and break-even size
saylorinnovations.com/api/shopping/unit-price
Rank products by unit price with savings, premium and break-even size
GET
https://saylorinnovations.com/api/shopping/unit-priceUptime100% of 2 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/shopping/unit-price?items=Brand+A%3A4.99%3A32%3Aoz%7CBrand+B%3A7.49%3A64%3Aoz%7CStore+brand%3A3.2%3A1.5%3Alb%7CBulk+bag%3A11.5%3A5%3Alb&coupon_off=1&coupon_item=Brand+A&annual_units=600" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"items": "Brand A:4.99:32:oz|Brand B:7.49:64:oz|Store brand:3.2:1.5:lb|Bulk bag:11.5:5:lb",
"coupon_off": "1",
"coupon_item": "Brand A",
"annual_units": "600"
}