Cerrtify
Company

Fuzzy company name / orgnr search

Searches the locally synced Bolagsverket bulk register. If `q` is a 10/12-digit orgnr it does an exact lookup (`mode: orgnr`); otherwise it runs a prefix + trigram fuzzy name match (`mode: name`). > **Sandbox** searches the built-in test companies instead (exact org.nr, > or a case-insensitive part of the name, e.g. `testbolaget`). Real > companies are only searchable in production.

POST
/service/company/search

Authorization

ApiKeyAuth
X-API-Key<token>

API key in the form cert_<prefix>_<secret>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/service/company/search" \  -H "Content-Type: application/json" \  -d '{    "q": "string"  }'
{  "q": "string",  "mode": "orgnr",  "count": 0,  "limit": 0,  "results": [    {      "orgnr": "165599000105",      "name": "string",      "legal_form": "string",      "city": "string",      "active": true,      "score": 0,      "sni_codes": [        "62010",        "58290"      ]    }  ]}
{  "error": "string",  "detail": "string"}
{  "error": "string",  "detail": "string"}
{  "error": "insufficient_credits",  "message": "Organisationen har slut på krediter. Fyll på för att fortsätta."}
{  "error": "string",  "detail": "string"}
{  "error": "string",  "detail": "string"}
{  "error": "string",  "detail": "string"}