Skip to content

Kurs Pajak API

1 endpointGovernment & Open DataIDsocial:read1 real examples

Returns weekly Indonesian tax exchange rates in IDR per unit of foreign currency.

View as Markdown
GET/kurspajak/ratesTax exchange rates of the week in IDR per unit of each foreign currency, or one currency.

rates

GET/v1/kurspajak/rates

Tax exchange rates of the week in IDR per unit of each foreign currency, or one currency.

scope social:read1 unitcached 1 h

Parameters

currency
string
Currency code, such as USD. Omit it for every currency.
e.g. USD
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
itemsRate[]
changenumber (double)
currencystring
namestring
ratenumber (double)
validFromstring
validTostring
curl "https://api.hoshime.com/v1/kurspajak/rates?currency=USD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "change": 109,
        "currency": "USD",
        "name": "Dolar Amerika Serikat",
        "rate": 18141
      }
    ],
    "validFrom": "2026-11-04",
    "validTo": "2026-11-10"
  },
  "meta": {
    "cached": false,
    "endpoint": "rates",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "kurspajak",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open