curl --request GET \
--url https://api.syrto.ai/companies/{id}/similar \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.syrto.ai/companies/{id}/similar"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.syrto.ai/companies/{id}/similar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.syrto.ai/companies/{id}/similar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.syrto.ai/companies/{id}/similar"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.syrto.ai/companies/{id}/similar")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syrto.ai/companies/{id}/similar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"seedCompanyId": "<string>",
"year": 123,
"revenueRangeApplied": {
"min": 123,
"max": 123
},
"geographyApplied": [
"<string>"
],
"resultsCount": 5,
"results": [
{
"companyId": "<string>",
"legalName": "<string>",
"taxId": "<string>",
"consolidated": true,
"matchScore": 0.5,
"activityOverview": "<string>",
"naceClass": "<string>",
"nuts3": "<string>",
"year": 123,
"financialStatementDate": "2023-12-25",
"revenuesFromSalesAndServices": 123,
"ebitdaMargin": 123,
"ebitMargin": 123,
"employeeCount": 123,
"revenueCagr3Years": 123
}
]
},
"meta": {
"requestId": "<string>",
"endpoint": "<string>",
"usage": {
"quantity": 123,
"unit": "<string>"
},
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Aziende simili
Ricerca semantica sulla descrizione dell’attività del seed all’interno di una fascia di ricavi e di un’area, dalla corrispondenza migliore; meno di dieci quando meno raggiungono una similarità di 0,7. Prezzo: 150 crediti. 404, mai addebitato, quando non si trova alcuna azienda comparabile.
curl --request GET \
--url https://api.syrto.ai/companies/{id}/similar \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.syrto.ai/companies/{id}/similar"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.syrto.ai/companies/{id}/similar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.syrto.ai/companies/{id}/similar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.syrto.ai/companies/{id}/similar"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.syrto.ai/companies/{id}/similar")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syrto.ai/companies/{id}/similar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"seedCompanyId": "<string>",
"year": 123,
"revenueRangeApplied": {
"min": 123,
"max": 123
},
"geographyApplied": [
"<string>"
],
"resultsCount": 5,
"results": [
{
"companyId": "<string>",
"legalName": "<string>",
"taxId": "<string>",
"consolidated": true,
"matchScore": 0.5,
"activityOverview": "<string>",
"naceClass": "<string>",
"nuts3": "<string>",
"year": 123,
"financialStatementDate": "2023-12-25",
"revenuesFromSalesAndServices": 123,
"ebitdaMargin": 123,
"ebitMargin": 123,
"employeeCount": 123,
"revenueCagr3Years": 123
}
]
},
"meta": {
"requestId": "<string>",
"endpoint": "<string>",
"usage": {
"quantity": 123,
"unit": "<string>"
},
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "missing_api_key",
"message": "<string>",
"requestId": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Autorizzazioni
Chiave API di organizzazione WorkOS (sk_...), inviata come Authorization: Bearer <key>. Gli admin creano e revocano le chiavi nella dashboard Syrto: https://dashboard.syrto.ai/api-keys
Parametri del percorso
Un companyId (id Syrto di un record di bilancio, inizia con Zm86) o un codice fiscale (partita IVA di 11 cifre o codice fiscale di 16 caratteri). Un codice fiscale si risolve nel record selezionato da statementBasis.
1 - 100"02579690039"
Parametri della query
EUR. Predefinito: i ricavi del seed - 30%.
x >= 0EUR. Predefinito: i ricavi del seed + 30%.
x >= 0Codici NUTS. Predefinito: l'area macro del seed per le dimensioni XS/S/M, tutta Italia per L.
1 - 20 elementsEsercizio (2015-2100). Omesso: l'ultimo bilancio depositato. Gli anni previsionali non vengono mai restituiti.
2015 <= x <= 2100Lingua di nomi, etichette e descrizioni delle metriche (mai dei nomi dei campi o degli slug). Omessa: la lingua predefinita dell'account.
it, en Questa pagina è stata utile?