Api Endpoint

Forest Web

Convert one bounded fiat amount using the latest successfully fetched European Central Bank daily foreign-exchange reference table. Forest returns the ECB observation date and deterministic cross-rates through EUR. Fresh reads use the latest published working-day data; bounded outage fallback is explicitly labeled as cached official data. Reference data only: not an intraday market quote, bid/ask spread, executable transaction price, forecast, or trading recommendation. Base mainnet USDC

Open interactive test console

Offering

Provider
http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/fx/reference
MIME type
Not provided
First seen
2026-10-23T22:16:46.649Z
Last seen
Tags
FX, Currency, ECB, reference-rate, fiat

Payment pricing

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

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

Observed health

Status
Reachable
Latest latency
259 ms
Average latency
361 ms
HTTP status
405
Last checked
Reachability
100% over 15 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "description": "Public amount value used to scope this lookup.",
          "type": [
            "number",
            "string"
          ]
        },
        "from": {
          "description": "Public from value used to scope this lookup.",
          "pattern": "^[A-Za-z]{3}$",
          "type": "string"
        },
        "to": {
          "description": "Public to value used to scope this lookup.",
          "pattern": "^[A-Za-z]{3}$",
          "type": "string"
        }
      },
      "required": [
        "from",
        "to",
        "amount"
      ],
      "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 schema

{
  "properties": {
    "example": {
      "additionalProperties": false,
      "properties": {
        "capability": {
          "const": "fx.reference",
          "description": "Public capability value used to scope this lookup."
        },
        "data": {
          "additionalProperties": false,
          "description": "Public data value used to scope this lookup.",
          "properties": {
            "amount": {
              "description": "Public amount value used to scope this lookup.",
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
              "type": "string"
            },
            "amount_rounding_decimals": {
              "const": 6,
              "description": "Public amount rounding decimals value used to scope this lookup."
            },
            "base_source_currency": {
              "const": "EUR",
              "description": "Public base source currency value used to scope this lookup."
            },
            "cache_age_ms": {
              "description": "Public cache age ms value used to scope this lookup.",
              "maximum": 604800000,
              "minimum": 0,
              "type": "integer"
            },
            "converted_amount": {
              "description": "Public amount value used to scope this lookup.",
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
              "type": "string"
            },
            "freshness": {
              "description": "Public freshness value used to scope this lookup.",
              "enum": [
                "latest_published_working_day",
                "cached_official_observation"
              ],
              "type": "string"
            },
            "from": {
              "description": "Public from value used to scope this lookup.",
              "pattern": "^[A-Z]{3}$",
              "type": "string"
            },
            "observation_date": {
              "description": "Public observation date value used to scope this lookup.",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "reference_rate": {
              "description": "Public amount value used to scope this lookup.",
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
              "type": "string"
            },
            "source": {
              "const": "European Central Bank",
              "description": "Public source value used to scope this lookup."
            },
            "source_kind": {
              "const": "daily_reference_rate",
              "description": "Public source kind value used to scope this lookup."
            },
            "source_url": {
              "const": "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml",
              "description": "Public source url value used to scope this lookup."
            },
            "stale_cache_fallback": {
              "description": "Public stale cache fallback value used to scope this lookup.",
              "type": "boolean"
            },
            "to": {
              "description": "Public to value used to scope this lookup.",
              "pattern": "^[A-Z]{3}$",
              "type": "string"
            },
            "transaction_quote": {
              "const": false,
              "description": "Public transaction quote value used to scope this lookup."
            }
          },
          "required": [
            "from",
            "to",
            "amount",
            "reference_rate",
            "converted_amount",
            "amount_rounding_decimals",
            "observation_date",
            "base_source_currency",
            "source",
            "source_url",
            "source_kind",
            "freshness",
            "stale_cache_fallback",
            "transaction_quote",
            "cache_age_ms"
          ],
          "type": "object"
        },
        "meta": {
          "additionalProperties": false,
          "description": "Public meta value used to scope this lookup.",
          "properties": {
            "cache": {
              "description": "Public cache value used to scope this lookup.",
              "enum": [
                "hit",
                "miss",
                "bypass"
              ]
            },
            "checked_at": {
              "description": "Public checked at value used to scope this lookup.",
              "type": "string"
            },
            "duration_ms": {
              "description": "Public duration ms value used to scope this lookup.",
              "minimum": 0,
              "type": "integer"
            },
            "provider": {
              "description": "Public provider value used to scope this lookup.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "provider",
            "checked_at",
            "cache",
            "duration_ms"
          ],
          "type": "object"
        },
        "ok": {
          "const": true,
          "description": "Public ok value used to scope this lookup."
        },
        "version": {
          "const": "1",
          "description": "Package version whose public metadata should be checked."
        }
      },
      "required": [
        "ok",
        "capability",
        "version",
        "data",
        "meta"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}