A

Agentfeeds · FX Customs Rate

by Agentfeeds

GETBase

$0.002

per call · USD Coin on Base

Weekly official Japan Customs reference exchange rate (税関長公示レート) used to convert import declaration values to yen under Article 4-7 of the Customs Tariff Law -- a live proxy to the Customs weekly CSV, not a real-time market rate. Source: Japan Customs (customs.go.jp), whose terms of use explicitly permit commercial use. Factual published data only; not a live FX quote or trading advice.

Endpoint

GET https://api.agentfeeds.jp/v1/jp/fx/customs_rate

5

Calls / 30d

3

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.agentfeeds.jp/v1/jp/fx/customs_rate", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.agentfeeds.jp/v1/jp/fx/customs_rate?currency=USD" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "applicable_period": "令和7年6月22日から令和7年6月28日まで",
    "currencies": 1,
    "rates": [
      {
        "country_code": "304",
        "country_name_ja": "アメリカ合衆国",
        "currency_name_ja": "ドル",
        "iso": "USD",
        "note": null,
        "yen_per_unit": 144.29
      }
    ]
  },
  "kind": "factual_data",
  "product": "jp.fx.customs_rate"
}

Payment details

Pay to0x67ac1e671e87b2c91847230748ed38a596013ea6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Agentfeeds & similar services