mirrored listing x402 base

Get historical exchange rates between two currencies

Get historical exchange rates between two currencies. Returns daily rates, average, min, max, change percentage.

Do you run api.strale.io? 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
54000 (raw units)
price
9
calls / 30d
2
unique payers
2026-09-09
updated

Provider

api.strale.io · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "base",
    "payTo": "0x66D7C2F952362BFB24FD7F02a9beC9c754ea83bC",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "54000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "queryParams": {
          "end_date": {
            "type": "string"
          },
          "from": {
            "description": "Source currency (e.g. EUR)",
            "required": true,
            "type": "string"
          },
          "start_date": {
            "type": "string"
          },
          "to": {
            "description": "Target currency (e.g. USD)",
            "required": true,
            "type": "string"
          }
        },
        "type": "http"
      },
      "output": {}
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "queryParams": {
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.strale.io/x402/forex-history"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.strale.io/x402/forex-history");
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://api.strale.io/x402/forex-history")
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/8520.json, and this resource appears in /discovery/resources and /discovery/search.