Quickstart
Five steps from a cold start to a metered call you can see on your usage page. The request below is a real one — the only thing missing from it is your key.
Create an account
Sign up with an email address and confirm it with the code we send. The account you create owns the subscription and the API key that follow.
Create an accountSubscribe to a Catalog Item
Pick a Catalog Item from the pricing page and subscribe. A request is charged one unit for every data point it covers — both ends of the window included — each at the Catalog Item's Unit Price, so the subscription is what makes a key worth issuing — a key minted without one is rejected on every request.
See pricingIssue an API key
Generate your key from the account area. There is one active key per account, and its value is shown once at issue time — store it before you leave the page. Signed out, the link takes you to sign-in first.
Go to your API keySend your first request
Put the key in the x-ctie-api-key header and call the Catalog Item. Export it as CTIE_API_KEY first, so the key stays out of your shell history.
curl --request GET \ --get \ --header "x-ctie-api-key: $CTIE_API_KEY" \ --data-urlencode "stationId=99_20309_1_2" \ "https://api.daas.riskma.jp/v1/data/riskma-rainfall"Check it on your usage page
A charged call appears on the usage page with its Catalog Item, its request count and what it cost. If the request succeeded and nothing shows there, the call was not metered against your account.
Open your usage page