Api Endpoint

x402-markettwits-news.onrender.com … /alerts/fx

Latest official Bank of Russia rate (RUB per 1 unit, as /ru/fx) for one currency vs min and/or max: triggered, rate, breach below_min|above_max|null, distance and the CBR date. Unknown code -> 404, cbr.ru failure -> 502 (neither is settled).

Open interactive test console

Offering

Provider
x402-markettwits-news.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-markettwits-news.onrender.com/alerts/fx
MIME type
application/json
First seen
2026-10-26T22:00:53.054Z
Last seen
Tags
None supplied

Payment pricing

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

Payment option 1
0.0015 USDC
Atomic price: 1500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1500",
    "payTo": "0x2c257EE70952a16f00c99d40fDFF2d28f1A5b8A2"
  }
]

Observed health

Status
Healthy
Latest latency
111 ms
Average latency
203 ms
HTTP status
402
Last checked
Reachability
100% over 13 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": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$",
          "description": "ISO currency code quoted by the Bank of Russia, e.g. USD, EUR, CNY"
        },
        "min": {
          "type": "string",
          "pattern": "^[0-9]+([.,][0-9]+)?$",
          "description": "Lower bound in RUB per 1 unit of the currency (e.g. 75). Give min and/or max."
        },
        "max": {
          "type": "string",
          "pattern": "^[0-9]+([.,][0-9]+)?$",
          "description": "Upper bound in RUB per 1 unit of the currency (e.g. 95). Give min and/or max."
        }
      },
      "required": [
        "code"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "required": [
        "triggered",
        "code",
        "rate",
        "min",
        "max",
        "breach",
        "date"
      ],
      "properties": {
        "triggered": {
          "type": "boolean"
        },
        "code": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "rate": {
          "type": "number",
          "description": "Official CBR rate, RUB per 1 unit"
        },
        "min": {
          "type": [
            "number",
            "null"
          ]
        },
        "max": {
          "type": [
            "number",
            "null"
          ]
        },
        "breach": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "below_min",
            "above_max",
            null
          ]
        },
        "distance": {
          "type": [
            "number",
            "null"
          ],
          "description": "rate - breached bound (null when inside the range)"
        },
        "unit": {
          "type": "string"
        },
        "nominal": {
          "type": "integer"
        },
        "value": {
          "type": "number"
        },
        "prev_rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "change_pct": {
          "type": [
            "number",
            "null"
          ]
        },
        "date": {
          "type": "string",
          "description": "Date the CBR rate is set for"
        },
        "source": {
          "type": "string"
        },
        "via": {
          "type": "string",
          "enum": [
            "direct",
            "proxy"
          ]
        },
        "cached": {
          "type": "boolean"
        },
        "stale": {
          "type": "boolean",
          "description": "true when the upstream failed and a recent cached copy was served"
        },
        "fetched_at": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}