{
  "x402Version": 2,
  "id": 37800,
  "slug": "37800",
  "resource": "https://kitchen-pass.netlify.app/v1/how-much-to-buy",
  "description": "How much to buy: e.g. how much brisket for 120 people at 180 g cooked each. Send ingredient, portions and portion size (g, kg, lb, oz); get the weight to buy (best/mid/worst, rounded up) from head chef Cristopher's verified trim and cook-loss ranges. Add price per kg/lb and menu price ex GST/VAT for total cost, cost per portion and that ingredient's food cost %, with workings. Refused, never guessed: allergen, curing and preserving terms. Only a 200 answer is charged; refusals and 404s are free.",
  "type": "http",
  "serviceName": "Kitchen Pass Chef API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x582807F02712b4FBaa82D65b73D9B9101B7b33f4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "buyDisplay": {
            "type": "object"
          },
          "buyWeightG": {
            "type": "object"
          },
          "cost": {
            "type": [
              "object",
              "null"
            ]
          },
          "foodCostPct": {
            "type": [
              "object",
              "null"
            ]
          },
          "provenance": {
            "properties": {
              "dataVersion": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "status": {
            "type": "string"
          },
          "workings": {
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "currency": "AUD",
            "ingredient": "brisket",
            "portionSize": {
              "qty": 180,
              "unit": "g"
            },
            "portions": 120,
            "pricePerKg": 19.5,
            "sellPrice": 32
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "basis": "cooked",
            "buyDisplay": {
              "best": "38.6 kg",
              "mid": "41.3 kg",
              "worst": "44.4 kg"
            },
            "cost": {
              "perPortion": {
                "best": 6.27,
                "mid": 6.71,
                "worst": 7.2
              }
            },
            "foodCostPct": {
              "best": 19.6,
              "mid": 21,
              "worst": 22.5
            },
            "ingredient": "whole brisket",
            "neededG": 21600,
            "provenance": {
              "label": "Chef-verified by Cristopher"
            },
            "status": "ok"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "ingredient": {
                    "type": "string"
                  },
                  "portionSize": {
                    "properties": {
                      "qty": {
                        "type": "number"
                      },
                      "unit": {
                        "enum": [
                          "g",
                          "kg",
                          "lb",
                          "oz"
                        ]
                      }
                    },
                    "required": [
                      "qty",
                      "unit"
                    ],
                    "type": "object"
                  },
                  "portions": {
                    "type": "integer"
                  },
                  "pricePerKg": {
                    "type": "number"
                  },
                  "pricePerLb": {
                    "type": "number"
                  },
                  "sellPrice": {
                    "type": "number"
                  }
                },
                "required": [
                  "ingredient",
                  "portions",
                  "portionSize"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "buyDisplay": {
                    "type": "object"
                  },
                  "buyWeightG": {
                    "type": "object"
                  },
                  "cost": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "foodCostPct": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "provenance": {
                    "properties": {
                      "dataVersion": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "status": {
                    "type": "string"
                  },
                  "workings": {
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "cooking",
    "food",
    "food-cost",
    "catering",
    "meal-prep",
    "bazaar"
  ],
  "sourceHost": "kitchen-pass.netlify.app",
  "lastUpdated": "2026-10-08T10:12:47.27Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T10:12:47.024Z"
  },
  "metadata": {
    "serviceName": "Kitchen Pass Chef API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "currency": "AUD",
              "ingredient": "brisket",
              "portionSize": {
                "qty": 180,
                "unit": "g"
              },
              "portions": 120,
              "pricePerKg": 19.5,
              "sellPrice": 32
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "basis": "cooked",
              "buyDisplay": {
                "best": "38.6 kg",
                "mid": "41.3 kg",
                "worst": "44.4 kg"
              },
              "cost": {
                "perPortion": {
                  "best": 6.27,
                  "mid": 6.71,
                  "worst": 7.2
                }
              },
              "foodCostPct": {
                "best": 19.6,
                "mid": 21,
                "worst": 22.5
              },
              "ingredient": "whole brisket",
              "neededG": 21600,
              "provenance": {
                "label": "Chef-verified by Cristopher"
              },
              "status": "ok"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "currency": {
                      "type": "string"
                    },
                    "ingredient": {
                      "type": "string"
                    },
                    "portionSize": {
                      "properties": {
                        "qty": {
                          "type": "number"
                        },
                        "unit": {
                          "enum": [
                            "g",
                            "kg",
                            "lb",
                            "oz"
                          ]
                        }
                      },
                      "required": [
                        "qty",
                        "unit"
                      ],
                      "type": "object"
                    },
                    "portions": {
                      "type": "integer"
                    },
                    "pricePerKg": {
                      "type": "number"
                    },
                    "pricePerLb": {
                      "type": "number"
                    },
                    "sellPrice": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "ingredient",
                    "portions",
                    "portionSize"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "buyDisplay": {
                      "type": "object"
                    },
                    "buyWeightG": {
                      "type": "object"
                    },
                    "cost": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "foodCostPct": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "provenance": {
                      "properties": {
                        "dataVersion": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "status": {
                      "type": "string"
                    },
                    "workings": {
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "kitchen-pass.netlify.app",
    "manifest_name": "kitchen-pass.netlify.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {
      "buyDisplay": {},
      "buyWeightG": {},
      "cost": {},
      "foodCostPct": {},
      "provenance": {
        "dataVersion": "string",
        "label": "string"
      },
      "status": "string",
      "workings": [
        "value"
      ]
    },
    "type": "string"
  }
}