Offer Normalize
by Think and Grow Wealthy in Markets & finance
Offer Economics Normalizer beta. Send up to 3 offer texts, a currency, usage assumptions, a horizon, and an optional FX rate. Returns setup, recurring, and usage fees, commitment, renewal, cancellation, refund, 12-month scenarios, missing fields, and exact spans. Unknown charges are not zero. No URL fetch. Not a quote or legal advice.
https://tgw-mindset-api.fly.dev/offer-normalize- Price
- $0.01
- per call in USDC
- Uptime
- 91.5%
- last 30 days
- Response time
- 545 ms
- 696 ms slowest 5%
- Last check
- Passed
- 8 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://tgw-mindset-api.fly.dev/offer-normalize
Each call costs $0.01 in USDC on Base, 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.
POST https://tgw-mindset-api.fly.dev/offer-normalize
content-type: application/json
{
"currency": "USD",
"horizon_months": 12,
"offers": [
{
"id": "acme",
"label": "Acme Pro",
"text": "Acme Pro. Setup fee: $100. Then $20 per month. No usage fees. 12-month minimum. Renews automatically each year. Cancel with 30 days notice. No refunds after the first 14 days."
},
{
"id": "beta",
"label": "Beta Suite",
"text": "Beta Suite is $10 per month plus usage fees. Setup fee: $50."
}
],
"usage": {
"monthly_units": 1000,
"seats": 1
}
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | No | Reporting currency. Default USD. |
fx | object | No | Optional caller-supplied FX rate. This route does not look up a rate. |
horizon_months | integer | No | Comparison horizon. Default 12. |
offers | array of object | Yes | One to three vendor, plan, course, or service offers. Paste text. URLs are not fetched. |
usage | object | No |
Example response
The provider's example. We can't check it without paying.
Example response, 161 lines
{
"comparison": {
"basis": "known_subtotal_12_month",
"complete": false,
"ranking": [],
"reason": "Offers are not ranked. At least one indicated charge is unknown, unpriced, or not converted, and unknown charges are not treated as zero."
},
"contract": "tgw-offer-normalize-beta-1",
"currency": "USD",
"disclaimer": "Not a binding quote. Prices come only from the text you supplied.",
"extraction": "deterministic",
"fx_applied": false,
"horizon_months": 12,
"limitations": [
"Not legal advice and not a binding quote.",
"Amounts are taken only from the supplied offer text. No current price was looked up.",
"No URL in the text was fetched.",
"Totals are computed in code from priced components. Unknown charges are omitted and are not treated as zero.",
"A model may propose spans. A span is kept only when it appears verbatim in the supplied text and the amount in that span matches."
],
"offers": [
{
"cancellation": {
"known": true,
"span": "Cancel with 30 days notice.",
"text": "Cancel with 30 days notice."
},
"currency": "USD",
"currency_basis": "detected",
"id": "acme",
"label": "Acme Pro",
"minimum_commitment": {
"known": true,
"months": 12,
"span": "12-month minimum"
},
"missing_fields": [],
"recurring_fee": {
"amount": "20.00",
"currency": "USD",
"known": true,
"period": "month",
"span": "Then $20 per month.",
"state": "priced"
},
"refund": {
"known": true,
"span": "No refunds after the first 14 days.",
"text": "No refunds after the first 14 days."
},
"renewal": {
"known": true,
"span": "Renews automatically each year.",
"text": "Renews automatically each year."
},
"scenarios": {
"months_12": {
"assumptions": [],
"complete": true,
"currency": "USD",
"known_components": {
"recurring": "240.00",
"setup": "100.00",
"usage": "0.00"
},
"known_subtotal": "340.00",
"months": 12,
"note": "Known subtotal adds only priced components. Unknown or unstated charges are omitted and are not treated as zero.",
"unknown_components": []
}
},
"setup_fee": {
"amount": "100.00",
"currency": "USD",
"known": true,
"span": "Setup fee: $100.",
"state": "priced"
},
"usage_fee": {
"amount": "0.00",
"currency": "USD",
"known": true,
"span": "No usage fees",
"state": "priced"
}
},
{
"cancellation": {
"known": false,
"reason": "Cancellation conditions are not in the supplied text.",
"span": null
},
"currency": "USD",
"currency_basis": "detected",
"id": "beta",
"label": "Beta Suite",
"minimum_commitment": {
"known": false,
"reason": "Minimum commitment is not stated in the supplied text.",
"span": null
},
"missing_fields": [
"usage_fee",
"minimum_commitment",
"renewal",
"cancellation",
"refund"
],
"recurring_fee": {
"amount": "10.00",
"currency": "USD",
"known": true,
"period": "month",
"span": "Beta Suite is $10 per month plus usage fees.",
"state": "priced"
},
"refund": {
"known": false,
"reason": "Refund conditions are not in the supplied text.",
"span": null
},
"renewal": {
"known": false,
"reason": "Renewal terms are not in the supplied text.",
"span": null
},
"scenarios": {
"months_12": {
"assumptions": [],
"complete": false,
"currency": "USD",
"known_components": {
"recurring": "120.00",
"setup": "50.00"
},
"known_subtotal": "170.00",
"months": 12,
"note": "Known subtotal adds only priced components. Unknown or unstated charges are omitted and are not treated as zero.",
"unknown_components": [
"usage"
]
}
},
"setup_fee": {
"amount": "50.00",
"currency": "USD",
"known": true,
"span": "Setup fee: $50.",
"state": "priced"
},
"usage_fee": {
"known": false,
"reason": "The text mentions usage fees but states no rate.",
"span": "plus usage",
"state": "unknown"
}
}
],
"page_fetch": false,
"status": "partial"
}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.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://tgw-mindset-api.fly.dev/offer-normalize' \
-H 'content-type: application/json' \
--data-raw '{"currency":"USD","horizon_months":12,"offers":[{"id":"acme","label":"Acme Pro","text":"Acme Pro. Setup fee: $100. Then $20 per month. No usage fees. 12-month minimum. Renews automatically each year. Cancel with 30 days notice. No refunds after the first 14 days."},{"id":"beta","label":"Beta Suite","text":"Beta Suite is $10 per month plus usage fees. Setup fee: $50."}],"usage":{"monthly_units":1000,"seats":1}}'
# 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 - -X POST 'https://tgw-mindset-api.fly.dev/offer-normalize' \
-H 'content-type: application/json' \
--data-raw '{"currency":"USD","horizon_months":12,"offers":[{"id":"acme","label":"Acme Pro","text":"Acme Pro. Setup fee: $100. Then $20 per month. No usage fees. 12-month minimum. Renews automatically each year. Cancel with 30 days notice. No refunds after the first 14 days."},{"id":"beta","label":"Beta Suite","text":"Beta Suite is $10 per month plus usage fees. Setup fee: $50."}],"usage":{"monthly_units":1000,"seats":1}}' \
| 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.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
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.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftgw-mindset-api.fly.dev%2Foffer-normalize&method=POST
const res = await pay("https://tgw-mindset-api.fly.dev/offer-normalize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"currency": "USD",
"horizon_months": 12,
"offers": [
{
"id": "acme",
"label": "Acme Pro",
"text": "Acme Pro. Setup fee: $100. Then $20 per month. No usage fees. 12-month minimum. Renews automatically each year. Cancel with 30 days notice. No refunds after the first 14 days."
},
{
"id": "beta",
"label": "Beta Suite",
"text": "Beta Suite is $10 per month plus usage fees. Setup fee: $50."
}
],
"usage": {
"monthly_units": 1000,
"seats": 1
}
}),
});
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.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://tgw-mindset-api.fly.dev/offer-normalize",
json={
"currency": "USD",
"horizon_months": 12,
"offers": [
{
"id": "acme",
"label": "Acme Pro",
"text": "Acme Pro. Setup fee: $100. Then $20 per month. No usage fees. 12-month minimum. Renews automatically each year. Cancel with 30 days notice. No refunds after the first 14 days.",
},
{
"id": "beta",
"label": "Beta Suite",
"text": "Beta Suite is $10 per month plus usage fees. Setup fee: $50.",
},
],
"usage": {
"monthly_units": 1000,
"seats": 1,
},
},
)
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 |
|---|---|---|---|---|
| 8 h ago | Passed | 402 | 396 ms | $0.01 |
| 18 h ago | Passed | 402 | 374 ms | $0.01 |
| 29 h ago | Passed | 402 | 374 ms | $0.01 |
| 41 h ago | Passed | 402 | 650 ms | $0.01 |
| 3 days ago | Timed out | - | - | - |
Show 10 older checks
| 5 days ago | Passed | 402 | 610 ms | $0.01 |
| 5 days ago | Passed | 402 | 399 ms | $0.01 |
| 6 days ago | Passed | 402 | 644 ms | $0.01 |
| 6 days ago | Passed | 402 | 988 ms | $0.01 |
| 7 days ago | Passed | 402 | 396 ms | $0.01 |
| 7 days ago | Passed | 402 | 682 ms | $0.01 |
| 7 days ago | Passed | 402 | 392 ms | $0.01 |
| 8 days ago | Passed | 402 | 671 ms | $0.01 |
| 8 days ago | Passed | 402 | 428 ms | $0.01 |
| 8 days ago | Passed | 402 | 365 ms | $0.01 |
History
| 16 Nov 2026 | Price changed from $0.05 to $0.01 |