Cerrtify

Environments

Sandbox and production base URLs, and what differs between them.

Cerrtify exposes two environments. Use the switcher in the top-right to flip every snippet on the docs site.

SandboxProduction
Base URLhttps://sandbox-api.cerrtify.comhttps://api.cerrtify.com
BankID upstreamBankID test backend (appapi2.test.bankid.com) with Cerrtify's test certificate — added when you click Aktivera BankID i sandbox in the dashboardBankID production
SPAR upstreamSkatteverket's SPAR test environment with Cerrtify's test certificate — added when you click Aktivera SPAR i sandbox in the dashboardSPAR production with your organisation's own SPAR agreement (setup)
Company upstreamBuilt-in test companiesBolagsverket (live lookup) and the synced company register (search)
Test personsYes — BankID test users and SPAR's test personsNo — real persons only
Rate limitsGenerous, for developmentPer-key, configurable
BillingFree — no credit gateBilled against your credit balance
API keycert_* issued from the sandbox tabIssued separately from the production tab

Sandbox and production are isolated — a sandbox key returns 401 against production and vice versa.

Testing BankID in sandbox

To use BankID in sandbox, click Aktivera BankID i sandbox in the dashboard (Tjänster → BankID). That adds Cerrtify's test certificate to your organisation — no certificate of your own is needed. Requests go to BankID's test environment, so you sign in with a test BankID: install the BankID app configured for test and create a test user as described in BankID's test instructions. A real BankID does not work in sandbox.

Testing person data (SPAR) in sandbox

Click Aktivera SPAR i sandbox in the dashboard (Tjänster → Personadress). That adds Skatteverket's test certificate to your organisation, and sandbox lookups then go to Skatteverket's SPAR test environment, where you can look up SPAR's test persons. In production you use your own SPAR agreement with Skatteverket: upload the certificate together with Skatteverket's three numbers (kundnummer leveransmottagare, kundnummer slutkund and uppdragsnummer) in the Cerrtify dashboard. If you don't have an agreement yet, you can buy Cerrtify's help applying for one when you choose your plan. See Persondata.

Sandbox test companies

In sandbox, company lookup and search never reach Bolagsverket. They serve these fictional companies instead:

Org.nrNameLegal formCityStatus
5599000105Testbolaget Nordic ABAktiebolagStockholmActive
5599000196Sandbox Software Sverige ABAktiebolagGöteborgActive
5599000287Nordkvist & Partner HandelsbolagHandelsbolagMalmöActive
5599000378Öresund Test Ekonomisk FöreningEkonomisk föreningLundActive
5599000469Fjäll & Vind Energi ABAktiebolagUmeåActive
5599000550Avregistrerad Testbolag ABAktiebolagStockholmDeregistered 2023-11-01 ("Konkurs avslutad")
5599000642Baltic Trade & Logistics ABAktiebolagHelsingborgActive
5599000733Testterrass BostadsrättsföreningBostadsrättsföreningUppsalaActive
5599000824Gröna Norr StiftelseStiftelseLuleåActive
5599000915Västkust KommanditbolagKommanditbolagVarbergActive
  • Lookup (/service/company/lookup) returns the company in Bolagsverket's response format. Any other org.nr — including real companies — returns 404 company_not_found in sandbox. Real companies only work in production.
  • Search (/service/company/search) matches an exact org.nr (10 or 12 digits, hyphen allowed) or any part of the name, case-insensitive — for example testbolaget or energi. Hits carry the org.nr in 12-digit form (165599000105).
  • Testing an inactive company: use 5599000550. Lookup returns it with "avregistrerad": true, avregistreringsdatum and avregistreringsorsak. Search hides it by default — send "active_only": false to include it.

See Company — Lookup and search for full request examples.

On this page