API Date Firme România

Datele oricărei firme din România, după CUI, direct în CRM-ul tău

Search for a Company

Romania

Integrare prin API



Firmeo.ro provides an API (Application Programming Interface) for easier access to company data, usable with any of the Economic, Standard or Superior packages. Our API is REST-based and can be queried from various programming languages or libraries (Curl, PHP, jQuery, Python, Ruby).

To make it easier to retrieve the balance sheet you need, please add "an_bilant" (balance sheet year) to your query. This helps us quickly and efficiently identify the period for which you are requesting the balance sheet.

Support for API and plugin integration is provided by email only, at .



/* ******************************** */
/* The API system can only be used  */
/* with the Economic,               */
/* Standard or Superior packages!!! */
/* Support: [email protected]       */
/* ******************************** */

$url = "https://firmeo.ro/api.php";

$data['user'] = "[email protected]"; //the email address used to log in to your account$data['api_key'] = "SDKDGKSKGSDKGS"; //the code generated from my account after logging in: https://firmeo.ro/setari.php
$data['cif'] = "41292670"; //CUI of the company being queried

$options = array(
    'http' => array(
        'header'  => "Content-type: application/x-www-form-urlencoded\r\n",
        'method'  => 'POST',
        'content' => http_build_query($data),
    ),
);
$context  = stream_context_create($options);
$result = file_get_contents($url, false, $context);

if ($result === FALSE)
{
    echo "API error";
}

print_r (json_decode($result,true));
    

    

This is an example of a JSON response received from the API:


// Exemplu ilustrativ (date fictive), cu structura reală a răspunsului

// 1) Cerere cu user, api_key și cif: datele firmei, anii cu bilanț și contactele
{
"firma":{
    "cif":"12345678",
    "an_infiintare":"2015",
    "caen":"4690",
    "reg_com":"J2015000123456",
    "denumire":"EXEMPLU DISTRIBUTIE SRL",
    "judetul":"CLUJ",
    "localitate":"Cluj-Napoca",
    "adresa":"Str. Exemplului nr. 1",
    "cod_postal":"400001",
    "tva":"2016-03-01",
    "tva_la_incasare":"0",
    "stare_anaf":"1",
    "actualizare":"2026-10-02 04:03:46"
},
"ani_bilant":"2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025",
"extra":[
    {"tip":"conducere","valoare":"Nume Prenume","observatii":""},
    {"tip":"mobil","valoare":"07xx xxx xxx","observatii":""},
    {"tip":"email","valoare":"[email protected]","observatii":""},
    {"tip":"website","valoare":"www.exemplu.ro","observatii":""}
],
"user":{
    "utilizator":"[email protected]",
    "credit_initial":"500",
    "credit_ramas":"499"
    }
}

// 2) Aceeași cerere + an_bilant=2025: bilanțul pe anul ales
{
"firma":{
    "cif":"12345678"
},
"bilant":{
    "an":"2025",
    "cifra_de_afaceri_neta":"2952255",
    "profit_net":"625486",
    "salariati":"17",
    "capitaluri_total":"1683182",
    "datorii":"471317",
    "venituri":"2960110",
    "cheltuieli":"2210450",
    "stocuri":"184200"
},
"user":{
    "utilizator":"[email protected]",
    "credit_initial":"499",
    "credit_ramas":"499"
    }
}