乐购 API

API ID 16123

英国超市商品:搜索和分类,包含所有筛选条件、建议、商品详情及Clubcard价格和优惠、营养成分、配料和评价、优惠商品和门店

API 文档

端点

请求
不提供路径时 返回乐购的超级部门(食品杂货与日用品 服装与配饰 乐购精选 市集 婴儿与幼儿 健康与美容 宠物 家居与家具 电子产品与游戏 玩具与游戏……)以及每个超级部门下的部门。提供类别路径时 返回该类别及其 ID 名称 层级(超级部门 部门 货架通道或货架)路径和链接 其面包屑导航 以及向下两级的子类别(部门的货架通道及其货架)每项均包含其 ID 名称 层级 路径 链接和图片
Endpoint ID: 46339
GET https://zylalabs.com/api/16123/tesco+api/46339/categories
输入参数

类别 — 端点功能

对象 描述
path 可选 Optional path of a category (e.g. "groceries-and-essentials/fresh-food") or the link of a category page. Leave it out for the top of the tree.

剩余免费测试请求:3 / 3。


输入参数

path
API 示例响应
JSON
{
    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2Q=",
    "name": "Fresh Food",
    "level": "department",
    "path": "groceries-and-essentials/fresh-food",
    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food",
    "breadcrumbs": [
        {
            "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHM=",
            "name": "Groceries & Essentials",
            "level": "superDepartment",
            "path": "groceries-and-essentials",
            "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials"
        }
    ],
    "children": [
        {
            "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2Q=",
            "name": "Christmas Fresh Food",
            "level": "aisle",
            "path": "groceries-and-essentials/fresh-food/christmas-fresh-food",
            "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food",
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/e4293ff5-1099-419c-8068-2ba22e31f5d9/e6aca8c0-9251-4957-99b2-2b8ab3f506f6_871077855.jpeg?w=225",
            "children": [
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMFBhcnR5JTIwRm9vZA==",
                    "name": "Christmas Fresh Party Food",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/christmas-fresh-party-food",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/christmas-fresh-party-food",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/5809c6bd-21b3-4c97-b37d-06b3a6e035d9/b11a6ea4-af5a-4deb-9343-d7cb6df7399c_1045947866.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMFR1cmtleSUyMCYlMjBDcm93bnM=",
                    "name": "Fresh Turkey & Crowns",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-turkey-and-crowns",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-turkey-and-crowns",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/7d86b156-bcca-4818-ba2b-aa2dff2c3990/a213df79-1fd4-4fc7-b0de-64e7df0d36e7.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMEJlZWYlMjAmJTIwTGFtYg==",
                    "name": "Fresh Beef & Lamb",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-beef-and-lamb",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-beef-and-lamb",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/bb74ac72-8e0e-45a7-8754-790e4e0fe527/eab20cf1-89a1-4b1e-bdf7-19e37d6a14d2.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMENoaWNrZW4lMjAmJTIwQmlyZCUyMFJvYXN0cw==",
                    "name": "Fresh Chicken & Bird Roasts",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-chicken-and-bird-roasts",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-chicken-and-bird-roasts",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/4dcb6300-182e-4fe2-9048-7aa9ac40e4c1/f21f4ebf-ae2e-4924-aa87-56510b3eda4c.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMEZpc2glMjAmJTIwU2VhZm9vZA==",
                    "name": "Fresh Fish & Seafood",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-fish-and-seafood",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-fish-and-seafood",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/aeb2a364-80c5-440d-ab97-eb1f84259db7/80e266b5-3001-4f94-9fc1-7f2431567102.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMFBvcmslMjAmJTIwR2FtbW9u",
                    "name": "Fresh Pork & Gammon",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-pork-and-gammon",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-pork-and-gammon",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/149da6fe-25e1-4941-b0f0-5d67187c51e0/d8b56bea-ed7a-4fed-9ef2-01d8ad2f77d3.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMFZlZ2V0YXJpYW4lMjAmJTIwVmVnYW4=",
                    "name": "Fresh Vegetarian & Vegan",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-vegetarian-and-vegan",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-vegetarian-and-vegan",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/97da3288-f7b1-4950-97f3-c07063e13723/922626f9-4329-4c60-a538-ec6807dc8b83.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NGcmVzaCUyMFNpZGVzJTIwJiUyMFRyaW1taW5ncw==",
                    "name": "Fresh Sides & Trimmings",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-sides-and-trimmings",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/fresh-sides-and-trimmings",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/76165212-73e3-4b3f-8c95-91deca6c9749/e178c0ea-de9e-4546-846f-b63c026a8233.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NEZXNzZXJ0cw==",
                    "name": "Desserts",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/desserts",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/desserts",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/7e753449-11db-469a-bbb9-82f866359d65/9af54d09-da5f-45ef-8182-382c480943ca.jpeg?w=225"
                },
                {
                    "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NDaHJpc3RtYXMlMjBGcmVzaCUyMEZvb2QlN0NDb29rZWQlMjBNZWF0cywlMjBPbGl2ZXMlMjAmJTIwUGF0ZQ==",
                    "name": "Cooked Meats, Olives & Pate",
                    "level": "shelf",
                    "path": "groceries-and-essentials/fresh-food/christmas-fresh-food/cooked-meats-olives-and-pate",
                    "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/christmas-fresh-food/cooked-meats-olives-and-pate",
                    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/6843a8be-9920-40e8-a72d-dc9a98c70b79/b82cf027-ef42-446f-b6ae-51c18bc56a7c.jpeg?w=225"
                }
            ]
        }
    ]
}
类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46339/categories?path=groceries-and-essentials/fresh-food' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Tesco 类别(超级部门、部门、通道或货架)的商品,每页 24 或 48 件,使用与搜索相同的筛选条件、排序顺序和商品字段,并附带该类别及其面包屑导航
Endpoint ID: 46340
GET https://zylalabs.com/api/16123/tesco+api/46340/category+products
输入参数

类别产品 — 端点功能

对象 描述
path 必需 Path of a category (e.g. "groceries-and-essentials/fresh-food/milk-butter-and-eggs/milk") or the link of a category page. Use the /category/list endpoint to list valid values.
filters 可选 Optional filter values in the form "<filter>:<value>", as the "filter" of each value in the "filters" of the answer (e.g. "brands:Arla"); several are joined with "|" ("brands:Arla|dietaries:Vegetarian|offer:true").
sort 可选 Optional sort order: "relevance", "price_asc" or "price_desc" (defaults to "relevance").
limit 可选 Optional number of products a page: 24 or 48 (defaults to 24).
page 可选 Optional page number (defaults to 1); a list goes up to its 10,000th product.

剩余免费测试请求:3 / 3。


输入参数

path
filters
sort
limit
page
API 示例响应
JSON
{
    "category": {
        "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NNaWxrLCUyMEJ1dHRlciUyMCYlMjBFZ2dzJTdDTWlsaw==",
        "name": "Milk",
        "level": "shelf",
        "path": "groceries-and-essentials/fresh-food/milk-butter-and-eggs/milk",
        "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/milk-butter-and-eggs/milk",
        "breadcrumbs": [
            {
                "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHM=",
                "name": "Groceries & Essentials",
                "level": "superDepartment",
                "path": "groceries-and-essentials",
                "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials"
            },
            {
                "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2Q=",
                "name": "Fresh Food",
                "level": "department",
                "path": "groceries-and-essentials/fresh-food",
                "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food"
            },
            {
                "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NNaWxrLCUyMEJ1dHRlciUyMCYlMjBFZ2dz",
                "name": "Milk, Butter & Eggs",
                "level": "aisle",
                "path": "groceries-and-essentials/fresh-food/milk-butter-and-eggs",
                "link": "https://www.tesco.com/shop/en-GB/browse/groceries-and-essentials/fresh-food/milk-butter-and-eggs"
            }
        ]
    },
    "total": 67,
    "page": 1,
    "total_pages": 3,
    "limit": 24,
    "sort": "relevance",
    "sort_orders": [
        "relevance",
        "price_asc",
        "price_desc"
    ],
    "filters": [
        {
            "id": "new",
            "name": "New",
            "type": "boolean",
            "multiple": null,
            "description": null,
            "values": [
                {
                    "name": "New",
                    "value": "true",
                    "count": 1,
                    "selected": false,
                    "filter": "new:true"
                }
            ]
        },
        {
            "id": "offer",
            "name": "Special Offers",
            "type": "boolean",
            "multiple": null,
            "description": null,
            "values": [
                {
                    "name": "Special Offers",
                    "value": "true",
                    "count": 17,
                    "selected": false,
                    "filter": "offer:true"
                }
            ]
        }
    ],
    "products": [
        {
            "id": "255026297",
            "tpnb": "51000268",
            "gtin": "05018374012333",
            "title": "Tesco British Semi Skimmed Uht Milk 6 X 1 Litre",
            "brand": "TESCO",
            "price": 6.15,
            "unit_price": 1.02,
            "unit_of_measure": "litre",
            "promotions": [],
            "rating": 4.6,
            "review_count": 83,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 25,
            "average_weight": null,
            "restrictions": [],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/c7e0b487-bc09-433e-acc7-32a48737c2de/45ea46f7-2104-4557-951a-95d2ff7eaa33_456034817.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/255026297"
        },
        {
            "id": "254277997",
            "tpnb": "50435446",
            "gtin": "05000119115928",
            "title": "Tesco British Skimmed Longlife Uht Milk 1 Litre",
            "brand": "TESCO",
            "price": 1.35,
            "unit_price": 1.35,
            "unit_of_measure": "litre",
            "promotions": [],
            "rating": 4.2,
            "review_count": 76,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 25,
            "average_weight": null,
            "restrictions": [],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/c53b953f-2473-4706-9f83-bb3446169fc0/fad459c2-d17f-4ff3-8c98-48414dea4e96_946048882.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/254277997"
        },
        {
            "id": "254278040",
            "tpnb": "50435475",
            "gtin": "05000119115904",
            "title": "Tesco British Semi Skimmed Longlife Uht Milk 1 Litre",
            "brand": "TESCO",
            "price": 1.35,
            "unit_price": 1.35,
            "unit_of_measure": "litre",
            "promotions": [],
            "rating": 4.6,
            "review_count": 94,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 16,
            "average_weight": null,
            "restrictions": [],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/e0f951d6-6339-4261-b8a4-da45d66abde6/b734f1c8-e0da-4dfe-ada0-b93ac9999692_774127112.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/254278040"
        }
    ]
}
类别产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46340/category+products?path=groceries-and-essentials/fresh-food/milk-butter-and-eggs/milk&sort=relevance&limit=24&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一款 Tesco 商品:id、TPNB、GTIN、标题、品牌、描述、价格、单位价格、押金和费用、优惠(Clubcard 价格和其他促销及其日期)、库存状态、批量购买限额、重量、限制、超级部门、部门、货架通道和货架及其 id、徽章和图标、保质期、Marketplace 卖家及其配送选项和退货政策、包装的所有详细信息(配料、过敏原、营养成分表、包装规格、净含量、储存方式、准备和烹饪说明、营销文案、规格、警告、酒精和回收信息、能效标签……)、制造商和退货地址、商品变体、含星级细分的评分统计、最新的 10 条评论、图片、视频和链接
Endpoint ID: 46341
GET https://zylalabs.com/api/16123/tesco+api/46341/product+details
输入参数

产品详情 — 端点功能

对象 描述
product_id 必需 Tesco product id (e.g. "254656543") or a product link. Use the /search or /category/products endpoints to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
API 示例响应
JSON
{
    "id": "254656543",
    "tpnb": "54550994",
    "base_product_id": "54550994",
    "gtin": "05000436589457",
    "title": "Tesco British Semi Skimmed Milk 2.272L, 4 Pints",
    "brand": "TESCO",
    "description": [
        "Pasteurised homogenised semi skimmed milk."
    ],
    "price": 1.75,
    "unit_price": 0.77,
    "unit_of_measure": "litre",
    "deposit_amount": null,
    "charges": [],
    "promotions": [],
    "status": "AvailableForSale",
    "is_for_sale": true,
    "unavailability_reasons": [],
    "is_new": false,
    "product_type": "SingleProduct",
    "display_type": "Quantity",
    "bulk_buy_limit": 16,
    "bulk_buy_limit_message": "You have reached the maximum quantity of 16 for this item.",
    "average_weight": null,
    "min_weight": null,
    "max_weight": null,
    "catch_weights": [],
    "multipack": null,
    "restrictions": [],
    "categories": {
        "super_department": {
            "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHM=",
            "name": "Groceries & Essentials"
        },
        "department": {
            "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2Q=",
            "name": "Fresh Food"
        },
        "aisle": {
            "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NNaWxrLCUyMEJ1dHRlciUyMCYlMjBFZ2dz",
            "name": "Milk, Butter & Eggs"
        },
        "shelf": {
            "id": "b;R3JvY2VyaWVzJTIwJiUyMEVzc2VudGlhbHMlN0NGcmVzaCUyMEZvb2QlN0NNaWxrLCUyMEJ1dHRlciUyMCYlMjBFZ2dzJTdDTWlsaw==",
            "name": "Milk"
        }
    },
    "badges": [],
    "icons": [
        {
            "id": "Union Flag",
            "caption": "Union Flag"
        },
        {
            "id": "Red Tractor - Milk",
            "caption": "Red Tractor - Milk"
        },
        {
            "id": "St. George Flag (England)",
            "caption": "St. George Flag (England)"
        },
        {
            "id": "St Andrew Flag (Scotland)",
            "caption": "St Andrew Flag (Scotland)"
        },
        {
            "id": "Welsh Flag (Dragon)",
            "caption": "Welsh Flag (Dragon)"
        },
        {
            "id": "Suitable for Vegetarians",
            "caption": "Suitable for Vegetarians"
        }
    ],
    "food_icons": [
        "Suitable for Vegetarians"
    ],
    "shelf_life": null,
    "marketplace": false,
    "seller": null,
    "seller_count": 1,
    "delivery": [],
    "returns": [],
    "details": {
        "pack_size": [
            {
                "value": "2.272",
                "units": "L"
            }
        ],
        "storage": [
            "Keep refrigerated. Once opened, best within 5 days. Keep upright."
        ],
        "nutrition": [
            {
                "name": "Typical Values",
                "value1": "Per 100ml",
                "value2": "Per 200ml",
                "value3": "%RI*",
                "value4": "RI*"
            },
            {
                "name": "Energy",
                "value1": "209kJ / 50kcal",
                "value2": "419kJ / 100kcal",
                "value3": "5%",
                "value4": "8400kJ / 2000kcal"
            },
            {
                "name": "Fat",
                "value1": "1.8g",
                "value2": "3.6g",
                "value3": "5%",
                "value4": "70g"
            },
            {
                "name": "Saturates",
                "value1": "1.1g",
                "value2": "2.2g",
                "value3": "11%",
                "value4": "20g"
            },
            {
                "name": "Carbohydrate",
                "value1": "4.8g",
                "value2": "9.6g",
                "value3": "4%",
                "value4": "260g"
            },
            {
                "name": "Sugars",
                "value1": "4.8g",
                "value2": "9.6g",
                "value3": "11%",
                "value4": "90g"
            },
            {
                "name": "Fibre",
                "value1": "0g",
                "value2": "0g"
            }
        ],
        "guideline_daily_amount": {
            "title": "Per 200ml",
            "daily_amounts": [
                {
                    "name": "Energy",
                    "value": "419kJ 100kcal",
                    "percent": "5",
                    "rating": "-"
                },
                {
                    "name": "Fat",
                    "value": "3.6g",
                    "percent": "5",
                    "rating": "MEDIUM"
                },
                {
                    "name": "Saturates",
                    "value": "2.2g",
                    "percent": "11",
                    "rating": "MEDIUM"
                },
                {
                    "name": "Sugars",
                    "value": "9.6g",
                    "percent": "11",
                    "rating": "MEDIUM"
                },
                {
                    "name": "Salt",
                    "value": "0.22g",
                    "percent": "4",
                    "rating": "LOW"
                }
            ]
        },
        "number_of_uses": "approx. 11 Servings",
        "product_marketing": [
            "WE PROMISE Farmers in our sustainable dairy group are paid fairly for every pint of milk Every pint is 100% British Every cow is well cared for For more information on our British Farmers, please go to: www.tescoplc.com/sustainability/planet/farming agriculture/tesco sustainable dairy group/",
            "MILK FROM BRITISH FARMS FAIR PRICE FOR OUR BRITISH FARMERS"
        ],
        "net_contents": "2.272L e / 4 pints",
        "recycling_info": "Bottle. Recycle",
        "origin_information": [
            {
                "title": "Produce of",
                "value": "Produced in the U.K., using milk from the U.K."
            }
        ],
        "components": [
            {
                "is_low_everyday_pricing": false,
                "is_low_price_promise": false
            }
        ]
    },
    "manufacturer_address": [],
    "distributor_address": null,
    "importer_address": null,
    "return_address": [
        "Tesco Stores Ltd.",
        "Welwyn Garden City AL7 1GA",
        "U.K. Freephone 0800 50 55 55 www.tesco.com",
        "Tesco Ireland Ltd.",
        "Gresham House",
        "Marine Road",
        "Dun Laoghaire",
        "Co. Dublin. Freephone 1800 248 123 www.tesco.ie"
    ],
    "variations": [],
    "rating_statistics": {
        "count": 718,
        "average": 4,
        "distribution": {
            "5": 431,
            "4": 87,
            "3": 66,
            "2": 50,
            "1": 84
        }
    },
    "reviews": [
        {
            "id": "trn:tesco:ugc:rnr:uuid:2a06793a-6851-4379-ac07-3f7f47a2da04",
            "rating": 1,
            "title": "Short dated",
            "text": "Always short dated",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-29T21:07:22.771Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:1068044f-d54d-475a-adf6-bea8447bd36e",
            "rating": 3,
            "title": "Seals have changed",
            "text": "The foil on top seals have become hard to remove, often tabs tear off, leaving bottle hard to open.",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-15T14:31:36.246Z",
            "images": []
        }
    ],
    "images": [
        "https://digitalcontent.api.tesco.com/v2/media/ghs/07531d6d-8bf2-41b5-a5ad-e2ae0a71f2b3/17233543-2c5b-4a06-a0ab-cfdbddcd488e_2028878860.jpeg"
    ],
    "videos": [],
    "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/07531d6d-8bf2-41b5-a5ad-e2ae0a71f2b3/17233543-2c5b-4a06-a0ab-cfdbddcd488e_2028878860.jpeg",
    "link": "https://www.tesco.com/shop/en-GB/products/254656543"
}
产品详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46341/product+details?product_id=254656543' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Tesco 商品的客户评价,按最新优先排序,每页最多 100 条:每条评价包含其 ID、评分、标题、文本、作者、已验证买家、推广、试用和联合发布标记、联合发布来源、日期和照片,以及商品的 ID、TPNB 和标题、总数、页数和包含星级细分的评分统计数据
Endpoint ID: 46342
GET https://zylalabs.com/api/16123/tesco+api/46342/product+reviews
输入参数

产品评价 — 端点功能

对象 描述
product_id 必需 Tesco product id (e.g. "254656543") or a product link. Use the /search or /category/products endpoints to list valid values.
limit 可选 Optional number of reviews a page, 1 to 100 (defaults to 20).
page 可选 Optional page number (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

product_id
limit
page
API 示例响应
JSON
{
    "product_id": "254656543",
    "tpnb": "54550994",
    "title": "Tesco British Semi Skimmed Milk 2.272L, 4 Pints",
    "total": 718,
    "page": 1,
    "pages": 36,
    "limit": 20,
    "rating_statistics": {
        "count": 718,
        "average": 4,
        "distribution": {
            "5": 431,
            "4": 87,
            "3": 66,
            "2": 50,
            "1": 84
        }
    },
    "reviews": [
        {
            "id": "trn:tesco:ugc:rnr:uuid:2a06793a-6851-4379-ac07-3f7f47a2da04",
            "rating": 1,
            "title": "Short dated",
            "text": "Always short dated",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-29T21:07:22.771Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:1068044f-d54d-475a-adf6-bea8447bd36e",
            "rating": 3,
            "title": "Seals have changed",
            "text": "The foil on top seals have become hard to remove, often tabs tear off, leaving bottle hard to open.",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-15T14:31:36.246Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:89be8ed1-910c-48fd-8688-d2cd87dcaff6",
            "rating": 5,
            "title": "Like this",
            "text": "Like this size of milk carton.  Keeps fresh until sell by date",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-11T19:38:51.886Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:b97fe57c-3bdb-40ee-ada8-0e7d781e8c83",
            "rating": 5,
            "title": "Tesco has the best semi skimmed milk",
            "text": "Great value, I have tried milk from different supermarkets but Tesco one is the best, I will only get my milk from here as it stays fresh",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-10T19:39:30.284Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:4a5f8dee-5fff-485a-b206-b0829c0ca007",
            "rating": 3,
            "title": "Sort the seals",
            "text": "The sealed lids need sorted because they never come off completely ☹️👎",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-06T18:57:59.679Z",
            "images": [
                "https://digitalcontent.api.tesco.com/v2/media/ugc/8a5ffa8c-2f0f-403d-8539-3b09b861876a/1793991459188-1.jpeg",
                "https://digitalcontent.api.tesco.com/v2/media/ugc/6893d31e-de87-4513-9557-a2d12fd01c57/1793991459188-2.jpeg",
                "https://digitalcontent.api.tesco.com/v2/media/ugc/bfd8946c-cec6-4c90-913d-181bf4876899/1793991459188-0.jpeg"
            ]
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:4fccdf97-873f-43f3-8563-0a0aa416a214",
            "rating": 5,
            "title": "Milk",
            "text": "I like it in my tea",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-02T20:16:04.460Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:ad9f9bcf-3c1c-4581-9f8c-61a98616860e",
            "rating": 5,
            "title": "Stays fresh",
            "text": "Good product doesn't go off before date",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-11-01T21:24:06.912Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:4972284a-0f4f-49f0-8e27-4fe19a8abfb9",
            "rating": 5,
            "title": "stored wel",
            "text": "stored well before going to shop floor as never goes off not like lidl sainsbury's & asda, priced same as other stores too...",
            "author": null,
            "verified_buyer": true,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-10-31T11:05:56.073Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:e4a6d230-e67d-4b23-b0c4-b82ae6a56896",
            "rating": 1,
            "title": "Not good  milk",
            "text": "Went off before  sell by date",
            "author": null,
            "verified_buyer": true,
            "promotional": true,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-10-28T18:31:02.687Z",
            "images": []
        },
        {
            "id": "trn:tesco:ugc:rnr:uuid:7b87dbf4-7b5a-49aa-8bd0-b6dc7ce951f5",
            "rating": 5,
            "title": "QA canary 5b7e media",
            "text": "QA canary 5b7e plain text, media attachment content-type check, automated test to be removed.",
            "author": null,
            "verified_buyer": false,
            "promotional": false,
            "sampled": false,
            "syndicated": false,
            "syndication_source": null,
            "submitted_at": "2026-10-27T06:56:32.634Z",
            "images": []
        }
    ],
    "link": "https://www.tesco.com/shop/en-GB/products/254656543"
}
产品评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46342/product+reviews?product_id=254656543&limit=20&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回特易购优惠中的商品(Clubcard 会员价、如“任意 2 件 £3”的多件优惠等),以及优惠描述和日期;如果没有指定优惠,则返回特易购所有促销商品;每页 24 或 48 件商品,提供三种排序方式,商品字段与搜索结果相同
Endpoint ID: 46343
GET https://zylalabs.com/api/16123/tesco+api/46343/promotion+products
输入参数

促销产品 — 端点功能

对象 描述
promotion_id 可选 Optional id of a Tesco offer (e.g. "104600712") or an offer link, as the "id" of the "promotions" of a product. Leave it out for every product on offer.
sort 可选 Optional sort order: "relevance", "price_asc" or "price_desc" (defaults to "relevance").
limit 可选 Optional number of products a page: 24 or 48 (defaults to 24).
page 可选 Optional page number (defaults to 1); a list goes up to its 10,000th product.

剩余免费测试请求:3 / 3。


输入参数

promotion_id
sort
limit
page
API 示例响应
JSON
{
    "promotion": {
        "id": "104600712",
        "description": "Any 2 for £3 Clubcard Price - Selected Skimmed Milk",
        "type": null,
        "clubcard_price": true,
        "attributes": [
            "CLUBCARD_PRICING"
        ],
        "start_date": "2026-11-18T00:00:00Z",
        "end_date": "2027-01-01T00:00:00Z",
        "price": null,
        "unit_selling_info": "£1.50/litre",
        "link": "https://www.tesco.com/shop/en-GB/promotions/104600712"
    },
    "total": 3,
    "page": 1,
    "total_pages": 1,
    "limit": 24,
    "sort": "relevance",
    "products": [
        {
            "id": "260086626",
            "tpnb": "58795507",
            "gtin": "05000181024029",
            "title": "Cravendale Filtered Fresh Semi Skimmed Milk 1L Fresher for Longer",
            "brand": "CRAVENDALE",
            "price": 1.75,
            "unit_price": 1.75,
            "unit_of_measure": "litre",
            "promotions": [
                {
                    "id": "104600712",
                    "description": "Any 2 for £3 Clubcard Price - Selected Skimmed Milk",
                    "type": null,
                    "clubcard_price": true,
                    "attributes": [
                        "CLUBCARD_PRICING"
                    ],
                    "start_date": "2026-11-18T00:00:00Z",
                    "end_date": "2027-01-01T00:00:00Z",
                    "price": null,
                    "unit_selling_info": "£1.50/litre",
                    "link": "https://www.tesco.com/shop/en-GB/promotions/104600712"
                }
            ],
            "rating": 4.7,
            "review_count": 183,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 25,
            "average_weight": null,
            "restrictions": [
                {
                    "type": "RdgDateRange",
                    "is_violated": false,
                    "message": "Online only offer - Buy Selected Skimmed Milk 2 for 3.00 Clubcard Price. Offer valid between 18/11 and 31/12 Subject to availability"
                }
            ],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/37f6e610-fa45-4cd9-a975-0288c57a5508/48207e5a-147e-4585-ab7a-fbcafab6696f.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/260086626"
        },
        {
            "id": "276606921",
            "tpnb": "73268378",
            "gtin": "05000181024036",
            "title": "Cravendale Filtered Fresh Whole Milk 1L Fresher for Longer",
            "brand": "CRAVENDALE",
            "price": 1.75,
            "unit_price": 1.75,
            "unit_of_measure": "litre",
            "promotions": [
                {
                    "id": "104600712",
                    "description": "Any 2 for £3 Clubcard Price - Selected Skimmed Milk",
                    "type": null,
                    "clubcard_price": true,
                    "attributes": [
                        "CLUBCARD_PRICING"
                    ],
                    "start_date": "2026-11-18T00:00:00Z",
                    "end_date": "2027-01-01T00:00:00Z",
                    "price": null,
                    "unit_selling_info": "£1.50/litre",
                    "link": "https://www.tesco.com/shop/en-GB/promotions/104600712"
                }
            ],
            "rating": 4.7,
            "review_count": 190,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 16,
            "average_weight": null,
            "restrictions": [
                {
                    "type": "RdgDateRange",
                    "is_violated": false,
                    "message": "Online only offer - Buy Selected Skimmed Milk 2 for 3.00 Clubcard Price. Offer valid between 18/11 and 31/12 Subject to availability"
                }
            ],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/822fb54d-0688-4d98-8c69-00a4469ce25f/189c609f-3eb1-4dfd-aa7d-8b1fa5e1a0f5.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/276606921"
        },
        {
            "id": "320990242",
            "tpnb": "96400960",
            "gtin": "05000246729623",
            "title": "Arla BOB Skimmed Milk 1L Tastes like Semi Skimmed",
            "brand": "Arla",
            "price": 1.75,
            "unit_price": 1.75,
            "unit_of_measure": "litre",
            "promotions": [
                {
                    "id": "104600712",
                    "description": "Any 2 for £3 Clubcard Price - Selected Skimmed Milk",
                    "type": null,
                    "clubcard_price": true,
                    "attributes": [
                        "CLUBCARD_PRICING"
                    ],
                    "start_date": "2026-11-18T00:00:00Z",
                    "end_date": "2027-01-01T00:00:00Z",
                    "price": null,
                    "unit_selling_info": "£1.50/litre",
                    "link": "https://www.tesco.com/shop/en-GB/promotions/104600712"
                }
            ],
            "rating": 4.7,
            "review_count": 50,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 99,
            "average_weight": null,
            "restrictions": [
                {
                    "type": "RdgDateRange",
                    "is_violated": false,
                    "message": "Online only offer - Buy Selected Skimmed Milk 2 for 3.00 Clubcard Price. Offer valid between 18/11 and 31/12 Subject to availability"
                }
            ],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/1ffbdd8f-79f9-40ad-84c1-b3b62558e35a/d67b8bda-25d7-4dd3-bd25-17c73d8e7088.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/320990242"
        }
    ]
}
促销产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46343/promotion+products?promotion_id=104600712&sort=relevance&limit=24&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
搜索Tesco的商品(杂货、Tesco Finest、F&F服装、Marketplace以及tesco.com的日用百货),每页24或48个商品,并支持筛选和排序。每个商品都包含其ID、TPNB、GTIN、标题、品牌、价格、单价和计量单位、优惠(Clubcard价格及其他促销活动和日期)、评分和评论数、供应状态、新品标记、批量购买限额、限制、超市部门、部门、货架区和货架、是否为Marketplace商品及其卖家、Marketplace配送日期和费用、款式、图片和链接。答案还会提供总数、页数、修正后的搜索文本、排序方式以及结果中的所有筛选项(新品、优惠、Tesco或Marketplace、类别、品牌、生活方式与饮食、商品类型),并列出每个筛选值、对应的商品数量以及该值所采用的"filters"值
Endpoint ID: 46344
GET https://zylalabs.com/api/16123/tesco+api/46344/search+products
输入参数

搜索产品 — 端点功能

对象 描述
query 必需 Search text (e.g. "milk").
filters 可选 Optional filter values in the form "<filter>:<value>", as the "filter" of each value in the "filters" of the answer (e.g. "brands:Arla"); several are joined with "|" ("brands:Arla|brands:Cravendale|dietaries:Vegetarian|offer:true"). Values of one filter widen the results, values of different filters narrow them.
sort 可选 Optional sort order: "relevance", "price_asc" or "price_desc" (defaults to "relevance").
limit 可选 Optional number of products a page: 24 or 48 (defaults to 24).
page 可选 Optional page number (defaults to 1); a list goes up to its 10,000th product.

剩余免费测试请求:3 / 3。


输入参数

query
filters
sort
limit
page
API 示例响应
JSON
{
    "query": "milk",
    "corrected_query": null,
    "total": 467,
    "page": 1,
    "total_pages": 20,
    "limit": 24,
    "sort": "relevance",
    "sort_orders": [
        "relevance",
        "price_asc",
        "price_desc"
    ],
    "filters": [
        {
            "id": "new",
            "name": "New",
            "type": "boolean",
            "multiple": null,
            "description": null,
            "values": [
                {
                    "name": "New",
                    "value": "true",
                    "count": 34,
                    "selected": false,
                    "filter": "new:true"
                }
            ]
        },
        {
            "id": "offer",
            "name": "Special Offers",
            "type": "boolean",
            "multiple": null,
            "description": null,
            "values": [
                {
                    "name": "Special Offers",
                    "value": "true",
                    "count": 138,
                    "selected": false,
                    "filter": "offer:true"
                }
            ]
        },
        {
            "id": "productSource",
            "name": "Tesco and Marketplace",
            "type": "list",
            "multiple": true,
            "description": "Marketplace products are sold and sent by our partners and don't come in your grocery order.",
            "values": [
                {
                    "name": "Tesco",
                    "value": "tesco",
                    "count": 362,
                    "selected": false,
                    "filter": "productSource:tesco"
                },
                {
                    "name": "Marketplace",
                    "value": "marketplace",
                    "count": 105,
                    "selected": false,
                    "filter": "productSource:marketplace"
                }
            ]
        }
    ],
    "products": [
        {
            "id": "254656543",
            "tpnb": "54550994",
            "gtin": "05000436589457",
            "title": "Tesco British Semi Skimmed Milk 2.272L, 4 Pints",
            "brand": "TESCO",
            "price": 1.75,
            "unit_price": 0.77,
            "unit_of_measure": "litre",
            "promotions": [],
            "rating": 4,
            "review_count": 718,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 16,
            "average_weight": null,
            "restrictions": [],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/07531d6d-8bf2-41b5-a5ad-e2ae0a71f2b3/17233543-2c5b-4a06-a0ab-cfdbddcd488e_2028878860.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/254656543"
        },
        {
            "id": "254656399",
            "tpnb": "54550913",
            "gtin": "05000436589341",
            "title": "Tesco British Whole Milk 2.272L, 4 Pints",
            "brand": "TESCO",
            "price": 1.75,
            "unit_price": 0.77,
            "unit_of_measure": "litre",
            "promotions": [],
            "rating": 3.7,
            "review_count": 212,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 16,
            "average_weight": null,
            "restrictions": [],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/15b6b16b-0a96-45e1-a644-320962c71594/ade2b509-b8ba-451c-9d6c-807ee202fe98_1802350944.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/254656399"
        },
        {
            "id": "252207537",
            "tpnb": "54169392",
            "gtin": "05000436338826",
            "title": "Tesco British Semi Skimmed Milk 1.13L, 2 Pints",
            "brand": "TESCO",
            "price": 1.3,
            "unit_price": 1.15,
            "unit_of_measure": "litre",
            "promotions": [],
            "rating": 4.3,
            "review_count": 298,
            "status": "AvailableForSale",
            "is_for_sale": true,
            "is_new": false,
            "product_type": "SingleProduct",
            "bulk_buy_limit": 16,
            "average_weight": null,
            "restrictions": [],
            "super_department": "Groceries & Essentials",
            "department": "Fresh Food",
            "aisle": "Milk, Butter & Eggs",
            "shelf": "Milk",
            "marketplace": false,
            "seller_id": null,
            "delivery": [],
            "variations": [],
            "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/8bb67050-c132-4326-97f2-04be9fdce6c9/93e23843-fc27-4cb7-9448-9820e01e8281_798947363.jpeg",
            "link": "https://www.tesco.com/shop/en-GB/products/252207537"
        }
    ]
}
搜索产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46344/search+products?query=milk&sort=relevance&limit=24&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回最多 10 条 Tesco 搜索建议,内容取决于目前输入的文本,与 Tesco 搜索框显示的建议相同(例如,“chees”会显示“cheese”“grated cheese”“cream cheese”…);每条建议都是 /search 端点的一个“query”值】【。
Endpoint ID: 46345
GET https://zylalabs.com/api/16123/tesco+api/46345/search+suggestions
输入参数

搜索建议 — 端点功能

对象 描述
query 必需 Text typed so far (e.g. "chees").

剩余免费测试请求:3 / 3。


输入参数

query
API 示例响应
JSON
{
    "query": "chees",
    "suggestions": [
        "cheese",
        "grated cheese",
        "cream cheese",
        "cottage cheese",
        "cheese slices",
        "cheese string",
        "macaroni cheese",
        "cauliflower cheese",
        "cheese sauce",
        "cheesecake"
    ]
}
搜索建议 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46345/search+suggestions?query=chees' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回距离英国邮政编码 城镇或地点最近的乐购门店(Extra Superstore Metro Express Esso Express……) 按距离由近到远排列 每家门店包含其编号 门店号码 名称 门店类型 营业状态 通知 距离(英里和公里) 地址 坐标 电话 是否全天24小时营业 每周和节假日营业时间 较安静时段 设施 无障碍服务 服务 食品品类 开业日期 描述 Google地点编号和链接
Endpoint ID: 46346
GET https://zylalabs.com/api/16123/tesco+api/46346/nearby+stores
输入参数

附近的商店 — 端点功能

对象 描述
location 必需 UK postcode (e.g. "M1 1AA" or "LS1") or a town or place ("Leeds").
limit 可选 Optional number of stores a page, 1 to 50 (defaults to 10).
page 可选 Optional page number (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

location
limit
page
API 示例响应
JSON
{
    "location": "M1 1AA",
    "total": 150,
    "page": 1,
    "limit": 10,
    "stores": [
        {
            "id": "e44196d0-11a2-4ed1-93fb-82ae0b3c7631",
            "store_number": "2300",
            "name": "Manchester New Sq Express",
            "brand": "Tesco Express",
            "formats": [
                "Express"
            ],
            "trading_status": "Trading",
            "closed": false,
            "notice": null,
            "distance_miles": 0.14,
            "distance_km": 0.23,
            "address": {
                "lines": [
                    "Whitworth Street"
                ],
                "city": "Manchester",
                "region": null,
                "postcode": "M1 3NY",
                "country": "GB"
            },
            "latitude": 53.4756725,
            "longitude": -2.2380311,
            "phone": "0333 345 0627",
            "open_24_hours": false,
            "opening_hours": {
                "regular": [
                    {
                        "day": "monday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "day": "tuesday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "day": "wednesday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "day": "thursday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "day": "friday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "day": "saturday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "day": "sunday",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    }
                ],
                "holidays": [
                    {
                        "date": "20261221",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261222",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261223",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261224",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "22:00"
                            }
                        ]
                    },
                    {
                        "date": "20261225",
                        "closed": true,
                        "intervals": []
                    },
                    {
                        "date": "20261226",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "09:00",
                                "close": "19:00"
                            }
                        ]
                    },
                    {
                        "date": "20261227",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261228",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261229",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261230",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20261231",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "22:00"
                            }
                        ]
                    },
                    {
                        "date": "20270101",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "08:00",
                                "close": "22:00"
                            }
                        ]
                    },
                    {
                        "date": "20270102",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    },
                    {
                        "date": "20270103",
                        "closed": false,
                        "intervals": [
                            {
                                "open": "06:00",
                                "close": "23:00"
                            }
                        ]
                    }
                ]
            },
            "quieter_hours": [],
            "facilities": [
                "Sells gift cards"
            ],
            "accessibility": [],
            "services": [
                "Defibrilator",
                "Evidence of disability awareness and equality staff training has been provided.",
                "Induction loop",
                "National Lottery",
                "Car Parking Available",
                "Gift cards",
                "Costa Coffee"
            ],
            "food_ranges": [],
            "opened": "2024-02-23",
            "description": "Tesco offer a wide range of groceries and household goods. Stores are open 7 days a week and friendly staff are always happy to help. Don’t forget, you can earn Clubcard points when you shop with us.",
            "google_place_id": "ChIJaZZdQACxe0gR8WlSRy0H1Fo",
            "link": "https://www.tesco.com/store-locator/manchester/whitworth-street"
        }
    ]
}
附近的商店 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16123/tesco+api/46346/nearby+stores?location=M1 1AA&limit=10&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 乐购 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

英国超市商品:搜索和分类,包含所有筛选条件、建议、商品详情(含Clubcard价格和优惠)、营养信息、配料和评价、优惠商品和门店

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API