Api Endpoint

hcrb.in

Arithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The comparators are assumptions, not measurements of any bank or provider; no protocol fee is deducted on this rail.

Open interactive test console

Offering

Provider
hcrb.in
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://hcrb.in/v1/tools/calculate-fx-savings/call
MIME type
application/json
First seen
2026-10-16T01:51:40.954Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
10000 atomic units
Atomic price: 10000 · Network: eip155:8453 · Asset: 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: eip155:43114 · Asset: USDC · Scheme: exact
Payment option 5
10000 atomic units
Atomic price: 10000 · Network: eip155:43114 · Asset: 0xC891EB4cbdEFf6e073e859e987815Ed1505c2ACD · Scheme: exact
Payment option 6
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "10000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "10000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xC891EB4cbdEFf6e073e859e987815Ed1505c2ACD",
    "amount": "10000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  }
]

Observed health

Status
Healthy
Latest latency
79 ms
Average latency
504 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "input": {
          "type": "object",
          "properties": {
            "amount_usdc": {
              "type": "number",
              "description": "Gross invoice settlement volume in USD/USDC."
            },
            "amount_usd": {
              "type": "number",
              "description": "Gross invoice settlement volume in USD/USDC (alias)."
            },
            "amount": {
              "type": "number",
              "description": "Gross invoice settlement volume in USD/USDC (alias)."
            },
            "currency": {
              "type": "string",
              "description": "Target currency for local comparison (e.g. EUR, GBP, BRL, INR, ARS, PHP, NGN, SGD)."
            }
          }
        }
      },
      "required": [
        "input"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "tool": {
          "type": "string"
        },
        "amount_usdc": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "legacy_swift_fee_usd": {
          "type": "number"
        },
        "deel_fee_usd": {
          "type": "number"
        },
        "code402_protocol_fee_usd": {
          "type": "number"
        },
        "retained_savings_usd": {
          "type": "number"
        },
        "pct_retained": {
          "type": "number"
        },
        "local_currency": {
          "type": "object"
        },
        "scope": {
          "type": "string"
        }
      },
      "required": [
        "amount_usdc",
        "retained_savings_usd",
        "pct_retained"
      ]
    }
  },
  "required": [
    "type"
  ]
}