List a company's metrics
curl --request GET \
--url https://api.vein.finance/v1/companies/{id}/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vein.finance/v1/companies/{id}/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vein.finance/v1/companies/{id}/metrics', 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.vein.finance/v1/companies/{id}/metrics",
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.vein.finance/v1/companies/{id}/metrics"
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.vein.finance/v1/companies/{id}/metrics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vein.finance/v1/companies/{id}/metrics")
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{
"object": "list",
"data": [
{
"company_id": "startup_acme",
"key": "cash_balance",
"label": "Cash Balance",
"currency": "USD",
"period": "2026-05-17",
"source": {
"system": "plaid",
"method": "api",
"last_synced": "2023-11-07T05:31:56Z"
},
"verification": {
"verified": true,
"signed": false,
"signature": "<string>",
"public_key_url": "<string>"
},
"confidence": "high",
"value": "$357,000",
"raw_value": 357000,
"category": "financial",
"as_of": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"url": "<string>",
"next_cursor": "<string>"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}API Reference
List a company's metrics
Returns the latest value of every available metric for the portfolio company id, each with full source attribution. Requires the metrics:read scope and an approved data-access grant from the company. The company must belong to the API key’s portfolio; otherwise the API returns 404 with code company_not_found (it does not disclose whether a company outside the portfolio exists).
GET
/
v1
/
companies
/
{id}
/
metrics
List a company's metrics
curl --request GET \
--url https://api.vein.finance/v1/companies/{id}/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vein.finance/v1/companies/{id}/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vein.finance/v1/companies/{id}/metrics', 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.vein.finance/v1/companies/{id}/metrics",
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.vein.finance/v1/companies/{id}/metrics"
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.vein.finance/v1/companies/{id}/metrics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vein.finance/v1/companies/{id}/metrics")
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{
"object": "list",
"data": [
{
"company_id": "startup_acme",
"key": "cash_balance",
"label": "Cash Balance",
"currency": "USD",
"period": "2026-05-17",
"source": {
"system": "plaid",
"method": "api",
"last_synced": "2023-11-07T05:31:56Z"
},
"verification": {
"verified": true,
"signed": false,
"signature": "<string>",
"public_key_url": "<string>"
},
"confidence": "high",
"value": "$357,000",
"raw_value": 357000,
"category": "financial",
"as_of": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"url": "<string>",
"next_cursor": "<string>"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "<string>",
"documentation_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Authorization: Bearer vein_sk_live_... or vein_sk_test_...
Path Parameters
The portfolio company id.

