Skip to content

Retrieve Company Or Consumer Data

Request

Retrieves comprehensive company or consumer data based on your configured GetData block. The response structure depends on which sections are included in your block configuration. Approximately 500 parameters are available for companies and 175 for consumers.

Security
bearerToken
Query
searchnumberstring, <= 12 charactersrequired

Personal number or organization number (up to 12 digits). The consumer and company requests are identical, the only difference is the block used and the search number.

Example:searchnumber=5565144408
blocknamestringrequired

Name of the GetData block that specifies which parameters to return. Blocks are setup for you by Creditsafe's integration team based upon your request.

Example:blockname=FinancialSummary
transactionidstring, <= 14 characters

Customer's internal information (customer/invoice number). Recommended to use this field as it can be helpful in tracking your call in Creditsafe logs.

Example:transactionid=INV-12345
languagestring

Sets the language of the response. This will also impact error response language. Available languages - sv (Swedish) or en (English).

Default:"en"
Enum:"en""sv"
Example:language=en
lodfreetextstring, <= 500 characters

Optional. Any text to be included on the letter of disclosure. The text string sent in this parameter will be added as free text on the letter of disclosure. If no letter is sent, the text will be ignored. If multiple requests are made on the same search object (organization or person) on the same day, all unique texts will be added to the letter (up to 500 characters). All letters of disclosure are sent in Swedish.

Example:lodfreetext=Credit application reference 2024-001
legacyformatboolean

If you leave this parameter out or send a false value you will get the new format used in Creditsafe REST APIs. Pass true into this parameter if you want the API to respond with the old SOAP parameter format from previous versions.

Default:false
curl -i -X GET \
  'https://se-webservice.apps.creditsafe.com/getdata?searchnumber=5565144408&blockname=FinancialSummary&transactionid=INV-12345&language=en&lodfreetext=Credit%20application%20reference%202024-001&legacyformat=false' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Successful response with company or consumer data

Bodyapplication/json
One of:

Complete company data response from GetData API

metaDataobject

API call metadata information

reportobject

Contains all company data sections based on the configured block

Response
{ "metaData": { "apiLogId": 2098765, "timeStamp": "2026-06-12T14:30:00", "resource": "GetData (1217)", "method": "GET", "requestUrl": "https://se-webservice.apps.creditsafe.com/getdata?blockname=COMPANY_BLOCK&language=sv&searchnumber=5569876543&transactionid=TX789", "lodCreated": true }, "report": { "basicInformation": {}, "contactInformation": {}, "creditScore": {} } }