The Prisradar API console and keys
The console at prisradar.ch/konsole is the place for everything to do with your access: keys, test requests, usage, package, invoices and team. You sign in with a password and, if you wish, also with a code from an app.
On this page
What do I find in the console?
The console has six sections. “Overview” shows the month at a glance, “Test” sends a request from the browser, “Keys” manages the keys, “Usage” shows the requests of recent months and, for each valuation, whether it counts towards the quota, “Costs & invoices” package, costs and invoices, and under “Team & account” you invite people.
- Month Valuations in the current month, requests today and your package.
- Keys Each key with its name, its last four characters and the date.
- Sections Test, Usage, Costs & invoices and Team, in the sidebar.
How do I create a key?
Under “Keys” with “Create key”. Give it a name, such as “Production server”, and, if you wish, the IP addresses of your servers. The key appears in full once; copy it straight into an environment variable. After that, the console only shows its last four characters.
Test keys begin with pr_test_, are free and return fixed sample values. Live keys begin with pr_live_ and return real market values; you get them as soon as you have chosen and paid for a package under “Costs & invoices”.
Keys belong on your server.Never in an app, a website or a public code repository: anyone who has a key can make requests at your expense.
How do I revoke a key?
Under “Keys”, with “Revoke” next to the key in question. From that moment, every request with it gets error 401. Revoke a key as soon as it might have fallen into the wrong hands, and create a new one straight away. Revoked keys cannot be switched back on.
What are the server addresses for?
If you enter IP addresses when creating a key, separated by commas, the key only answers requests from those addresses. Any other address gets error 403. That protects you if the key ever becomes known. Left empty, the key works from anywhere. You can change the addresses at any time under “Keys” with “Change”; they apply from the next request.
How do I invite my team?
Under “Team & account” with “Invite someone”. Choose the role: “Owner” may do everything, “Developer” keys, testing and usage, “Accounting” package, costs and invoices. The person gets an e-mail and sets a password. The link is valid for 7 days. An owner changes a person’s role there with “Change role”; a second owner changes their own.
What is sign-in with a code for?
It protects your access, because keys are worth money. Once it is on, the console asks for a code from an app such as Google Authenticator, Microsoft Authenticator or 1Password at every sign-in; nobody gets in with the password alone. Each person switches it on or off under “Team & account”, and we recommend it. If you lose your phone, write to info@prisradar.ch and we reset the sign-in. A forgotten password you reset yourself with “Forgot your password?” when signing in.
Didn’t find what you’re looking for?Write to info@prisradar.ch or use the contact form.