The CégadatAPI is a RESTful API designed to provide real-time access to accurate and up-to-date data on Hungarian companies. This service enables developers to integrate comprehensive company information into their applications, including ERP, CRM, and invoicing systems. The API retrieves data directly from the Hungarian Ministry of Justice’s Company Information Service, ensuring reliability and compliance with official records.
To use the API, an API key is required. You can obtain your API key by registering at
cegadatapi.hu/registration.
The key must be included in every request via the X-Api-Key header.
GET api.cegadatapi.hu/v1/search
Parameter | Type | Description | Example |
---|---|---|---|
HEADER | |||
X-Api-Key | string | Required. API key sent in the header. | |
GET | |||
name | string |
For searching by company name. Minimum 4 characters. |
name=Welldata |
vatNumber | number | Search by tax number. Exact match required. | vatNumber=32305964243 |
registryNumber | number | Search by company registration number. Exact match required. | registryNumber=0109417185 |
sensitivity | number |
Sensitivity for company name search.
0 - Typo-tolerant (default) Supports misspellings and displays results in order of relevance. 1 - Partial match Results partially or fully contain the search term without typos. 2 - Exact match Returns results only for exact short or full company name matches. |
sensitivity=1 |
limit | number |
Maximum number of results. Value between 1 and 100. Default: 50 |
limit=100 |
page | number | Pagination, if there are multiple pages of results. | page=2 |
status | enum |
Company status. Possible values: "Aktív", "Eljárás alatt" ("Active", "Under procedure") |
status=Aktív |
curl -G "https://api.cegadatapi.hu/v1/search" -H "X-Api-Key: 12345678" --data-urlencode "name=WellData"
{
"status": true,
"response": {
"meta": {
"current": 1,
"total_pages": 1,
"total_results": 1,
"size": 50
},
"results": [
{
"id": "32305964243",
"vatNumber": "32305964243",
"fullName": "WellData Korlátolt Felelősségű Társaság",
"shortName": "WellData Kft.",
"status": "Aktív"
}
]
}
}
GET api.cegadatapi.hu/v1/detail
Parameter | Type | Description | Example |
---|---|---|---|
HEADER | |||
X-Api-Key | string | Required. API key sent in the header. | |
GET | |||
id | number | The company identifier, which is also its tax number. | id=32305964243 |
curl -G "https://api.cegadatapi.hu/v1/detail" -H "X-Api-Key: 12345678" --data-urlencode "id=32305964243"
{
"status": true,
"response": {
"results": {
"fullName": "WellData Korlátolt Felelősségű Társaság",
"shortName": "WellData Kft.",
"legalForm": "Korlátolt felelősségű társaság",
"fullAddress": "1193 Budapest, Derkovits Gyula utca 53.",
"addressCounty": "Budapest",
"addressPostalCode": "1193",
"addressCity": "Budapest",
"addressStreet": "Derkovits Gyula utca 53.",
"vatNumber": "32305964243",
"registryNumber": "0109417185",
"dateFounded": "2023-06-12",
"statisticalCode": "32305964639911301",
"website": "",
"phoneNumber": "",
"emailAddress": "[email protected]",
"reportDate": "2023-12-31",
"netRevenue": 28869000,
"shareholdersEquity": "11304000",
"operatingProfit": "12499000",
"earningsBeforeTaxes": "12422000",
"netSalesRevenues": "11304000",
"totalAssets": "15863000",
"employeeDate": "2023-12-31",
"employeeCount": 2,
"ownerCount": 1,
"owners": [
"Smidhoffer Vanessza Míra"
],
"managerCount": 1,
"managers": [
"Smidhoffer Vanessza Míra"
],
"principalActivity": "6399. M.n.s. egyéb információs szolgáltatás",
"activities": [
"6399. M.n.s. egyéb információs szolgáltatás",
"6311. Adatfeldolgozás, web-hoszting szolgáltatás",
"7311. Reklámügynöki tevékenység",
"6312. Világháló-portál szolgáltatás",
"6201. Számítógépes programozás",
"6202. Információ-technológiai szaktanácsadás",
"7022. Üzletviteli, egyéb vezetési tanácsadás",
"5812. Címtárak, levelezőjegyzékek kiadása",
"5829. Egyéb szoftverkiadás"
],
"bankAccounts": [
{
"bankName": "OTP Fiók Tapolca",
"accountNumber": "11748052-24863069-00000000"
},
{
"bankName": "OTP Veszprém m. Belföldiek Devizái",
"accountNumber": "11763488-58524886-00000000"
}
],
"branches": [],
"branchOffices": [],
"status": "Aktív"
}
}
}
If a request fails, the API returns an error message with an appropriate HTTP status code.
Error code | Status code | Message |
---|---|---|
1 | 400 | The provided API key is not valid |
2 | 400 | Invalid API call |
3 | 500 | Internal server error occurred |
4 | 400 | The provided keyword is too short |
5 | 401 | Invalid or expired subscription |
6 | 401 | Invalid or discontinued plan |
7 | 429 | The plan limit has been reached |
404 | 404 | Unknown endpoint |
{
"status": false,
"error": "Invalid API Key",
"errorCode": 1,
"statusCode": 400
}
The test API key allows for integration testing of the system. Please note that it is only suitable for simulating functionality and does not contain real data.
Trusted by Our Clients.