{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/web-tools:chompthis/get-food-branded-barcode-php":{"get":{"operationId":"web_tools_chompthis_get_food_branded_barcode_php","summary":"Get a branded food item using a barcode","description":"GET /food/branded/barcode.php","tags":["web-tools"],"parameters":[{"name":"code","in":"query","required":true,"description":"#### UPC/EAN barcode **Example** > ```&code=0842234000988```","schema":{"type":"string","description":"#### UPC/EAN barcode **Example** > ```&code=0842234000988```"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/web-tools:chompthis/get-food-branded-name-php":{"get":{"operationId":"web_tools_chompthis_get_food_branded_name_php","summary":"Get a branded food item by name","description":"GET /food/branded/name.php","tags":["web-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"#### Search for branded food items using a general food name keyword. This does not have to exactly match the \"official\" name for the…","schema":{"type":"string","description":"#### Search for branded food items using a general food name keyword. This does not have to exactly match the \"official\" name for the…"}},{"name":"limit","in":"query","required":false,"description":"#### Set maximum number of records you want the API to return. The default value is \"**10**.\" **Example** > ```&limit=10```","schema":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10],"description":"#### Set maximum number of records you want the API to return. The default value is \"**10**.\" **Example** > ```&limit=10```"}},{"name":"page","in":"query","required":false,"description":"#### This is how you paginate the search result. By default, you will see the first 10 records. You must increment the page number to…","schema":{"type":"integer","description":"#### This is how you paginate the search result. By default, you will see the first 10 records. You must increment the page number to…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/web-tools:chompthis/get-food-branded-search-php":{"get":{"operationId":"web_tools_chompthis_get_food_branded_search_php","summary":"Get data for branded food items using various search parameters","description":"GET /food/branded/search.php","tags":["web-tools"],"parameters":[{"name":"allergen","in":"query","required":false,"description":"#### Filter the search to only include branded foods that contain a specific allergen. **Example** > ```&allergen=Peanuts``` **Important…","schema":{"type":"string","description":"#### Filter the search to only include branded foods that contain a specific allergen. **Example** > ```&allergen=Peanuts``` **Important…"}},{"name":"brand","in":"query","required":false,"description":"#### Filter the search to only include branded foods that are owned by a specific brand. **Example** > ```&brand=Starbucks```","schema":{"type":"string","description":"#### Filter the search to only include branded foods that are owned by a specific brand. **Example** > ```&brand=Starbucks```"}},{"name":"category","in":"query","required":false,"description":"#### Filter the search to only include branded foods from a specific category. **Example** > ```&category=Plant Based Foods```","schema":{"type":"string","description":"#### Filter the search to only include branded foods from a specific category. **Example** > ```&category=Plant Based Foods```"}},{"name":"country","in":"query","required":false,"description":"#### Filter the search to only include branded foods that are sold in a specific country. **Example** > ```&country=United States```…","schema":{"type":"string","description":"#### Filter the search to only include branded foods that are sold in a specific country. **Example** > ```&country=United States```…"}},{"name":"diet","in":"query","required":false,"description":"#### Filter the search to only include branded foods that are considered compatible with a specific diet. **Important Note**: This…","schema":{"type":"string","enum":["Vegan","Vegetarian","Gluten Free"],"description":"#### Filter the search to only include branded foods that are considered compatible with a specific diet. **Important Note**: This…"}},{"name":"ingredient","in":"query","required":false,"description":"#### Filter the search to only include branded foods that contain a specific ingredient. **Example** > ```&ingredient=Salt```","schema":{"type":"string","description":"#### Filter the search to only include branded foods that contain a specific ingredient. **Example** > ```&ingredient=Salt```"}},{"name":"keyword","in":"query","required":false,"description":"#### Filter the search to only include branded foods that are associated with a specific keyword. **Example** > ```&keyword=Organic```…","schema":{"type":"string","description":"#### Filter the search to only include branded foods that are associated with a specific keyword. **Example** > ```&keyword=Organic```…"}},{"name":"mineral","in":"query","required":false,"description":"#### Filter the search to only include branded foods that contain a specific mineral. **Example** > ```&mineral=Potassium```","schema":{"type":"string","description":"#### Filter the search to only include branded foods that contain a specific mineral. **Example** > ```&mineral=Potassium```"}},{"name":"nutrient","in":"query","required":false,"description":"#### Filter the search to only include branded foods that contain a specific nutrient. **Example** > ```&nutrient=Caffeine``` **Important…","schema":{"type":"string","description":"#### Filter the search to only include branded foods that contain a specific nutrient. **Example** > ```&nutrient=Caffeine``` **Important…"}},{"name":"palm_oil","in":"query","required":false,"description":"#### Filter the search to only include branded foods that contain a specific ingredient made using palm oil. **Example** >…","schema":{"type":"string","description":"#### Filter the search to only include branded foods that contain a specific ingredient made using palm oil. **Example** >…"}},{"name":"trace","in":"query","required":false,"description":"### Filter the search to only include branded foods that contain a specific trace ingredient. **Example** > ```&trace=Tree Nuts```…","schema":{"type":"string","description":"### Filter the search to only include branded foods that contain a specific trace ingredient. **Example** > ```&trace=Tree Nuts```…"}},{"name":"vitamin","in":"query","required":false,"description":"#### Filter the search to only include branded foods that contain a specific vitamin. **Example** > ```&vitamin=Biotin```","schema":{"type":"string","description":"#### Filter the search to only include branded foods that contain a specific vitamin. **Example** > ```&vitamin=Biotin```"}},{"name":"limit","in":"query","required":false,"description":"#### Set maximum number of records you want the API to return. The default value is \"**10**.\" **Example** > ```&limit=10```","schema":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10],"description":"#### Set maximum number of records you want the API to return. The default value is \"**10**.\" **Example** > ```&limit=10```"}},{"name":"page","in":"query","required":false,"description":"#### This is how you paginate the search result. By default, you will see the first 10 records. You must increment the page number to…","schema":{"type":"integer","description":"#### This is how you paginate the search result. By default, you will see the first 10 records. You must increment the page number to…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/web-tools:chompthis/get-food-ingredient-search-php":{"get":{"operationId":"web_tools_chompthis_get_food_ingredient_search_php","summary":"Get raw/generic food ingredient item(s)","description":"GET /food/ingredient/search.php","tags":["web-tools"],"parameters":[{"name":"find","in":"query","required":true,"description":"Search our database for a single ingredient or a specific set of ingredients. **Example #1: Single Ingredient** > ```&find=raw broccoli```…","schema":{"type":"string","description":"Search our database for a single ingredient or a specific set of ingredients. **Example #1: Single Ingredient** > ```&find=raw broccoli```…"}},{"name":"limit","in":"query","required":false,"description":"#### Set maximum number of records you want the API to return, per search term. The default value is \"**1**.\" **Example** > ```&limit=3```","schema":{"type":"integer","enum":[1,2,3],"description":"#### Set maximum number of records you want the API to return, per search term. The default value is \"**1**.\" **Example** > ```&limit=3```"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}