Api Endpoint

quickbuild.quynguyenbac.workers.dev

Foreign-exchange rates from one base currency (`from`, default USD) to a list of currencies (`to`, comma-separated, or "all"; default 14 majors incl. EUR, GBP, JPY, CNY, INR, KRW, VND), with `amount` converted. Live mode uses Coinbase public exchange rates (cached 15 s, updated about every minute, 160+ ISO 4217 currencies plus XAU/XAG), falling back to exchangerate-api daily rates. With `date=YYYY-MM-DD` it returns the ECB reference rates for that day (Frankfurter, ~30 major currencies, back...

Open interactive test console

Offering

Provider
quickbuild.quynguyenbac.workers.dev
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://quickbuild.quynguyenbac.workers.dev/api/fx/rate
MIME type
application/json
First seen
2026-10-23T22:14:09.550Z
Last seen
Tags
FX, forex, Currency, exchange-rate, Finance

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
762 ms
Average latency
600 ms
HTTP status
402
Last checked
Reachability
100% over 16 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": {
        "from": {
          "type": "string",
          "description": "Base currency, ISO 4217 code (default USD)."
        },
        "to": {
          "type": "string",
          "description": "Comma-separated target codes (max 50) or \"all\". Default: EUR,GBP,JPY,CNY,CHF,CAD,AUD,INR,KRW,SGD,HKD,MXN,BRL,VND."
        },
        "amount": {
          "type": "number",
          "minimum": 0,
          "description": "Amount in `from` to convert (default 1)."
        },
        "date": {
          "type": "string",
          "description": "Optional YYYY-MM-DD for historical ECB reference rates (since 1999-01-04). Omit for live rates."
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string"
        },
        "amount": {
          "type": "number"
        },
        "date": {
          "type": "string"
        },
        "rates": {
          "type": "object",
          "description": "code -> units of that currency per 1 `from`"
        },
        "converted": {
          "type": "object",
          "description": "code -> amount converted"
        },
        "missing": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "count": {
          "type": "integer"
        },
        "source": {
          "type": "string"
        },
        "asOf": {
          "type": "string"
        },
        "fetchedAt": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}