API Date Firme - Contacte, Identificare, Administratori, Financiare si Rapoarte
Prezentare generala
API-ul RisCo.ro iti pune la dispozitie informatii despre o firma furnizand CUI-ul acesteia si informatiile de autentificare. Api-ul este de tip REST, interogarea se poate face din diverse limbaje de programare sau librarii (Curl, PHP, Python, Ruby) cat si direct intr-un browser (HTTP).
Transferul de date prin API RisCo se efectueaza prin canale de date cu viteze foarte mari, astfel incat timpul de prelucrare / actualizare este mai mic de 1 secunda!
Cele mai utilizate sisteme API RisCo sunt cele de prelucrare a datelor de identificare a firmelor si care sunt introduse in aplicatiile locale ale firmelor - de ex in aplicatia de facturare!
Avantajele acestor servicii sunt urmatoarele:
- Preluarea si integrarea datelor furnizate direct in sistemele locale fara a fi necesara interventia operatorilor,
- Viteza mare de transmisie a datelor - secunde sau chiar sub o secunda in functie de serviciul ales,
- Posibilitatea prelucrarii locale a datelor si afisarii acestora in formatele si locurile dorite,
- Asigurarea transferului unor volume mari de date necesare activitatii firmelor cu multiple departamente,
- Eliminarea redundantei datelor si/sau rapoartelor solicitate,
- Management global si facil privind tipurile de date solicitate,
- Transmiterea datelor se face prin comunicatie securizata si acces pe baza de user, parola si IP.
Seturile de informatii oferite sunt:
- IID - Informatii de Identificare: denumire firma, adresa, cod de inmatriculare, CAEN, TVA la Incasare, Status TVA, inactiv fiscal, Split TVA
- STS - Status Firma: denumire firma, stare firma, TVA la incasare
- RAT - Rating Financiar: sistem prin care fiecarei firme i se asociaza un calificativ in functie de rezultatele financiare si raportat la industria din care face parte aceasta
- FIN - Date Financiare ale firmei pe ultimii 4 ani: cifra de afaceri, profit, pierderi si toate campurile financiare
- BNV - Bonitate vanzari - denumire, cifra de afaceri, profit net, salariati, cash, clienti, incasare
- NOI - Firme nou infiintate - denumire, cod fiscal, judet, tara, adresa, forma legala
- RES - Datorii restante - datoriile la bugetul de stat (principal, somaj, sanatate, asigurari
- LCO - Limite comerciale - Limite comerciale pentru facturi si bilete la ordin
- MOF - Monitorul Oficial - Ultimele inregistrari ale firmei din Monitorul Oficial.v
- ACT - Actionari si Participatii in alte companii - Persoanele care au calitate de Actionar cu procentul detinut si persoanele care au calitatea de Administrator.
- EXT - Date Financiare Extinse - Imobilizari corporale, Active imobilizate Stocuri, Creante, Casa, Active circulante, Cheltuieli in avans, Datorii termen scurt, Datorii termen lung, Provizioane, Venituri in avans, Capitaluri proprii, Cifra de afaceri, Venituri din exploatare, Materii prime, Alte Cheltuieli Materiale, Marfuri, Personal, Amortizari, Profit din exploatare, Pierdere din exploatare, Venituri financiare, Dobanzi, Cheltuieli financiare, Impozit, Profit, Pierdere, Salariati
- JST - Procese in Instanta - lista ultimelor 100 procese in instanta dupa data ultimei modificari
- AEGRM - Arhiva Electronica de Garantii Reale Mobiliare - lista inregistrarilor ordonate dupa data, cele mai noi primele
- EFACTURA - Informatii Firme - eFactura - denumire firma, adresa, cod de inmatriculare, CAEN, TVA la Incasare, Status TVA, inactiv fiscal, Split TVA, detalii firma/adresa in format eFactura
- LT - Licente Transportatori: arata licentele de transport ale unei firme
- PDL - Puncte de lucru firme: arata punctele de lucru ale unei firme
- CAEN - Caen firme: arata codurile CAEN principale si secundare ale unei firme
Accesarea se face printr-o cerere tip HTTP GET catre site-ul risco.ro, iar raspunsul este de tip json sau xml si care contine datele solicitate sau un mesaj de eroare.
Erori
In cazul in care apare o eroare, raspunsul va fi de forma:
{
“error”: “Utilizati un camp utilizator valid.”
}
In headerul raspunsului de eroare vom gasi status code corespunzator:
400 Bad Request (date gresite)
401 Unauthorised access (access nepermis)
429 Too Many Request (numar de accesari pe zi depasit)
In cazul in care nu exista erori, raspunsul va fi insotit de status code:
200 OK
De asemenea, fiecare request care se intoarce cu status 200 OK va avea urmatoarele headere:
X-Access-Day - cate accesari au fost efectuate de utilizator in ziua respectiva
X-Access-Day-Remain - cate accesari mai pot fi efectuate de utilizator in ziua respectiva
X-Balance - Sold utilizator
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
Testare API
API Risco se poate TESTA GRATUIT folosind utilizatorul newuser@risco.ro si api_key 5c4c1sd67c7817685064ca594d6571ef ca in exemplele de mai jos.
Se pot cere informatii doar pentru un set limitat de CUI-uri, respectiv 33741906, 14399840, 2816464, 2864518, 5888716, 9010105.
Pentru interogarea altor firme decat cele de test este necesar folosirea email-ului de autentificare pe site-ul RisCo.ro, precum si a unui api_key personalizat obtinut de la echipa de suport.
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
API detalii
IID - Informatii Identificare Firma
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
dataUltimeiActualizari | data actualizarii informatiilor despre sediul si starea firmei in sistemul RisCo |
---|---|
TVAlaIncasare | indicativ platitor TVA incasare |
caen | indicator clasa de activitate |
caen_desc | descriere indicator CAEN |
cifra_de_afaceri | cifra de afaceri inregistrata in anul anterior |
profit_net | profitul net inregistrat in anul anterior |
data_verificarii | data la care a fost facuta verificarea |
platitorTva | indicativ status TVA |
inactivFiscal | starea fiscala a societatii |
splitTVA | indicator plata defalcata |
curl -X GET "https://www.risco.ro/api/iid.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/iid.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/iid.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/iid.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/iid.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:47:21 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Status | 200 OK |
---|---|
Date | Mon, 23 Sep 2019 09:50:46 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 980 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
CONT - Contacte Publice
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
telefoane | Telefon companie |
---|---|
detalii | Ex. website, email, linkedin, facebook, twitter |
persoane | Ex. Administrator, Director General, Director Comercial |
curl -X GET "https://www.risco.ro/api/contacte.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/contacte.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/contacte.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/contacte.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/contacte.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:47:47 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:16 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 39 |
X-Access-Day-Remain | 961 |
X-Balance | 215 RON |
Content-Length | 253 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
STS - Status Firma
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
dataUltimeiActualizari | data actualizarii informatiilor despre sediul si starea firmei in sistemul RisCo |
---|---|
TVAlaIncasare | indicativ platitor TVA incasare |
caen | indicator clasa de activitate |
caen_desc | descriere indicator CAEN |
curl -X GET "https://www.risco.ro/api/sts.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/sts.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/sts.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/sts.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/sts.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:47:47 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:16 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 39 |
X-Access-Day-Remain | 961 |
X-Balance | 215 RON |
Content-Length | 253 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
FIN - Date Financiare Firma
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
F10_0042 | Activ Imobilizat |
---|---|
F10_0052 | Stocuri |
F10_0062 | Creante |
F10_0082 | Casa |
F10_0092 | Activ circulant |
F10_0102 | Cheltuieli in avans |
F10_0112 | Datorii totale |
F10_0162 | Venituri in avans |
F10_0222 | Capital social |
F10_0372 | Capitaluri proprii |
F20_0012 | Cifra de afaceri |
F20_0602 | Venituri totale |
F20_0612 | Cheltuieli totale |
F20_0622 | Profitul brut |
F20_0632 | Pierderea bruta |
F20_0672 | Profit net |
F20_0682 | Pierderea neta |
curl -X GET "https://www.risco.ro/api/fin.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/fin.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/fin.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/fin.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/fin.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
RAT - Rating Financiar
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
F10_0042 | Activ Imobilizat |
---|---|
F10_0052 | Stocuri |
F10_0062 | Creante |
F10_0082 | Casa |
F10_0092 | Activ circulant |
F10_0102 | Cheltuieli in avans |
F10_0112 | Datorii totale |
F10_0162 | Venituri in avans |
F10_0222 | Capital social |
F10_0372 | Capitaluri proprii |
F20_0012 | Cifra de afaceri |
F20_0602 | Venituri totale |
F20_0612 | Cheltuieli totale |
F20_0622 | Profitul brut |
F20_0632 | Pierderea bruta |
F20_0672 | Profit net |
F20_0682 | Pierderea neta |
curl -X GET "https://www.risco.ro/api/rat.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/rat.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/rat.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/rat.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/rat.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
LT - Licente Transportatori
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/api/transportatori.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/transportatori.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/transportatori.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/transportatori.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/transportatori.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
PDL - Puncte de lucru firme
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/v3/api/puncte-de-lucru.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/v3/api/puncte-de-lucru.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/v3/api/puncte-de-lucru.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/v3/api/puncte-de-lucru.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/v3/api/puncte-de-lucru.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
CAEN - Caen firme
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/v3/api/caen-firme.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/v3/api/caen-firme.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/v3/api/caen-firme.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/v3/caen-firme.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/v3/api/caen-firme.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
BNV - Bonitate Vanzari
Denumire, cifra de afaceri, profit net, salariati, cash, clienti, incasare
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
cifra afaceri | cifra de afaceri inregistrata in anul anterior |
---|---|
profit net | profitul net inregistrat in anul anterior |
salariati | numarul de angajati declarati in anul anterior |
cash | estimare sume disponibile in casa/cont |
clienti | estimare creante detinute de clienti |
incasare | estimare termen de incasare creante |
curl -X GET "https://www.risco.ro/api/bnv.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/bnv.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/bnv.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/bnv.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/bnv.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
NOI - Firme nou infiintate
Denumire, cod fiscal, judet, tara, adresa, forma legala
Nota: Cererea NOI nu se poate testa.
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru data de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
data | Data pentru care se cer firmele nou infiintate in format AAAA-LL-ZZ (ex. 2019-10-03) Este data la care noi preluam firmele, nu data infiintarii firmei. |
forma_legala | forma organizare activitate |
---|---|
adaugata_la | data inregistrare firma noua |
curl -X GET "https://www.risco.ro/api/noi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&response_type=json&data=2019-10-03"
GET https://www.risco.ro/api/noi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&response_type=json&data=2019-10-03 HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/noi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&response_type=json&data=2019-10-03",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/noi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&response_type=json&data=2019-10-03'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/noi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&response_type=json&data=2019-10-03")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
RES - Datorii Restante
datoriile la bugetul de stat (principal, somaj, sanatate, asigurari)
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
total_datorii | total datorii inregistrate |
---|---|
bugetul_de_stat_datorii | total datorii inregistrare la bugetul de stat |
bugetul_asig_de_stat_datorii | total datorii inregistrare la bugetul asigurarilor de stat |
bugetul_asig_somaj_datorii | total datorii inregistrare la bugetul asigurarilor de somaj |
bugetul_asig_sanatate_datorii | total datorii inregistrare la bugetul de sanatate |
bugetul_de_stat_datorii_principal | datorii principale inregistrate la bugetul de stat |
bugetul_asig_de_stat_datorii_principal | datorii principale inregistrate la bugetul asigurarilor de stat |
bugetul_asig_somaj_datorii_principal | datorii principale inregistrate la bugetul asigurarilor de somaj |
bugetul_asig_sanatate_datorii_principal | data inregistrare firma noua |
bugetul_de_stat_datorii_accesorii | datorii accesorii inregistrate la bugetul de stat |
bugetul_asig_de_stat_datorii_accesorii | datorii accesorii inregistrate la bugetul asigurarilor de stat |
bugetul_asig_somaj_datorii_accesorii | datorii accesorii inregistrate la bugetul asigurarilor de somaj |
bugetul_asig_sanatate_datorii_accesorii | datorii accesorii inregistrate la bugetul de sanatate |
bugetul_de_stat_compensate | datorii compensate la bugetul de stat |
bugetul_asig_de_stat_compensate | datorii compensate la bugetul asigurarilor de stat |
bugetul_asig_somaj_compensate | datorii compensate la bugetul asigurarilor de somaj |
bugetul_asig_sanatate_compensate | datorii compensate la bugetul de sanatate |
istoric_restante_ani | datoriile inregistrate din ultimii 3 ani |
bugetul_de_stat | Istoric datorii bugetul de stat |
bugetul_asigurarilor_stat | Istoric datorii bugetul asigurarilor de stat |
asigurari_somaj | Istoric datorii bugetul asigurarilor de somaj |
asigurari_sanatate | Istoric datorii bugetul de sanatate |
curl -X GET "https://www.risco.ro/api/res.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/res.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/res.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/res.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/res.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
LCO - Limite Comerciale
limite comerciale pentru facturi si bilete la ordin
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
denumire | tipul facturii pentru care se aplica limita de plata |
---|---|
zile | numarul de zile pentru care se calculeaza limita de facturare |
suma | costul maxim indicat pentru facturare |
curl -X GET "https://www.risco.ro/api/lco.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/lco.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/lco.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/lco.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/lco.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
MOF - Monitorul Oficial
ultimele inregistrari ale firmei din Monitorul Oficial.
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
titlu | denumirea documentului oficial |
---|---|
nrPub | numarul documentului publicat |
DataPub | data publicarii in monitorul oficial |
paragrafe | continutul documentului publicat |
curl -X GET "https://www.risco.ro/api/mof.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/mof.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/mof.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/mof.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/mof.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
ACT - Actionari si Participatii in alte companii
Actionari si Participatii in alte companii.
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
cui | codul unic de identificare |
---|---|
name | nume companie |
codj | numarul de ordine din Registrul Comertului |
state | stare firma (0 = functiune, 1 = dizolvare, 4 = lichidare) |
caen_decl | cod caen declarat la constituire |
caen_real | cod caen realizat in anul curent |
admins | lista administratori companie |
actjur | lista actionari persoane juridice |
actfiz | lista actionari persoane fizice |
curl -X GET "https://www.risco.ro/api/act.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/act.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/act.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/act.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/act.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
EXT - Date Financiare Extinse
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
cui | Codul fiscal al firmei interogate |
---|---|
an | Anul pentru care sunt prezentate datele extinse |
status | Indica prezenta datelor cu valoarea `valid` |
imobilizari_corporale | Imobilizari corporale |
active_imobilizate | Active imobilizate |
stocuri | Stocuri |
creante | Creante |
casa | Casa |
active_circulante | Active circulante |
cheltuieli_in_avans | Cheltuieli in avans |
datorii_termen_scurt | Datorii termen scurt |
datorii_termen_lung | Datorii termen lung |
provizioane | Provizioane |
venituri_in_avans | Venituri in avans |
capital_social | Capital social |
capitaluri_proprii | Capitaluri proprii |
cifra_de_afaceri | Cifra de afaceri |
venituri_din_exploatare | Venituri din exploatare |
materii_prime | Materii prime |
alte_cheltuieli_materiale | Alte cheltuieli materiale |
marfuri | Marfuri |
personal | Personal |
amortizari | Amortizari |
profit_din_exploatare | Profit din exploatare |
pierdere_din_exploatare | Pierdere din exploatare |
venituri_financiare | Venituri financiare |
dobanzi | Dobanzi |
cheltuieli_financiare | Cheltuieli financiare |
impozit | Impozit |
profit | Profit |
pierdere | Pierdere |
salariati | Salariati |
lichiditate_imediata | Lichiditate imediata |
lichiditate_curente | Lichiditate curente |
lichiditate_cash | Lichiditate cash |
ebitda | EBITDA |
marja_ebitda | Marja EBITDA |
ebit | EBIT |
marja_ebit | Marja EBIT |
capacitate_plata_dobanzi | Capacitate plata dobanzi |
caen | Cod CAEN |
curl -X GET "https://www.risco.ro/api/ext.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/ext.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/ext.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/ext.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/ext.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
JST - Procese in Instanta
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
numar_dosar | Numar dosar (se intorc doar dosarele avand numarul indicat) |
nume_parte | Nume parte dosar (se intorc doar dosarele ce contin cuvintele indicate la nume parte) |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
cui | Codul fiscal al firmei interogate |
---|---|
numarTotal | Numarul total de dosare inregistrate pentru firma interogata |
returnate | Numarul de dosare returnate in functie de parametrii cererii curente (maxim 100, ordonate descrescator dupa data ultimei modificari) |
dosare | Lista dosarelor returnate (intre 0 si 100 - inclusiv) |
numar | Numar dosar |
data | Data dosarului |
institutie | Numele institutiei de care apartine dosarul |
departament | Departamentul |
categorieCaz | Categoria |
stadiuProcesual | Stadiu procesual |
obiect | Obiectul dosarului |
calitateParte | Calitate parte in dosar |
dataModificare | Data ultimei modificari a dosarului |
parti | Lista de parti a dosarului (poate fi goala) |
nume | Nume parte |
calitateParte | Calitate parte |
sedinte | Lista de sedinte a dosarului (poate fi goala) |
complet | Complet sedinta |
data | Data sedintei |
ora | Ora sedintei |
solutie | Solutie sedinta |
solutieSumar | Sumar solutie sedinta |
dataPronuntare | Data pronuntarii |
documentSedinta | Document sedinta |
numarDocument | Numarul documentului |
dataDocument | Data documentului |
curl -X GET "https://www.risco.ro/api/jst.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/jst.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/jst.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/jst.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/jst.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
ADM - Administratori Firme
Administratorii unei firme pe baza cui-ului firmei
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/api/adm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/adm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/adm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/adm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/adm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
BI - Buletine de Insolventa
Arata daca pentru o firma s-a declansat procedura de insolventa si etapele parcurse si detaliile aferente
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/api/bi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/bi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/bi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/bi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/bi.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
PIM - Probabilitatea de Insolventa
Probabilitatea de Insolventa prezinta probabilitatea ca o firma sa nu isi mai poata achita obligatiile financiare fata de creditorii firmei, respectiv fata de furnizori si institutii
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
VAL - Valoare Firma
Valoare Firma - Valoarea cu care s-ar putea vinde acea firma pe baza rezultatelor financiare anterioare raportate si la industria din care face parte aceasta
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
curl -X GET "https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/pim.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
CIP Request- Initiere generare raport CIP asincron
Initiere generare raport CIP asincron, returneaza string "order" pe baza caruia se poate verifica statusul comenzii
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_url_reply | Url-ul catre care se va trimite raspunsul CIP la finalizarea generarii lui (exemplu: https://www.example.com/response_url_reply) |
curl -X 'POST' 'https://bogdanm.risco.ro/api/requestCip.php?api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&user=newuser%40risco.ro' -H 'accept: application/json' -d ''
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
CIP Status - Status cerere CIP
CIP Status - Status cerere CIP pe baza de "order" returnat de metoda de initiere CIP Request
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
order | Order-ul primit la initierea comenzii de CIP |
curl -X 'GET' 'https://bogdanm.risco.ro/api/statusCip.php?api_key=5c4c1sd67c7817685064ca594d6571ef&user=newuser%40risco.ro&order=5c4c1sd67c7817685064ca594d6571ef%20' -H 'accept: application/json'
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
AEGRM - Arhiva Electronica de Garantii Reale Mobiliare
Arhiva electronica de garantii reale mobiliare
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
page | Numarul paginii pentru care se intorc inregistrarile (implicit pagina 1) |
response_type | Tipul de date intors: json |
cui | CUI-ul pentru care a fost realizata interogarea |
---|---|
date | data la care a fost facuta cererea (RFC3339, i.e. 2021-07-14T13:50:15+03:00) |
totalRecords | numarul total de inregistrari existente |
records | lista inregistrarilor, cele mai noi primele |
yearRecords | o lista cu numarul de inregistrari in functie de an |
pageSize | numarul de inregistrari pe pagina |
page | numarul paginii pentru care a fost realizata interogarea |
id | numar unic de inregistrare |
---|---|
tip | tipul inregistrarii |
data | data inregistrarii (RFC3339, i.e. 2021-07-14T13:50:15+03:00) |
dataExpirare | data de expirare (RFC3339, i.e. 2021-07-14T13:50:15+03:00) |
tipAct | tipul actului |
numarAct | numarul de inregistrare al actului |
dataAct | data inregistrarii (RFC3339, i.e. 2021-07-14T13:50:15+03:00) |
utilizator | utilizator |
destinatie | destinatie |
legatura | legatura cu alte inregistrari |
totalCreditori | numarul total de creditori |
creditori | o lista a creditorilor (se intoarce o lista partiala) |
totalDebitori | numarul total de debitori |
debitori | o lista a debitorilor (se intoarce o lista partiala) |
detaliuComun | detaliu comun |
totalMobile | numar total bunuri mobile |
mobile | o lista a bunurilor mobile (se intoarce o lista partiala) |
totalVehicule | numar total bunuri vehicule |
vehicule | o lista a bunurilor vehicule (se intoarce o lista partiala) |
totalAltele | numar total bunuri - altele |
altele | o lista a bunurilor - altele (se intoarce o lista partiala) |
totalIstoric | numarul total al inregistrarilor din istoric |
istoric | o lista a inregistrarilor din istoric, cele mai noi sunt primele (se intoarce o lista limitata ce include si inregistrarea initiala) |
initiala | numar unic de inregistrare al inregistrarii initiale |
---|---|
modificata | numar unic de inregistrare al inregistrarii modificate |
modificatoare | numar unic de inregistrare al inregistrarii modificatoare |
modificareRang | numar unic de inregistrare al inregistrarii de modificare a rangului |
cui | codul fiscal |
---|---|
identificare | numar ordine registrul comertului |
nume | denumire |
tip | tip persoana juridica |
calitate | calitate |
adresa | adresa sediu |
altele | alte detalii |
subscriptor | subscriptor |
cid | ID utilizat cu lista `cidConstituitori` |
nume | nume |
---|---|
tip | tip - `persoana fizica` |
adresa | adresa |
altele | alte detalii |
subscriptor | subscriptor |
cid | ID utilizat cu lista `cidConstituitori` |
titlu | titlu |
---|---|
identificare | detalii identificare |
cidConstituitori | o lista cu ID constituitori (corespondenta cu campul `cid`) |
totalProprietari | numarul total de proprietari |
proprietari | o lista de proprietari (se intoarce o lista partiala) |
cidProprietariDebitori | o lista cu ID proprietari debitori (corespondenta cu campul `cid`) |
model | model vehicul, an, serie sasiu |
---|---|
descriere | descriere |
cidConstituitori | o lista cu ID constituitori (corespondenta cu campul `cid`) |
tip | tip bun |
---|---|
titlu | titlu |
identificare | detalii identificare |
descriere | descriere |
cidConstituitori | o lista cu ID constituitori (corespondenta cu campul `cid`) |
totalTerti | numar total terti |
terti | o lista de terti (se intoarce o lista partiala) |
curl -X GET "https://www.risco.ro/api/aegrm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=2864518&response_type=json"
GET https://www.risco.ro/api/aegrm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=2864518&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/aegrm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=2864518&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/aegrm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=2864518&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/aegrm.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=2864518&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 200 OK |
---|---|
Date | Tue, 24 Sep 2019 12:39:25 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
X-Access-Day | 40 |
X-Access-Day-Remain | 960 |
X-Balance | 215 RON |
Content-Length | 3424 |
Connection | close |
Content-Type | application/json |
|
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:48:13 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.
EFACTURA - Informatii Firma - eFactura
user | Campul utilizator de la logarea in contul RisCo.ro |
---|---|
api_key | Cheie personalizata generata din cont https://www.risco.ro/dashboard/api-key (sau cheia pentru testare 5c4c1sd67c7817685064ca594d6571ef doar pentru cui-urile de test. ATENTIE! Datele de test sunt doar pentru exemplificare, nu sunt cele reale.) |
cui | Codul fiscal al firmei interogate |
response_type | Tipul de date intors (poate fi json sau xml, default json) |
dataUltimeiActualizari | data actualizarii informatiilor despre sediul si starea firmei in sistemul RisCo |
---|---|
TVAlaIncasare | indicativ platitor TVA incasare |
caen | indicator clasa de activitate |
caen_desc | descriere indicator CAEN |
cifra_de_afaceri | cifra de afaceri inregistrata in anul anterior |
profit_net | profitul net inregistrat in anul anterior |
data_verificarii | data la care a fost facuta verificarea |
platitorTva | indicativ status TVA |
inactivFiscal | starea fiscala a societatii |
splitTVA | indicator plata defalcata |
eFactura | Informatii firma conform denumirii campurilor eFactura |
companyID | CUI firma |
registrationName | Denumire firma |
country | Tara |
countrySubentity | Judet |
cityName | Localitate |
streetName | Adresa |
postalZone | Cod postal |
curl -X GET "https://www.risco.ro/api/efactura.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json"
GET https://www.risco.ro/api/efactura.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json HTTP/1.1
Host: www.risco.ro
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.risco.ro/api/efactura.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
import requests
url = 'https://www.risco.ro/api/efactura.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json'
payload = {}
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
require "uri"
require "net/http"
url = URI("https://www.risco.ro/api/efactura.php?user=newuser@risco.ro&api_key=5c4c1sd67c7817685064ca594d6571ef&cui=33741906&response_type=json")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
Status | 401 Authorization Required |
---|---|
Date | Tue, 24 Sep 2019 12:47:21 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 54 |
Connection | close |
Content-Type | application/json |
|
Status | 200 OK |
---|---|
Date | Mon, 23 Sep 2019 09:50:46 GMT |
Server | Apache |
X-Powered-By | PHP/5.5.21 |
Content-Length | 980 |
Connection | close |
Content-Type | application/json |
|
Dupa autentificare, navigheaza la sectiunea Dashboard ► Api Key, unde vei gasi informatiile necesare pentru a genera o cheie API.