Get a company
curl --request GET \
--url http://localhost:4000/v2/impact/companies/{identifier} \
--header 'x-api-key: <api-key>'import requests
url = "http://localhost:4000/v2/impact/companies/{identifier}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('http://localhost:4000/v2/impact/companies/{identifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4000",
CURLOPT_URL => "http://localhost:4000/v2/impact/companies/{identifier}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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 := "http://localhost:4000/v2/impact/companies/{identifier}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:4000/v2/impact/companies/{identifier}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:4000/v2/impact/companies/{identifier}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"domain": "<string>",
"nameOfFirm": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"phoneNumber": "<string>",
"eMailAddress": "<string>",
"yearEstablished": "<string>",
"keywords": [
"<string>"
],
"naicsCodes": [
123
],
"naicsDescriptions": [
"<string>"
],
"description": "<string>",
"certifications": [
"<string>"
],
"unverifiedCertifications": [
"<string>"
],
"revenue": {
"id": 123,
"label": "<string>",
"actual": {
"value": 123,
"currency": "<string>"
}
},
"size": {
"id": 123,
"label": "<string>",
"actual": 123
},
"location": {
"state": {
"_id": "<string>",
"type": "<string>",
"name": "<string>",
"code": "<string>",
"country": "<string>"
},
"country": {
"_id": "<string>",
"type": "<string>",
"name": "<string>",
"code": "<string>"
}
}
}{
"success": false,
"errorCode": "INVALID_INPUT",
"message": "Bad Request"
}{
"success": false,
"errorCode": "NOT_FOUND",
"message": "Company not found"
}Impact Intelligence
Get a company
Get impact data for a specific company
GET
/
v2
/
impact
/
companies
/
{identifier}
Get a company
curl --request GET \
--url http://localhost:4000/v2/impact/companies/{identifier} \
--header 'x-api-key: <api-key>'import requests
url = "http://localhost:4000/v2/impact/companies/{identifier}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('http://localhost:4000/v2/impact/companies/{identifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4000",
CURLOPT_URL => "http://localhost:4000/v2/impact/companies/{identifier}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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 := "http://localhost:4000/v2/impact/companies/{identifier}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:4000/v2/impact/companies/{identifier}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:4000/v2/impact/companies/{identifier}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"domain": "<string>",
"nameOfFirm": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"phoneNumber": "<string>",
"eMailAddress": "<string>",
"yearEstablished": "<string>",
"keywords": [
"<string>"
],
"naicsCodes": [
123
],
"naicsDescriptions": [
"<string>"
],
"description": "<string>",
"certifications": [
"<string>"
],
"unverifiedCertifications": [
"<string>"
],
"revenue": {
"id": 123,
"label": "<string>",
"actual": {
"value": 123,
"currency": "<string>"
}
},
"size": {
"id": 123,
"label": "<string>",
"actual": 123
},
"location": {
"state": {
"_id": "<string>",
"type": "<string>",
"name": "<string>",
"code": "<string>",
"country": "<string>"
},
"country": {
"_id": "<string>",
"type": "<string>",
"name": "<string>",
"code": "<string>"
}
}
}{
"success": false,
"errorCode": "INVALID_INPUT",
"message": "Bad Request"
}{
"success": false,
"errorCode": "NOT_FOUND",
"message": "Company not found"
}Authorizations
apiKeyAuthbearerAuthsessionIdQuery
Response
Get impact data for a specific company response