mirrored listing x402 eip155:8453solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

Convert an amount between two supported currencies using one validated ECB daily reference

Convert an amount between two supported currencies using one validated ECB daily reference-rate observation. The underlying ECB statistics are available free from the ECB Data Portal; the fee covers bounded retrieval, validation, clearly labelled cross-rate calculation, and x402 delivery.

Do you run apiacre.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated

Provider

apiacre.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "amount": "100",
          "base_currency": "GBP",
          "on_or_before": null,
          "quote_currency": "USD"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "amount": "100",
            "baseCurrency": "GBP",
            "basis": {
              "basePerEur": "0.85585",
              "denomination": "EUR",
              "formula": "quotePerEur / basePerEur",
              "quotePerEur": "1.1576"
            },
            "convertedAmount": "135.2573465",
            "disclaimer": "Reference data only, not financial advice or a guarantee ...",
            "inverseRate": "0.739331375259",
            "limitations": [
              "ECB reference rates are usually published on TARGET busin...",
              "A converted amount is arithmetic evidence only; banks, ex...",
              "ECB observations can be revised, interrupted, or withdraw...",
              "Coverage is limited to the explicitly supported active EC..."
            ],
            "networkRequestsMade": 1,
            "quoteCurrency": "USD",
            "rate": "1.352573464976",
            "referenceDate": "2026-08-18",
            "referenceLagDays": 1,
            "requestedOnOrBefore": null,
            "retrievedAt": "2026-08-19T04:00:00+00:00",
            "source": {
              "dataset": "EXR daily euro foreign exchange reference rates",
              "provider": "European Central Bank",
              "requestUrl": "https://data-api.ecb.europa.eu/service/data/EXR/D.GBP+USD...",
              "seriesKeys": [
                "EXR.D.GBP.EUR.SP00.A",
                "EXR.D.USD.EUR.SP00.A"
              ]
            },
            "warnings": [
              "The latest common reference observation is 1 calendar day...",
              "API Acre derived this cross rate by dividing two unmodifi..."
            ]
          },
          "meta": {
            "cached": false,
            "duration_ms": 42,
            "next_actions": [],
            "sources": [],
            "warnings": []
          },
          "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
          "service": "data.ecb-fx-reference",
          "version": "1"
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "amount": {
                  "type": "string"
                },
                "base_currency": {
                  "enum": [
                    "AUD",
                    "BRL",
                    "CAD",
                    "CHF",
                    "CNY",
                    "CZK",
                    "DKK",
                    "EUR",
                    "GBP",
                    "HKD",
                    "HUF",
                    "IDR",
                    "ILS",
                    "INR",
                    "ISK",
                    "JPY",
                    "KRW",
                    "MXN",
                    "MYR",
                    "NOK",
                    "NZD",
                    "PHP",
                    "PLN",
                    "RON",
                    "SEK",
                    "SGD",
                    "THB",
                    "TRY",
                    "USD",
                    "ZAR"
                  ],
                  "type": "string"
                },
                "on_or_before": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "quote_currency": {
                  "enum": [
                    "AUD",
                    "BRL",
                    "CAD",
                    "CHF",
                    "CNY",
                    "CZK",
                    "DKK",
                    "EUR",
                    "GBP",
                    "HKD",
                    "HUF",
                    "IDR",
                    "ILS",
                    "INR",
                    "ISK",
                    "JPY",
                    "KRW",
                    "MXN",
                    "MYR",
                    "NOK",
                    "NZD",
                    "PHP",
                    "PLN",
                    "RON",
                    "SEK",
                    "SGD",
                    "THB",
                    "TRY",
                    "USD",
                    "ZAR"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "base_currency",
                "quote_currency"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "data": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "baseCurrency": {
                      "type": "string"
                    },
                    "basis": {
                      "type": "object"
                    },
                    "convertedAmount": {
                      "type": "string"
                    },
                    "disclaimer": {
                      "type": "string"
                    },
                    "inverseRate": {
                      "type": "string"
                    },
                    "limitations": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "networkRequestsMade": {
                      "type": "integer"
                    },
                    "quoteCurrency": {
                      "type": "string"
                    },
                    "rate": {
                      "type": "string"
                    },
                    "referenceDate": {
                      "type": "string"
                    },
                    "referenceLagDays": {
                      "type": "integer"
                    },
                    "requestedOnOrBefore": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "retrievedAt": {
                      "type": "string"
                    },
                    "source": {
                      "type": "object"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "baseCurrency",
                    "quoteCurrency",
                    "amount",
                    "rate",
                    "inverseRate",
                    "convertedAmount",
                    "referenceDate",
                    "requestedOnOrBefore",
                    "referenceLagDays",
                    "basis",
                    "source",
                    "retrievedAt",
                    "networkRequestsMade",
                    "warnings",
                    "limitations",
                    "disclaimer"
                  ],
                  "type": "object"
                },
                "meta": {
                  "properties": {
                    "cached": {
                      "type": "boolean"
                    },
                    "duration_ms": {
                      "type": "integer"
                    },
                    "next_actions": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "sources": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "duration_ms",
                    "cached",
                    "sources",
                    "warnings",
                    "next_actions"
                  ],
                  "type": "object"
                },
                "request_id": {
                  "type": "string"
                },
                "service": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                }
              },
              "required": [
                "request_id",
                "service",
                "version",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "payment-identifier": {
    "info": {
      "required": false
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "id": {
          "maxLength": 128,
          "minLength": 16,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "required": [
        "required"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://apiacre.com/v1/data/ecb-fx-reference"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://apiacre.com/v1/data/ecb-fx-reference");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://apiacre.com/v1/data/ecb-fx-reference")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/2573.json, and this resource appears in /discovery/resources and /discovery/search.