apyhub
Back

Latvian Company Lookup & Search API

What it does

The Latvian company register API returns the register record for a Latvian company from its registration number and searches companies by name. Search to find the number, then look it up for the full record.

For a lookup, send the 11-digit registration number in the path, for example 40003245752. You get the name, legal form in English and Latvian, status, an insolvency flag, registration date, address, the SEPA creditor ID and the register the company is in. A number that is not in the register returns 404.

For a search, send name (at least 2 characters) and an optional limit from 1 to 50 (default 10). Each result has the registration number, name, legal form, status, registration date, city and postal code. Results include ceased companies and branches, so check status and legalForm.

Teams use this Latvian company lookup API to verify Baltic suppliers, check for insolvency before signing, and store SEPA creditor IDs for direct debit set-up.

The Latvian company register API does not include industry codes, VAT numbers or financials. For other markets, see the Swedish Company Lookup API and the UK Company Lookup API. To check an EU VAT number, use the VAT Lookup API, or find the company's LEI with the LEI Company Lookup API.

▣ ENDPOINT 02 / 02
GET
Latvian company by registration number
https://api.eu.apyhub.com/nordic-data-tools/latvian-company-lookup/lv/company/:regcode

QUICKSTART

GUIDE

Quickstart

Look up a company by its number.

curl "https://api.eu.apyhub.com/nordic-data-tools/latvian-company-lookup/lv/company/:regcode" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with country, companyNumber, name, legalForm, legalFormLocal, legalFormCode, status, inProceedings, registrationDate, endDate, address, naceCodes, vatNumber, sepaCreditorId, register, financials, source, licence, attribution, sourceDate, extractedAt, fetched_at.

{
  "country": "LV",
  "companyNumber": "40003245752",
  "name": "Air Baltic Corporation AS",
  "legalForm": "Joint-stock company (AS)",
  "legalFormLocal": "Akciju sabiedrība",
  "legalFormCode": "AS",
  "status": "Active",
  "inProceedings": false,
  "registrationDate": "1995-02-08",
  "endDate": null,
  "address": {
    "street": "Mārupes pag., Lidosta \"Rīga\", Tehnikas iela 3",
    "postalCode": "LV-1053",
    "city": "Mārupes nov.",
    "country": "LV",
    "full": "Mārupes nov., Mārupes pag., Lidosta \"Rīga\", Tehnikas iela 3"
  },
  "naceCodes": [],
  "vatNumber": null,
  "sepaCreditorId": "LV78ZZZ40003245752",
  "register": "Komercreģistrs",
  "financials": null,
  "source": "Firmsee – Latvian company data (live)",
  "licence": "Licensed for commercial reuse",
  "attribution": "Licensed for commercial reuse. Licence notices: https://api.eu.apyhub.com/nordic-data-tools/latvian-company-lookup",
  "sourceDate": null,
  "extractedAt": "2026-12-03",
  "_missing": {
    "naceCodes": "not_supported_for_country",
    "vatNumber": "not_supported_for_country",
    "financials": "not_supported_for_country",
    "sourceDate": "not_supported_for_country",
    "employees": "not_supported_for_country"
  },
  "fetched_at": "2026-12-03T07:00:26Z"
}
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
11-digit Latvian registration number starting with 4, 5 or 9.

About this endpoint

What it does

Returns the register record for a Latvian company from its 11-digit registration number.

Path Parameter

ParameterTypeDescription
regcodeStringRequired. 11-digit registration number starting with 4, 5 or 9, for example 40003245752.

Response

Returns a JSON object with country, companyNumber, name, legalForm, legalFormLocal, legalFormCode, status, inProceedings, registrationDate, endDate, address, naceCodes, vatNumber, sepaCreditorId, register, financials, source, licence, attribution, sourceDate, extractedAt, fetched_at, _missing.

ParameterTypeDescription
countryStringISO 3166-1 alpha-2 country code of the register.
companyNumberString11-digit registration number.
nameStringRegistered company name.
legalFormStringLegal form in English.
legalFormLocalStringLegal form in the local language.
legalFormCodeStringRegister code for the legal form.
statusStringCompany status, for example Active or Ceased.
inProceedingsBooleantrue when the company is in insolvency, liquidation or similar proceedings.
registrationDateStringDate the company was registered (YYYY-MM-DD).
endDateStringDate the company ended (YYYY-MM-DD). null while active.
addressObjectRegistered address.
address.streetStringStreet and number.
address.postalCodeStringPostal code.
address.cityStringCity or town.
address.countryStringCountry code.
address.fullStringFull address on one line.
naceCodesObject ArrayAlways empty: not supported for Latvia.
naceCodes[].codeStringIndustry code.
naceCodes[].labelStringIndustry name. null when the register gives no label.
vatNumberNullAlways null: not supported for Latvia.
sepaCreditorIdStringSEPA creditor identifier.
registerStringRegister the company is in, for example Komercreģistrs.
financialsNullAlways null: not supported for Latvia.
sourceStringName of the data source.
licenceStringLicence that applies to the data.
attributionStringAttribution text to show when you display the data.
sourceDateNullAlways null: not supported for Latvia.
extractedAtStringDate the record was extracted (YYYY-MM-DD).
_missingObjectFields that are empty or null, with the reason: not_supported_for_country, not_available_in_source_record or not_published_for_company_type. Only present when a field is missing.
fetched_atStringTime the record was fetched (ISO 8601, UTC).

Notes

  • A number that is not in the register returns 404 with Registration number not found. The check digit is not validated, so a mistyped number also returns 404.
  • Industry codes, VAT number and financials are not available for Latvia.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.