Brine Salt
by Cooking Calculators in Other
Brine math: salt grams for a target strength, or the strength of a brine, with table and kosher salt spoon amounts.
https://cooking-calc.x402tookit.com/brine-salt- Price
- $0.02
- per call in USDC
- Uptime
- 64.7%
- last 30 days
- Response time
- 532 ms
- 1.0 s slowest 5%
- Last check
- Passed
- 9 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://cooking-calc.x402tookit.com/brine-salt
Each call costs $0.02 in USDC on Polygon, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://cooking-calc.x402tookit.com/brine-salt?basis=solution&percent=5&waterG=1000Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
basis | string | No | solution (default: salt / (salt + water)) or water (salt / water) |
percent | number | No | Target salt strength in percent, 0.1 to 26 (give this or saltG) |
saltG | number | No | Or the salt you have in grams, to get the strength |
waterG | number | Yes | Water in grams (1 mL of water weighs 1 g), 1 to 1e6 |
Example response
The provider's example. We can't check it without paying.
Example response, 41 lines
{
"asOf": "2026-10-11T14:26:08.214Z",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"notChecked": [
"food safety of curing: nitrite curing, botulism risk and safe times are not covered (use tested curing recipes)",
"salt that sticks to or is absorbed by the food: the brine weakens as it brines",
"…2 more"
],
"percentOfSolution": 5,
"percentOfWater": 5.2632,
"reasons": [
"Percent of solution = salt / (salt + water). Percent of water = salt / water. Recipes differ on which they mean, so check.",
"Common ranges: pasta water 1 to 2%, vegetable and sauerkraut ferments 2 to 3%, wet poultry or pork brines 5 to 8%, seawater about 3.5%, dry brine 0.75 to 1.5% of the meat's weight."
],
"saltG": 52.6316,
"source": "computed locally",
"spoonEquivalents": {
"diamond crystal kosher": {
"tablespoons": 6.27,
"teaspoons": 18.8
},
"morton kosher": {
"tablespoons": 3.65,
"teaspoons": 11
},
"table salt": {
"tablespoons": 2.92,
"teaspoons": 8.77
}
},
"spoonGramsPerTeaspoon": {
"diamond crystal kosher": 2.8,
"morton kosher": 4.8,
"table salt": 6
},
"summary": "52.63 g salt in 1000 g water is a 5% solution (5.263% of the water's weight); total 1052.6 g. About 2.92 tbsp table salt, 3.65 tbsp Morton kosher or 6.27 tbsp Diamond Crystal.",
"totalSolutionG": 1052.63,
"verdict": "SALT_AMOUNT_COMPUTED",
"waterG": 1000
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://cooking-calc.x402tookit.com/brine-salt?basis=solution&percent=5&waterG=1000'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://cooking-calc.x402tookit.com/brine-salt?basis=solution&percent=5&waterG=1000' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcooking-calc.x402tookit.com%2Fbrine-salt
const res = await pay("https://cooking-calc.x402tookit.com/brine-salt?basis=solution&percent=5&waterG=1000");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://cooking-calc.x402tookit.com/brine-salt?basis=solution&percent=5&waterG=1000")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 9 h ago | Passed | 402 | 532 ms | $0.02 |
| 22 h ago | Expected HTTP 402, got 530 | 530 | 131 ms | - |
| 35 h ago | Passed | 402 | 1.0 s | $0.02 |
| 47 h ago | Expected HTTP 402, got 530 | 530 | 89 ms | - |
| 2 days ago | Passed | 402 | 509 ms | $0.02 |
Show 10 older checks
| 3 days ago | Expected HTTP 402, got 530 | 530 | 118 ms | - |
| 3 days ago | Passed | 402 | 572 ms | $0.02 |
| 4 days ago | Expected HTTP 402, got 530 | 530 | 80 ms | - |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 171 ms | - |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 157 ms | - |
| 5 days ago | Passed | 402 | 497 ms | $0.02 |
| 5 days ago | Passed | 402 | 507 ms | $0.02 |
| 6 days ago | Passed | 402 | 573 ms | $0.02 |
| 6 days ago | Passed | 402 | 540 ms | $0.02 |
| 6 days ago | Passed | 402 | 922 ms | $0.02 |