curl --request POST \
--url https://api.pubrio.com/companies/search \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"company_name": "pubrio",
"companies": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"company_groups": [
123
],
"domains": [
"pubrio.com"
],
"linkedin_urls": [
"https://www.linkedin.com/company/pubrio"
],
"company_filters": {
"company_locations": [
"US"
],
"technologies": [
37,
152
],
"founded_dates": [
2015,
2023
],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
},
"locations": [
"US",
"SG",
"CN"
],
"exclude_locations": [
"CN",
"US",
"RU",
"CA"
],
"places": [
"Tokyo"
],
"exclude_places": [
"Tokyo"
],
"job_locations": [
"US",
"SG",
"CN"
],
"job_exclude_locations": [
"CN",
"US",
"RU",
"CA"
],
"job_posted_dates": [
"2025-01-01",
"2025-01-10"
],
"job_titles": [
"sales manager",
"marketing manager"
],
"verticals": [
123
],
"vertical_categories": [
123
],
"vertical_sub_categories": [
123
],
"categories": [
123
],
"technologies": [
123
],
"exclude_technologies": [
"Shopify"
],
"employees": [
[
1,
10
],
[
11,
20
],
[
10001
]
],
"revenues": [
0,
100000
],
"founded_dates": [
2018,
2024
],
"keywords": [
"ecommerce",
"ai",
"fintech"
],
"social_media": [
"tiktok"
],
"news_categories": [
"launches"
],
"news_published_dates": [
"2025-01-01",
"2025-01-10"
],
"advertisement_search_terms": [
"asus"
],
"advertisement_target_locations": [
"TW",
"AE",
"NO"
],
"advertisement_exclude_target_locations": [
"IS",
"GB",
"FR",
"IE",
"ES"
],
"advertisement_start_dates": [
"2025-12-25",
"2025-12-25"
],
"advertisement_end_dates": [
"2025-12-25",
"2025-12-25"
],
"advertisement_active_dates": [
"2026-01-01",
"2026-01-31"
],
"advertisement_status": [
"currently_running"
],
"advertisement_headlines": [
"limited time offer"
],
"advertisement_platforms": [
"linkedin",
"facebook"
],
"advertisement_publisher_platforms": [
"facebook",
"instagram"
],
"advertisement_exclude_publisher_platforms": [
"audience_network"
],
"advertisement_formats": [
"image",
"video"
],
"advertisement_active_ads": [
1,
null
],
"advertisement_running_ads": [
1,
null
],
"advertisement_total_ads": [
10,
null
],
"advertisement_platform_count": [
2,
null
],
"advertisement_format_count": [
2,
null
],
"advertisement_impressions_estimate": [
1000,
null
],
"advertisement_country_activity": {
"country": "US",
"rank": [
null,
500
]
},
"sort_by": "advertisement_country_rank",
"is_ascending_order": true,
"filter_conditions": [
{
"key": "keywords",
"operator": "or"
}
],
"is_enable_similarity_search": true,
"similarity_score": 0.7,
"query": "Food & Beverage companies in Singapore that recently expanded",
"exclude_fields": [
"emails",
"phones",
"contacts"
],
"is_parameter_metadata_available": true,
"is_profile_metadata_available": true,
"per_page": 25,
"page": 1,
"cloud_footprint_providers": [
"AWS",
"Cloudflare"
],
"cloud_footprint_exclude_providers": [
"AWS",
"Cloudflare",
"Hetzner"
],
"cloud_footprint_target_locations": [
"DE",
"SG"
],
"cloud_footprint_exclude_target_locations": [
"DE",
"US",
"SG"
],
"cloud_footprint_cloud_regions": [
"us-east-1",
"eu-central-1"
],
"cloud_footprint_exclude_cloud_regions": [
"us-east-1",
"eu-central-1"
],
"cloud_footprint_cities": [
"Ashburn",
"Frankfurt"
],
"cloud_footprint_exclude_cities": [
"Ashburn",
"Frankfurt"
],
"cloud_footprint_first_seen_dates": [
"2026-01-01",
null
],
"cloud_footprint_last_seen_dates": [
"2026-01-01",
null
],
"cloud_footprint_is_cross_border_only": true,
"cloud_footprint_host_count": [
1,
null
],
"cloud_footprint_server_count": [
1,
null
],
"cloud_footprint_shared_server_count": [
1,
null
],
"cloud_footprint_provider_count": [
1,
null
],
"cloud_footprint_country_count": [
1,
null
],
"cloud_footprint_cross_border_country_count": [
1,
null
],
"cloud_footprint_region_count": [
1,
null
],
"cloud_footprint_city_count": [
1,
null
],
"cloud_footprint_primary_provider": [
"AWS"
]
}
'import requests
url = "https://api.pubrio.com/companies/search"
payload = {
"company_name": "pubrio",
"companies": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"company_groups": [123],
"domains": ["pubrio.com"],
"linkedin_urls": ["https://www.linkedin.com/company/pubrio"],
"company_filters": {
"company_locations": ["US"],
"technologies": [37, 152],
"founded_dates": [2015, 2023],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
},
"locations": ["US", "SG", "CN"],
"exclude_locations": ["CN", "US", "RU", "CA"],
"places": ["Tokyo"],
"exclude_places": ["Tokyo"],
"job_locations": ["US", "SG", "CN"],
"job_exclude_locations": ["CN", "US", "RU", "CA"],
"job_posted_dates": ["2025-01-01", "2025-01-10"],
"job_titles": ["sales manager", "marketing manager"],
"verticals": [123],
"vertical_categories": [123],
"vertical_sub_categories": [123],
"categories": [123],
"technologies": [123],
"exclude_technologies": ["Shopify"],
"employees": [[1, 10], [11, 20], [10001]],
"revenues": [0, 100000],
"founded_dates": [2018, 2024],
"keywords": ["ecommerce", "ai", "fintech"],
"social_media": ["tiktok"],
"news_categories": ["launches"],
"news_published_dates": ["2025-01-01", "2025-01-10"],
"advertisement_search_terms": ["asus"],
"advertisement_target_locations": ["TW", "AE", "NO"],
"advertisement_exclude_target_locations": ["IS", "GB", "FR", "IE", "ES"],
"advertisement_start_dates": ["2025-12-25", "2025-12-25"],
"advertisement_end_dates": ["2025-12-25", "2025-12-25"],
"advertisement_active_dates": ["2026-01-01", "2026-01-31"],
"advertisement_status": ["currently_running"],
"advertisement_headlines": ["limited time offer"],
"advertisement_platforms": ["linkedin", "facebook"],
"advertisement_publisher_platforms": ["facebook", "instagram"],
"advertisement_exclude_publisher_platforms": ["audience_network"],
"advertisement_formats": ["image", "video"],
"advertisement_active_ads": [1, None],
"advertisement_running_ads": [1, None],
"advertisement_total_ads": [10, None],
"advertisement_platform_count": [2, None],
"advertisement_format_count": [2, None],
"advertisement_impressions_estimate": [1000, None],
"advertisement_country_activity": {
"country": "US",
"rank": [None, 500]
},
"sort_by": "advertisement_country_rank",
"is_ascending_order": True,
"filter_conditions": [
{
"key": "keywords",
"operator": "or"
}
],
"is_enable_similarity_search": True,
"similarity_score": 0.7,
"query": "Food & Beverage companies in Singapore that recently expanded",
"exclude_fields": ["emails", "phones", "contacts"],
"is_parameter_metadata_available": True,
"is_profile_metadata_available": True,
"per_page": 25,
"page": 1,
"cloud_footprint_providers": ["AWS", "Cloudflare"],
"cloud_footprint_exclude_providers": ["AWS", "Cloudflare", "Hetzner"],
"cloud_footprint_target_locations": ["DE", "SG"],
"cloud_footprint_exclude_target_locations": ["DE", "US", "SG"],
"cloud_footprint_cloud_regions": ["us-east-1", "eu-central-1"],
"cloud_footprint_exclude_cloud_regions": ["us-east-1", "eu-central-1"],
"cloud_footprint_cities": ["Ashburn", "Frankfurt"],
"cloud_footprint_exclude_cities": ["Ashburn", "Frankfurt"],
"cloud_footprint_first_seen_dates": ["2026-01-01", None],
"cloud_footprint_last_seen_dates": ["2026-01-01", None],
"cloud_footprint_is_cross_border_only": True,
"cloud_footprint_host_count": [1, None],
"cloud_footprint_server_count": [1, None],
"cloud_footprint_shared_server_count": [1, None],
"cloud_footprint_provider_count": [1, None],
"cloud_footprint_country_count": [1, None],
"cloud_footprint_cross_border_country_count": [1, None],
"cloud_footprint_region_count": [1, None],
"cloud_footprint_city_count": [1, None],
"cloud_footprint_primary_provider": ["AWS"]
}
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
company_name: 'pubrio',
companies: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
company_groups: [123],
domains: ['pubrio.com'],
linkedin_urls: ['https://www.linkedin.com/company/pubrio'],
company_filters: {
company_locations: ['US'],
technologies: [37, 152],
founded_dates: [2015, 2023],
filter_conditions: [{key: 'technologies', operator: 'and'}]
},
locations: ['US', 'SG', 'CN'],
exclude_locations: ['CN', 'US', 'RU', 'CA'],
places: ['Tokyo'],
exclude_places: ['Tokyo'],
job_locations: ['US', 'SG', 'CN'],
job_exclude_locations: ['CN', 'US', 'RU', 'CA'],
job_posted_dates: ['2025-01-01', '2025-01-10'],
job_titles: ['sales manager', 'marketing manager'],
verticals: [123],
vertical_categories: [123],
vertical_sub_categories: [123],
categories: [123],
technologies: [123],
exclude_technologies: ['Shopify'],
employees: [[1, 10], [11, 20], [10001]],
revenues: [0, 100000],
founded_dates: [2018, 2024],
keywords: ['ecommerce', 'ai', 'fintech'],
social_media: ['tiktok'],
news_categories: ['launches'],
news_published_dates: ['2025-01-01', '2025-01-10'],
advertisement_search_terms: ['asus'],
advertisement_target_locations: ['TW', 'AE', 'NO'],
advertisement_exclude_target_locations: ['IS', 'GB', 'FR', 'IE', 'ES'],
advertisement_start_dates: ['2025-12-25', '2025-12-25'],
advertisement_end_dates: ['2025-12-25', '2025-12-25'],
advertisement_active_dates: ['2026-01-01', '2026-01-31'],
advertisement_status: ['currently_running'],
advertisement_headlines: ['limited time offer'],
advertisement_platforms: ['linkedin', 'facebook'],
advertisement_publisher_platforms: ['facebook', 'instagram'],
advertisement_exclude_publisher_platforms: ['audience_network'],
advertisement_formats: ['image', 'video'],
advertisement_active_ads: [1, null],
advertisement_running_ads: [1, null],
advertisement_total_ads: [10, null],
advertisement_platform_count: [2, null],
advertisement_format_count: [2, null],
advertisement_impressions_estimate: [1000, null],
advertisement_country_activity: {country: 'US', rank: [null, 500]},
sort_by: 'advertisement_country_rank',
is_ascending_order: true,
filter_conditions: [{key: 'keywords', operator: 'or'}],
is_enable_similarity_search: true,
similarity_score: 0.7,
query: 'Food & Beverage companies in Singapore that recently expanded',
exclude_fields: ['emails', 'phones', 'contacts'],
is_parameter_metadata_available: true,
is_profile_metadata_available: true,
per_page: 25,
page: 1,
cloud_footprint_providers: ['AWS', 'Cloudflare'],
cloud_footprint_exclude_providers: ['AWS', 'Cloudflare', 'Hetzner'],
cloud_footprint_target_locations: ['DE', 'SG'],
cloud_footprint_exclude_target_locations: ['DE', 'US', 'SG'],
cloud_footprint_cloud_regions: ['us-east-1', 'eu-central-1'],
cloud_footprint_exclude_cloud_regions: ['us-east-1', 'eu-central-1'],
cloud_footprint_cities: ['Ashburn', 'Frankfurt'],
cloud_footprint_exclude_cities: ['Ashburn', 'Frankfurt'],
cloud_footprint_first_seen_dates: ['2026-01-01', null],
cloud_footprint_last_seen_dates: ['2026-01-01', null],
cloud_footprint_is_cross_border_only: true,
cloud_footprint_host_count: [1, null],
cloud_footprint_server_count: [1, null],
cloud_footprint_shared_server_count: [1, null],
cloud_footprint_provider_count: [1, null],
cloud_footprint_country_count: [1, null],
cloud_footprint_cross_border_country_count: [1, null],
cloud_footprint_region_count: [1, null],
cloud_footprint_city_count: [1, null],
cloud_footprint_primary_provider: ['AWS']
})
};
fetch('https://api.pubrio.com/companies/search', 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.pubrio.com/companies/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'company_name' => 'pubrio',
'companies' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'company_groups' => [
123
],
'domains' => [
'pubrio.com'
],
'linkedin_urls' => [
'https://www.linkedin.com/company/pubrio'
],
'company_filters' => [
'company_locations' => [
'US'
],
'technologies' => [
37,
152
],
'founded_dates' => [
2015,
2023
],
'filter_conditions' => [
[
'key' => 'technologies',
'operator' => 'and'
]
]
],
'locations' => [
'US',
'SG',
'CN'
],
'exclude_locations' => [
'CN',
'US',
'RU',
'CA'
],
'places' => [
'Tokyo'
],
'exclude_places' => [
'Tokyo'
],
'job_locations' => [
'US',
'SG',
'CN'
],
'job_exclude_locations' => [
'CN',
'US',
'RU',
'CA'
],
'job_posted_dates' => [
'2025-01-01',
'2025-01-10'
],
'job_titles' => [
'sales manager',
'marketing manager'
],
'verticals' => [
123
],
'vertical_categories' => [
123
],
'vertical_sub_categories' => [
123
],
'categories' => [
123
],
'technologies' => [
123
],
'exclude_technologies' => [
'Shopify'
],
'employees' => [
[
1,
10
],
[
11,
20
],
[
10001
]
],
'revenues' => [
0,
100000
],
'founded_dates' => [
2018,
2024
],
'keywords' => [
'ecommerce',
'ai',
'fintech'
],
'social_media' => [
'tiktok'
],
'news_categories' => [
'launches'
],
'news_published_dates' => [
'2025-01-01',
'2025-01-10'
],
'advertisement_search_terms' => [
'asus'
],
'advertisement_target_locations' => [
'TW',
'AE',
'NO'
],
'advertisement_exclude_target_locations' => [
'IS',
'GB',
'FR',
'IE',
'ES'
],
'advertisement_start_dates' => [
'2025-12-25',
'2025-12-25'
],
'advertisement_end_dates' => [
'2025-12-25',
'2025-12-25'
],
'advertisement_active_dates' => [
'2026-01-01',
'2026-01-31'
],
'advertisement_status' => [
'currently_running'
],
'advertisement_headlines' => [
'limited time offer'
],
'advertisement_platforms' => [
'linkedin',
'facebook'
],
'advertisement_publisher_platforms' => [
'facebook',
'instagram'
],
'advertisement_exclude_publisher_platforms' => [
'audience_network'
],
'advertisement_formats' => [
'image',
'video'
],
'advertisement_active_ads' => [
1,
null
],
'advertisement_running_ads' => [
1,
null
],
'advertisement_total_ads' => [
10,
null
],
'advertisement_platform_count' => [
2,
null
],
'advertisement_format_count' => [
2,
null
],
'advertisement_impressions_estimate' => [
1000,
null
],
'advertisement_country_activity' => [
'country' => 'US',
'rank' => [
null,
500
]
],
'sort_by' => 'advertisement_country_rank',
'is_ascending_order' => true,
'filter_conditions' => [
[
'key' => 'keywords',
'operator' => 'or'
]
],
'is_enable_similarity_search' => true,
'similarity_score' => 0.7,
'query' => 'Food & Beverage companies in Singapore that recently expanded',
'exclude_fields' => [
'emails',
'phones',
'contacts'
],
'is_parameter_metadata_available' => true,
'is_profile_metadata_available' => true,
'per_page' => 25,
'page' => 1,
'cloud_footprint_providers' => [
'AWS',
'Cloudflare'
],
'cloud_footprint_exclude_providers' => [
'AWS',
'Cloudflare',
'Hetzner'
],
'cloud_footprint_target_locations' => [
'DE',
'SG'
],
'cloud_footprint_exclude_target_locations' => [
'DE',
'US',
'SG'
],
'cloud_footprint_cloud_regions' => [
'us-east-1',
'eu-central-1'
],
'cloud_footprint_exclude_cloud_regions' => [
'us-east-1',
'eu-central-1'
],
'cloud_footprint_cities' => [
'Ashburn',
'Frankfurt'
],
'cloud_footprint_exclude_cities' => [
'Ashburn',
'Frankfurt'
],
'cloud_footprint_first_seen_dates' => [
'2026-01-01',
null
],
'cloud_footprint_last_seen_dates' => [
'2026-01-01',
null
],
'cloud_footprint_is_cross_border_only' => true,
'cloud_footprint_host_count' => [
1,
null
],
'cloud_footprint_server_count' => [
1,
null
],
'cloud_footprint_shared_server_count' => [
1,
null
],
'cloud_footprint_provider_count' => [
1,
null
],
'cloud_footprint_country_count' => [
1,
null
],
'cloud_footprint_cross_border_country_count' => [
1,
null
],
'cloud_footprint_region_count' => [
1,
null
],
'cloud_footprint_city_count' => [
1,
null
],
'cloud_footprint_primary_provider' => [
'AWS'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/companies/search"
payload := strings.NewReader("{\n \"company_name\": \"pubrio\",\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"company_groups\": [\n 123\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n },\n \"locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"places\": [\n \"Tokyo\"\n ],\n \"exclude_places\": [\n \"Tokyo\"\n ],\n \"job_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"job_exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"job_posted_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"job_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"verticals\": [\n 123\n ],\n \"vertical_categories\": [\n 123\n ],\n \"vertical_sub_categories\": [\n 123\n ],\n \"categories\": [\n 123\n ],\n \"technologies\": [\n 123\n ],\n \"exclude_technologies\": [\n \"Shopify\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"revenues\": [\n 0,\n 100000\n ],\n \"founded_dates\": [\n 2018,\n 2024\n ],\n \"keywords\": [\n \"ecommerce\",\n \"ai\",\n \"fintech\"\n ],\n \"social_media\": [\n \"tiktok\"\n ],\n \"news_categories\": [\n \"launches\"\n ],\n \"news_published_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"advertisement_search_terms\": [\n \"asus\"\n ],\n \"advertisement_target_locations\": [\n \"TW\",\n \"AE\",\n \"NO\"\n ],\n \"advertisement_exclude_target_locations\": [\n \"IS\",\n \"GB\",\n \"FR\",\n \"IE\",\n \"ES\"\n ],\n \"advertisement_start_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_end_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_active_dates\": [\n \"2026-01-01\",\n \"2026-01-31\"\n ],\n \"advertisement_status\": [\n \"currently_running\"\n ],\n \"advertisement_headlines\": [\n \"limited time offer\"\n ],\n \"advertisement_platforms\": [\n \"linkedin\",\n \"facebook\"\n ],\n \"advertisement_publisher_platforms\": [\n \"facebook\",\n \"instagram\"\n ],\n \"advertisement_exclude_publisher_platforms\": [\n \"audience_network\"\n ],\n \"advertisement_formats\": [\n \"image\",\n \"video\"\n ],\n \"advertisement_active_ads\": [\n 1,\n null\n ],\n \"advertisement_running_ads\": [\n 1,\n null\n ],\n \"advertisement_total_ads\": [\n 10,\n null\n ],\n \"advertisement_platform_count\": [\n 2,\n null\n ],\n \"advertisement_format_count\": [\n 2,\n null\n ],\n \"advertisement_impressions_estimate\": [\n 1000,\n null\n ],\n \"advertisement_country_activity\": {\n \"country\": \"US\",\n \"rank\": [\n null,\n 500\n ]\n },\n \"sort_by\": \"advertisement_country_rank\",\n \"is_ascending_order\": true,\n \"filter_conditions\": [\n {\n \"key\": \"keywords\",\n \"operator\": \"or\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"query\": \"Food & Beverage companies in Singapore that recently expanded\",\n \"exclude_fields\": [\n \"emails\",\n \"phones\",\n \"contacts\"\n ],\n \"is_parameter_metadata_available\": true,\n \"is_profile_metadata_available\": true,\n \"per_page\": 25,\n \"page\": 1,\n \"cloud_footprint_providers\": [\n \"AWS\",\n \"Cloudflare\"\n ],\n \"cloud_footprint_exclude_providers\": [\n \"AWS\",\n \"Cloudflare\",\n \"Hetzner\"\n ],\n \"cloud_footprint_target_locations\": [\n \"DE\",\n \"SG\"\n ],\n \"cloud_footprint_exclude_target_locations\": [\n \"DE\",\n \"US\",\n \"SG\"\n ],\n \"cloud_footprint_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_exclude_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_exclude_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_first_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_last_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_is_cross_border_only\": true,\n \"cloud_footprint_host_count\": [\n 1,\n null\n ],\n \"cloud_footprint_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_shared_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_provider_count\": [\n 1,\n null\n ],\n \"cloud_footprint_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_cross_border_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_region_count\": [\n 1,\n null\n ],\n \"cloud_footprint_city_count\": [\n 1,\n null\n ],\n \"cloud_footprint_primary_provider\": [\n \"AWS\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/companies/search")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company_name\": \"pubrio\",\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"company_groups\": [\n 123\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n },\n \"locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"places\": [\n \"Tokyo\"\n ],\n \"exclude_places\": [\n \"Tokyo\"\n ],\n \"job_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"job_exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"job_posted_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"job_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"verticals\": [\n 123\n ],\n \"vertical_categories\": [\n 123\n ],\n \"vertical_sub_categories\": [\n 123\n ],\n \"categories\": [\n 123\n ],\n \"technologies\": [\n 123\n ],\n \"exclude_technologies\": [\n \"Shopify\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"revenues\": [\n 0,\n 100000\n ],\n \"founded_dates\": [\n 2018,\n 2024\n ],\n \"keywords\": [\n \"ecommerce\",\n \"ai\",\n \"fintech\"\n ],\n \"social_media\": [\n \"tiktok\"\n ],\n \"news_categories\": [\n \"launches\"\n ],\n \"news_published_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"advertisement_search_terms\": [\n \"asus\"\n ],\n \"advertisement_target_locations\": [\n \"TW\",\n \"AE\",\n \"NO\"\n ],\n \"advertisement_exclude_target_locations\": [\n \"IS\",\n \"GB\",\n \"FR\",\n \"IE\",\n \"ES\"\n ],\n \"advertisement_start_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_end_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_active_dates\": [\n \"2026-01-01\",\n \"2026-01-31\"\n ],\n \"advertisement_status\": [\n \"currently_running\"\n ],\n \"advertisement_headlines\": [\n \"limited time offer\"\n ],\n \"advertisement_platforms\": [\n \"linkedin\",\n \"facebook\"\n ],\n \"advertisement_publisher_platforms\": [\n \"facebook\",\n \"instagram\"\n ],\n \"advertisement_exclude_publisher_platforms\": [\n \"audience_network\"\n ],\n \"advertisement_formats\": [\n \"image\",\n \"video\"\n ],\n \"advertisement_active_ads\": [\n 1,\n null\n ],\n \"advertisement_running_ads\": [\n 1,\n null\n ],\n \"advertisement_total_ads\": [\n 10,\n null\n ],\n \"advertisement_platform_count\": [\n 2,\n null\n ],\n \"advertisement_format_count\": [\n 2,\n null\n ],\n \"advertisement_impressions_estimate\": [\n 1000,\n null\n ],\n \"advertisement_country_activity\": {\n \"country\": \"US\",\n \"rank\": [\n null,\n 500\n ]\n },\n \"sort_by\": \"advertisement_country_rank\",\n \"is_ascending_order\": true,\n \"filter_conditions\": [\n {\n \"key\": \"keywords\",\n \"operator\": \"or\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"query\": \"Food & Beverage companies in Singapore that recently expanded\",\n \"exclude_fields\": [\n \"emails\",\n \"phones\",\n \"contacts\"\n ],\n \"is_parameter_metadata_available\": true,\n \"is_profile_metadata_available\": true,\n \"per_page\": 25,\n \"page\": 1,\n \"cloud_footprint_providers\": [\n \"AWS\",\n \"Cloudflare\"\n ],\n \"cloud_footprint_exclude_providers\": [\n \"AWS\",\n \"Cloudflare\",\n \"Hetzner\"\n ],\n \"cloud_footprint_target_locations\": [\n \"DE\",\n \"SG\"\n ],\n \"cloud_footprint_exclude_target_locations\": [\n \"DE\",\n \"US\",\n \"SG\"\n ],\n \"cloud_footprint_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_exclude_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_exclude_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_first_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_last_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_is_cross_border_only\": true,\n \"cloud_footprint_host_count\": [\n 1,\n null\n ],\n \"cloud_footprint_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_shared_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_provider_count\": [\n 1,\n null\n ],\n \"cloud_footprint_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_cross_border_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_region_count\": [\n 1,\n null\n ],\n \"cloud_footprint_city_count\": [\n 1,\n null\n ],\n \"cloud_footprint_primary_provider\": [\n \"AWS\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"company_name\": \"pubrio\",\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"company_groups\": [\n 123\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n },\n \"locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"places\": [\n \"Tokyo\"\n ],\n \"exclude_places\": [\n \"Tokyo\"\n ],\n \"job_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"job_exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"job_posted_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"job_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"verticals\": [\n 123\n ],\n \"vertical_categories\": [\n 123\n ],\n \"vertical_sub_categories\": [\n 123\n ],\n \"categories\": [\n 123\n ],\n \"technologies\": [\n 123\n ],\n \"exclude_technologies\": [\n \"Shopify\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"revenues\": [\n 0,\n 100000\n ],\n \"founded_dates\": [\n 2018,\n 2024\n ],\n \"keywords\": [\n \"ecommerce\",\n \"ai\",\n \"fintech\"\n ],\n \"social_media\": [\n \"tiktok\"\n ],\n \"news_categories\": [\n \"launches\"\n ],\n \"news_published_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"advertisement_search_terms\": [\n \"asus\"\n ],\n \"advertisement_target_locations\": [\n \"TW\",\n \"AE\",\n \"NO\"\n ],\n \"advertisement_exclude_target_locations\": [\n \"IS\",\n \"GB\",\n \"FR\",\n \"IE\",\n \"ES\"\n ],\n \"advertisement_start_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_end_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_active_dates\": [\n \"2026-01-01\",\n \"2026-01-31\"\n ],\n \"advertisement_status\": [\n \"currently_running\"\n ],\n \"advertisement_headlines\": [\n \"limited time offer\"\n ],\n \"advertisement_platforms\": [\n \"linkedin\",\n \"facebook\"\n ],\n \"advertisement_publisher_platforms\": [\n \"facebook\",\n \"instagram\"\n ],\n \"advertisement_exclude_publisher_platforms\": [\n \"audience_network\"\n ],\n \"advertisement_formats\": [\n \"image\",\n \"video\"\n ],\n \"advertisement_active_ads\": [\n 1,\n null\n ],\n \"advertisement_running_ads\": [\n 1,\n null\n ],\n \"advertisement_total_ads\": [\n 10,\n null\n ],\n \"advertisement_platform_count\": [\n 2,\n null\n ],\n \"advertisement_format_count\": [\n 2,\n null\n ],\n \"advertisement_impressions_estimate\": [\n 1000,\n null\n ],\n \"advertisement_country_activity\": {\n \"country\": \"US\",\n \"rank\": [\n null,\n 500\n ]\n },\n \"sort_by\": \"advertisement_country_rank\",\n \"is_ascending_order\": true,\n \"filter_conditions\": [\n {\n \"key\": \"keywords\",\n \"operator\": \"or\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"query\": \"Food & Beverage companies in Singapore that recently expanded\",\n \"exclude_fields\": [\n \"emails\",\n \"phones\",\n \"contacts\"\n ],\n \"is_parameter_metadata_available\": true,\n \"is_profile_metadata_available\": true,\n \"per_page\": 25,\n \"page\": 1,\n \"cloud_footprint_providers\": [\n \"AWS\",\n \"Cloudflare\"\n ],\n \"cloud_footprint_exclude_providers\": [\n \"AWS\",\n \"Cloudflare\",\n \"Hetzner\"\n ],\n \"cloud_footprint_target_locations\": [\n \"DE\",\n \"SG\"\n ],\n \"cloud_footprint_exclude_target_locations\": [\n \"DE\",\n \"US\",\n \"SG\"\n ],\n \"cloud_footprint_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_exclude_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_exclude_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_first_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_last_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_is_cross_border_only\": true,\n \"cloud_footprint_host_count\": [\n 1,\n null\n ],\n \"cloud_footprint_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_shared_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_provider_count\": [\n 1,\n null\n ],\n \"cloud_footprint_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_cross_border_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_region_count\": [\n 1,\n null\n ],\n \"cloud_footprint_city_count\": [\n 1,\n null\n ],\n \"cloud_footprint_primary_provider\": [\n \"AWS\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"pagination": {
"page": 1,
"per_page": 25,
"total_entries": 45234700,
"total_pages": 1809388
},
"companies": [
{
"logo_url": "https://buckets.pubrio.com/company-logo/MjI0NDc1OTMxaWxqOXNzbmoxdHdpdHRlci5jb20=.jpg",
"company_name": "Twitter",
"emails": [
"..."
],
"phones": [
"..."
],
"contacts": [
"..."
],
"founded_year": 2006,
"specialties": [
"Software Development"
],
"industry": "Software Development",
"domain": "twitter.com",
"domain_search_id": "61a73da7-2efc-41a5-a252-a8a8df29925a",
"domain_id": 224475931,
"linkedin_company_id": 44005587,
"linkedin_name": "twitter",
"is_company_url_active": true,
"domain_ids": [
224475931,
1758889566,
368242865
],
"company_keywords": [
"realtime information",
"social commerce",
"online shopping",
"classifieds",
"craigslist killers",
"e-commerce",
"killers",
"consumer internet",
"internet",
"information technology",
"edp services",
"technology",
"software development",
"microblogging",
"social networking",
"public conversation",
"user engagement",
"content sharing",
"advertising solutions",
"monetization",
"community building",
"digital wallet",
"ai integration",
"user safety"
],
"company_size": 1500,
"youtube_url": null,
"crunchbase_url": null,
"linkedin_url": "http://www.linkedin.com/company/twitter",
"instagram_url": null,
"facebook_url": "http://facebook.com/twitterinc",
"twitter_url": "https://twitter.com/x",
"github_url": null,
"x_url": null,
"location": "United States",
"company_ranking": null,
"company_url": "http://twitter.com",
"saved_lists": null,
"company_size_printed": "1,500"
},
"..."
]
}
}{
"code": 40001,
"message": "Errors and codes will vary depending on the scenario, please see the documentation for information.",
"details": {}
}{
"error": "Request rate limit exceeded. Please wait and try again later."
}{
"error": "An unexpected error occurred on the server."
}Поиск компаний
Поиск в базе данных Pubrio компаний, соответствующих заданным критериям, таким как отрасль, размер, местоположение и технологии.
curl --request POST \
--url https://api.pubrio.com/companies/search \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"company_name": "pubrio",
"companies": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"company_groups": [
123
],
"domains": [
"pubrio.com"
],
"linkedin_urls": [
"https://www.linkedin.com/company/pubrio"
],
"company_filters": {
"company_locations": [
"US"
],
"technologies": [
37,
152
],
"founded_dates": [
2015,
2023
],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
},
"locations": [
"US",
"SG",
"CN"
],
"exclude_locations": [
"CN",
"US",
"RU",
"CA"
],
"places": [
"Tokyo"
],
"exclude_places": [
"Tokyo"
],
"job_locations": [
"US",
"SG",
"CN"
],
"job_exclude_locations": [
"CN",
"US",
"RU",
"CA"
],
"job_posted_dates": [
"2025-01-01",
"2025-01-10"
],
"job_titles": [
"sales manager",
"marketing manager"
],
"verticals": [
123
],
"vertical_categories": [
123
],
"vertical_sub_categories": [
123
],
"categories": [
123
],
"technologies": [
123
],
"exclude_technologies": [
"Shopify"
],
"employees": [
[
1,
10
],
[
11,
20
],
[
10001
]
],
"revenues": [
0,
100000
],
"founded_dates": [
2018,
2024
],
"keywords": [
"ecommerce",
"ai",
"fintech"
],
"social_media": [
"tiktok"
],
"news_categories": [
"launches"
],
"news_published_dates": [
"2025-01-01",
"2025-01-10"
],
"advertisement_search_terms": [
"asus"
],
"advertisement_target_locations": [
"TW",
"AE",
"NO"
],
"advertisement_exclude_target_locations": [
"IS",
"GB",
"FR",
"IE",
"ES"
],
"advertisement_start_dates": [
"2025-12-25",
"2025-12-25"
],
"advertisement_end_dates": [
"2025-12-25",
"2025-12-25"
],
"advertisement_active_dates": [
"2026-01-01",
"2026-01-31"
],
"advertisement_status": [
"currently_running"
],
"advertisement_headlines": [
"limited time offer"
],
"advertisement_platforms": [
"linkedin",
"facebook"
],
"advertisement_publisher_platforms": [
"facebook",
"instagram"
],
"advertisement_exclude_publisher_platforms": [
"audience_network"
],
"advertisement_formats": [
"image",
"video"
],
"advertisement_active_ads": [
1,
null
],
"advertisement_running_ads": [
1,
null
],
"advertisement_total_ads": [
10,
null
],
"advertisement_platform_count": [
2,
null
],
"advertisement_format_count": [
2,
null
],
"advertisement_impressions_estimate": [
1000,
null
],
"advertisement_country_activity": {
"country": "US",
"rank": [
null,
500
]
},
"sort_by": "advertisement_country_rank",
"is_ascending_order": true,
"filter_conditions": [
{
"key": "keywords",
"operator": "or"
}
],
"is_enable_similarity_search": true,
"similarity_score": 0.7,
"query": "Food & Beverage companies in Singapore that recently expanded",
"exclude_fields": [
"emails",
"phones",
"contacts"
],
"is_parameter_metadata_available": true,
"is_profile_metadata_available": true,
"per_page": 25,
"page": 1,
"cloud_footprint_providers": [
"AWS",
"Cloudflare"
],
"cloud_footprint_exclude_providers": [
"AWS",
"Cloudflare",
"Hetzner"
],
"cloud_footprint_target_locations": [
"DE",
"SG"
],
"cloud_footprint_exclude_target_locations": [
"DE",
"US",
"SG"
],
"cloud_footprint_cloud_regions": [
"us-east-1",
"eu-central-1"
],
"cloud_footprint_exclude_cloud_regions": [
"us-east-1",
"eu-central-1"
],
"cloud_footprint_cities": [
"Ashburn",
"Frankfurt"
],
"cloud_footprint_exclude_cities": [
"Ashburn",
"Frankfurt"
],
"cloud_footprint_first_seen_dates": [
"2026-01-01",
null
],
"cloud_footprint_last_seen_dates": [
"2026-01-01",
null
],
"cloud_footprint_is_cross_border_only": true,
"cloud_footprint_host_count": [
1,
null
],
"cloud_footprint_server_count": [
1,
null
],
"cloud_footprint_shared_server_count": [
1,
null
],
"cloud_footprint_provider_count": [
1,
null
],
"cloud_footprint_country_count": [
1,
null
],
"cloud_footprint_cross_border_country_count": [
1,
null
],
"cloud_footprint_region_count": [
1,
null
],
"cloud_footprint_city_count": [
1,
null
],
"cloud_footprint_primary_provider": [
"AWS"
]
}
'import requests
url = "https://api.pubrio.com/companies/search"
payload = {
"company_name": "pubrio",
"companies": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"company_groups": [123],
"domains": ["pubrio.com"],
"linkedin_urls": ["https://www.linkedin.com/company/pubrio"],
"company_filters": {
"company_locations": ["US"],
"technologies": [37, 152],
"founded_dates": [2015, 2023],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
},
"locations": ["US", "SG", "CN"],
"exclude_locations": ["CN", "US", "RU", "CA"],
"places": ["Tokyo"],
"exclude_places": ["Tokyo"],
"job_locations": ["US", "SG", "CN"],
"job_exclude_locations": ["CN", "US", "RU", "CA"],
"job_posted_dates": ["2025-01-01", "2025-01-10"],
"job_titles": ["sales manager", "marketing manager"],
"verticals": [123],
"vertical_categories": [123],
"vertical_sub_categories": [123],
"categories": [123],
"technologies": [123],
"exclude_technologies": ["Shopify"],
"employees": [[1, 10], [11, 20], [10001]],
"revenues": [0, 100000],
"founded_dates": [2018, 2024],
"keywords": ["ecommerce", "ai", "fintech"],
"social_media": ["tiktok"],
"news_categories": ["launches"],
"news_published_dates": ["2025-01-01", "2025-01-10"],
"advertisement_search_terms": ["asus"],
"advertisement_target_locations": ["TW", "AE", "NO"],
"advertisement_exclude_target_locations": ["IS", "GB", "FR", "IE", "ES"],
"advertisement_start_dates": ["2025-12-25", "2025-12-25"],
"advertisement_end_dates": ["2025-12-25", "2025-12-25"],
"advertisement_active_dates": ["2026-01-01", "2026-01-31"],
"advertisement_status": ["currently_running"],
"advertisement_headlines": ["limited time offer"],
"advertisement_platforms": ["linkedin", "facebook"],
"advertisement_publisher_platforms": ["facebook", "instagram"],
"advertisement_exclude_publisher_platforms": ["audience_network"],
"advertisement_formats": ["image", "video"],
"advertisement_active_ads": [1, None],
"advertisement_running_ads": [1, None],
"advertisement_total_ads": [10, None],
"advertisement_platform_count": [2, None],
"advertisement_format_count": [2, None],
"advertisement_impressions_estimate": [1000, None],
"advertisement_country_activity": {
"country": "US",
"rank": [None, 500]
},
"sort_by": "advertisement_country_rank",
"is_ascending_order": True,
"filter_conditions": [
{
"key": "keywords",
"operator": "or"
}
],
"is_enable_similarity_search": True,
"similarity_score": 0.7,
"query": "Food & Beverage companies in Singapore that recently expanded",
"exclude_fields": ["emails", "phones", "contacts"],
"is_parameter_metadata_available": True,
"is_profile_metadata_available": True,
"per_page": 25,
"page": 1,
"cloud_footprint_providers": ["AWS", "Cloudflare"],
"cloud_footprint_exclude_providers": ["AWS", "Cloudflare", "Hetzner"],
"cloud_footprint_target_locations": ["DE", "SG"],
"cloud_footprint_exclude_target_locations": ["DE", "US", "SG"],
"cloud_footprint_cloud_regions": ["us-east-1", "eu-central-1"],
"cloud_footprint_exclude_cloud_regions": ["us-east-1", "eu-central-1"],
"cloud_footprint_cities": ["Ashburn", "Frankfurt"],
"cloud_footprint_exclude_cities": ["Ashburn", "Frankfurt"],
"cloud_footprint_first_seen_dates": ["2026-01-01", None],
"cloud_footprint_last_seen_dates": ["2026-01-01", None],
"cloud_footprint_is_cross_border_only": True,
"cloud_footprint_host_count": [1, None],
"cloud_footprint_server_count": [1, None],
"cloud_footprint_shared_server_count": [1, None],
"cloud_footprint_provider_count": [1, None],
"cloud_footprint_country_count": [1, None],
"cloud_footprint_cross_border_country_count": [1, None],
"cloud_footprint_region_count": [1, None],
"cloud_footprint_city_count": [1, None],
"cloud_footprint_primary_provider": ["AWS"]
}
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
company_name: 'pubrio',
companies: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
company_groups: [123],
domains: ['pubrio.com'],
linkedin_urls: ['https://www.linkedin.com/company/pubrio'],
company_filters: {
company_locations: ['US'],
technologies: [37, 152],
founded_dates: [2015, 2023],
filter_conditions: [{key: 'technologies', operator: 'and'}]
},
locations: ['US', 'SG', 'CN'],
exclude_locations: ['CN', 'US', 'RU', 'CA'],
places: ['Tokyo'],
exclude_places: ['Tokyo'],
job_locations: ['US', 'SG', 'CN'],
job_exclude_locations: ['CN', 'US', 'RU', 'CA'],
job_posted_dates: ['2025-01-01', '2025-01-10'],
job_titles: ['sales manager', 'marketing manager'],
verticals: [123],
vertical_categories: [123],
vertical_sub_categories: [123],
categories: [123],
technologies: [123],
exclude_technologies: ['Shopify'],
employees: [[1, 10], [11, 20], [10001]],
revenues: [0, 100000],
founded_dates: [2018, 2024],
keywords: ['ecommerce', 'ai', 'fintech'],
social_media: ['tiktok'],
news_categories: ['launches'],
news_published_dates: ['2025-01-01', '2025-01-10'],
advertisement_search_terms: ['asus'],
advertisement_target_locations: ['TW', 'AE', 'NO'],
advertisement_exclude_target_locations: ['IS', 'GB', 'FR', 'IE', 'ES'],
advertisement_start_dates: ['2025-12-25', '2025-12-25'],
advertisement_end_dates: ['2025-12-25', '2025-12-25'],
advertisement_active_dates: ['2026-01-01', '2026-01-31'],
advertisement_status: ['currently_running'],
advertisement_headlines: ['limited time offer'],
advertisement_platforms: ['linkedin', 'facebook'],
advertisement_publisher_platforms: ['facebook', 'instagram'],
advertisement_exclude_publisher_platforms: ['audience_network'],
advertisement_formats: ['image', 'video'],
advertisement_active_ads: [1, null],
advertisement_running_ads: [1, null],
advertisement_total_ads: [10, null],
advertisement_platform_count: [2, null],
advertisement_format_count: [2, null],
advertisement_impressions_estimate: [1000, null],
advertisement_country_activity: {country: 'US', rank: [null, 500]},
sort_by: 'advertisement_country_rank',
is_ascending_order: true,
filter_conditions: [{key: 'keywords', operator: 'or'}],
is_enable_similarity_search: true,
similarity_score: 0.7,
query: 'Food & Beverage companies in Singapore that recently expanded',
exclude_fields: ['emails', 'phones', 'contacts'],
is_parameter_metadata_available: true,
is_profile_metadata_available: true,
per_page: 25,
page: 1,
cloud_footprint_providers: ['AWS', 'Cloudflare'],
cloud_footprint_exclude_providers: ['AWS', 'Cloudflare', 'Hetzner'],
cloud_footprint_target_locations: ['DE', 'SG'],
cloud_footprint_exclude_target_locations: ['DE', 'US', 'SG'],
cloud_footprint_cloud_regions: ['us-east-1', 'eu-central-1'],
cloud_footprint_exclude_cloud_regions: ['us-east-1', 'eu-central-1'],
cloud_footprint_cities: ['Ashburn', 'Frankfurt'],
cloud_footprint_exclude_cities: ['Ashburn', 'Frankfurt'],
cloud_footprint_first_seen_dates: ['2026-01-01', null],
cloud_footprint_last_seen_dates: ['2026-01-01', null],
cloud_footprint_is_cross_border_only: true,
cloud_footprint_host_count: [1, null],
cloud_footprint_server_count: [1, null],
cloud_footprint_shared_server_count: [1, null],
cloud_footprint_provider_count: [1, null],
cloud_footprint_country_count: [1, null],
cloud_footprint_cross_border_country_count: [1, null],
cloud_footprint_region_count: [1, null],
cloud_footprint_city_count: [1, null],
cloud_footprint_primary_provider: ['AWS']
})
};
fetch('https://api.pubrio.com/companies/search', 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.pubrio.com/companies/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'company_name' => 'pubrio',
'companies' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'company_groups' => [
123
],
'domains' => [
'pubrio.com'
],
'linkedin_urls' => [
'https://www.linkedin.com/company/pubrio'
],
'company_filters' => [
'company_locations' => [
'US'
],
'technologies' => [
37,
152
],
'founded_dates' => [
2015,
2023
],
'filter_conditions' => [
[
'key' => 'technologies',
'operator' => 'and'
]
]
],
'locations' => [
'US',
'SG',
'CN'
],
'exclude_locations' => [
'CN',
'US',
'RU',
'CA'
],
'places' => [
'Tokyo'
],
'exclude_places' => [
'Tokyo'
],
'job_locations' => [
'US',
'SG',
'CN'
],
'job_exclude_locations' => [
'CN',
'US',
'RU',
'CA'
],
'job_posted_dates' => [
'2025-01-01',
'2025-01-10'
],
'job_titles' => [
'sales manager',
'marketing manager'
],
'verticals' => [
123
],
'vertical_categories' => [
123
],
'vertical_sub_categories' => [
123
],
'categories' => [
123
],
'technologies' => [
123
],
'exclude_technologies' => [
'Shopify'
],
'employees' => [
[
1,
10
],
[
11,
20
],
[
10001
]
],
'revenues' => [
0,
100000
],
'founded_dates' => [
2018,
2024
],
'keywords' => [
'ecommerce',
'ai',
'fintech'
],
'social_media' => [
'tiktok'
],
'news_categories' => [
'launches'
],
'news_published_dates' => [
'2025-01-01',
'2025-01-10'
],
'advertisement_search_terms' => [
'asus'
],
'advertisement_target_locations' => [
'TW',
'AE',
'NO'
],
'advertisement_exclude_target_locations' => [
'IS',
'GB',
'FR',
'IE',
'ES'
],
'advertisement_start_dates' => [
'2025-12-25',
'2025-12-25'
],
'advertisement_end_dates' => [
'2025-12-25',
'2025-12-25'
],
'advertisement_active_dates' => [
'2026-01-01',
'2026-01-31'
],
'advertisement_status' => [
'currently_running'
],
'advertisement_headlines' => [
'limited time offer'
],
'advertisement_platforms' => [
'linkedin',
'facebook'
],
'advertisement_publisher_platforms' => [
'facebook',
'instagram'
],
'advertisement_exclude_publisher_platforms' => [
'audience_network'
],
'advertisement_formats' => [
'image',
'video'
],
'advertisement_active_ads' => [
1,
null
],
'advertisement_running_ads' => [
1,
null
],
'advertisement_total_ads' => [
10,
null
],
'advertisement_platform_count' => [
2,
null
],
'advertisement_format_count' => [
2,
null
],
'advertisement_impressions_estimate' => [
1000,
null
],
'advertisement_country_activity' => [
'country' => 'US',
'rank' => [
null,
500
]
],
'sort_by' => 'advertisement_country_rank',
'is_ascending_order' => true,
'filter_conditions' => [
[
'key' => 'keywords',
'operator' => 'or'
]
],
'is_enable_similarity_search' => true,
'similarity_score' => 0.7,
'query' => 'Food & Beverage companies in Singapore that recently expanded',
'exclude_fields' => [
'emails',
'phones',
'contacts'
],
'is_parameter_metadata_available' => true,
'is_profile_metadata_available' => true,
'per_page' => 25,
'page' => 1,
'cloud_footprint_providers' => [
'AWS',
'Cloudflare'
],
'cloud_footprint_exclude_providers' => [
'AWS',
'Cloudflare',
'Hetzner'
],
'cloud_footprint_target_locations' => [
'DE',
'SG'
],
'cloud_footprint_exclude_target_locations' => [
'DE',
'US',
'SG'
],
'cloud_footprint_cloud_regions' => [
'us-east-1',
'eu-central-1'
],
'cloud_footprint_exclude_cloud_regions' => [
'us-east-1',
'eu-central-1'
],
'cloud_footprint_cities' => [
'Ashburn',
'Frankfurt'
],
'cloud_footprint_exclude_cities' => [
'Ashburn',
'Frankfurt'
],
'cloud_footprint_first_seen_dates' => [
'2026-01-01',
null
],
'cloud_footprint_last_seen_dates' => [
'2026-01-01',
null
],
'cloud_footprint_is_cross_border_only' => true,
'cloud_footprint_host_count' => [
1,
null
],
'cloud_footprint_server_count' => [
1,
null
],
'cloud_footprint_shared_server_count' => [
1,
null
],
'cloud_footprint_provider_count' => [
1,
null
],
'cloud_footprint_country_count' => [
1,
null
],
'cloud_footprint_cross_border_country_count' => [
1,
null
],
'cloud_footprint_region_count' => [
1,
null
],
'cloud_footprint_city_count' => [
1,
null
],
'cloud_footprint_primary_provider' => [
'AWS'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/companies/search"
payload := strings.NewReader("{\n \"company_name\": \"pubrio\",\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"company_groups\": [\n 123\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n },\n \"locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"places\": [\n \"Tokyo\"\n ],\n \"exclude_places\": [\n \"Tokyo\"\n ],\n \"job_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"job_exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"job_posted_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"job_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"verticals\": [\n 123\n ],\n \"vertical_categories\": [\n 123\n ],\n \"vertical_sub_categories\": [\n 123\n ],\n \"categories\": [\n 123\n ],\n \"technologies\": [\n 123\n ],\n \"exclude_technologies\": [\n \"Shopify\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"revenues\": [\n 0,\n 100000\n ],\n \"founded_dates\": [\n 2018,\n 2024\n ],\n \"keywords\": [\n \"ecommerce\",\n \"ai\",\n \"fintech\"\n ],\n \"social_media\": [\n \"tiktok\"\n ],\n \"news_categories\": [\n \"launches\"\n ],\n \"news_published_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"advertisement_search_terms\": [\n \"asus\"\n ],\n \"advertisement_target_locations\": [\n \"TW\",\n \"AE\",\n \"NO\"\n ],\n \"advertisement_exclude_target_locations\": [\n \"IS\",\n \"GB\",\n \"FR\",\n \"IE\",\n \"ES\"\n ],\n \"advertisement_start_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_end_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_active_dates\": [\n \"2026-01-01\",\n \"2026-01-31\"\n ],\n \"advertisement_status\": [\n \"currently_running\"\n ],\n \"advertisement_headlines\": [\n \"limited time offer\"\n ],\n \"advertisement_platforms\": [\n \"linkedin\",\n \"facebook\"\n ],\n \"advertisement_publisher_platforms\": [\n \"facebook\",\n \"instagram\"\n ],\n \"advertisement_exclude_publisher_platforms\": [\n \"audience_network\"\n ],\n \"advertisement_formats\": [\n \"image\",\n \"video\"\n ],\n \"advertisement_active_ads\": [\n 1,\n null\n ],\n \"advertisement_running_ads\": [\n 1,\n null\n ],\n \"advertisement_total_ads\": [\n 10,\n null\n ],\n \"advertisement_platform_count\": [\n 2,\n null\n ],\n \"advertisement_format_count\": [\n 2,\n null\n ],\n \"advertisement_impressions_estimate\": [\n 1000,\n null\n ],\n \"advertisement_country_activity\": {\n \"country\": \"US\",\n \"rank\": [\n null,\n 500\n ]\n },\n \"sort_by\": \"advertisement_country_rank\",\n \"is_ascending_order\": true,\n \"filter_conditions\": [\n {\n \"key\": \"keywords\",\n \"operator\": \"or\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"query\": \"Food & Beverage companies in Singapore that recently expanded\",\n \"exclude_fields\": [\n \"emails\",\n \"phones\",\n \"contacts\"\n ],\n \"is_parameter_metadata_available\": true,\n \"is_profile_metadata_available\": true,\n \"per_page\": 25,\n \"page\": 1,\n \"cloud_footprint_providers\": [\n \"AWS\",\n \"Cloudflare\"\n ],\n \"cloud_footprint_exclude_providers\": [\n \"AWS\",\n \"Cloudflare\",\n \"Hetzner\"\n ],\n \"cloud_footprint_target_locations\": [\n \"DE\",\n \"SG\"\n ],\n \"cloud_footprint_exclude_target_locations\": [\n \"DE\",\n \"US\",\n \"SG\"\n ],\n \"cloud_footprint_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_exclude_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_exclude_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_first_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_last_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_is_cross_border_only\": true,\n \"cloud_footprint_host_count\": [\n 1,\n null\n ],\n \"cloud_footprint_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_shared_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_provider_count\": [\n 1,\n null\n ],\n \"cloud_footprint_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_cross_border_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_region_count\": [\n 1,\n null\n ],\n \"cloud_footprint_city_count\": [\n 1,\n null\n ],\n \"cloud_footprint_primary_provider\": [\n \"AWS\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/companies/search")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company_name\": \"pubrio\",\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"company_groups\": [\n 123\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n },\n \"locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"places\": [\n \"Tokyo\"\n ],\n \"exclude_places\": [\n \"Tokyo\"\n ],\n \"job_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"job_exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"job_posted_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"job_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"verticals\": [\n 123\n ],\n \"vertical_categories\": [\n 123\n ],\n \"vertical_sub_categories\": [\n 123\n ],\n \"categories\": [\n 123\n ],\n \"technologies\": [\n 123\n ],\n \"exclude_technologies\": [\n \"Shopify\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"revenues\": [\n 0,\n 100000\n ],\n \"founded_dates\": [\n 2018,\n 2024\n ],\n \"keywords\": [\n \"ecommerce\",\n \"ai\",\n \"fintech\"\n ],\n \"social_media\": [\n \"tiktok\"\n ],\n \"news_categories\": [\n \"launches\"\n ],\n \"news_published_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"advertisement_search_terms\": [\n \"asus\"\n ],\n \"advertisement_target_locations\": [\n \"TW\",\n \"AE\",\n \"NO\"\n ],\n \"advertisement_exclude_target_locations\": [\n \"IS\",\n \"GB\",\n \"FR\",\n \"IE\",\n \"ES\"\n ],\n \"advertisement_start_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_end_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_active_dates\": [\n \"2026-01-01\",\n \"2026-01-31\"\n ],\n \"advertisement_status\": [\n \"currently_running\"\n ],\n \"advertisement_headlines\": [\n \"limited time offer\"\n ],\n \"advertisement_platforms\": [\n \"linkedin\",\n \"facebook\"\n ],\n \"advertisement_publisher_platforms\": [\n \"facebook\",\n \"instagram\"\n ],\n \"advertisement_exclude_publisher_platforms\": [\n \"audience_network\"\n ],\n \"advertisement_formats\": [\n \"image\",\n \"video\"\n ],\n \"advertisement_active_ads\": [\n 1,\n null\n ],\n \"advertisement_running_ads\": [\n 1,\n null\n ],\n \"advertisement_total_ads\": [\n 10,\n null\n ],\n \"advertisement_platform_count\": [\n 2,\n null\n ],\n \"advertisement_format_count\": [\n 2,\n null\n ],\n \"advertisement_impressions_estimate\": [\n 1000,\n null\n ],\n \"advertisement_country_activity\": {\n \"country\": \"US\",\n \"rank\": [\n null,\n 500\n ]\n },\n \"sort_by\": \"advertisement_country_rank\",\n \"is_ascending_order\": true,\n \"filter_conditions\": [\n {\n \"key\": \"keywords\",\n \"operator\": \"or\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"query\": \"Food & Beverage companies in Singapore that recently expanded\",\n \"exclude_fields\": [\n \"emails\",\n \"phones\",\n \"contacts\"\n ],\n \"is_parameter_metadata_available\": true,\n \"is_profile_metadata_available\": true,\n \"per_page\": 25,\n \"page\": 1,\n \"cloud_footprint_providers\": [\n \"AWS\",\n \"Cloudflare\"\n ],\n \"cloud_footprint_exclude_providers\": [\n \"AWS\",\n \"Cloudflare\",\n \"Hetzner\"\n ],\n \"cloud_footprint_target_locations\": [\n \"DE\",\n \"SG\"\n ],\n \"cloud_footprint_exclude_target_locations\": [\n \"DE\",\n \"US\",\n \"SG\"\n ],\n \"cloud_footprint_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_exclude_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_exclude_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_first_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_last_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_is_cross_border_only\": true,\n \"cloud_footprint_host_count\": [\n 1,\n null\n ],\n \"cloud_footprint_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_shared_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_provider_count\": [\n 1,\n null\n ],\n \"cloud_footprint_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_cross_border_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_region_count\": [\n 1,\n null\n ],\n \"cloud_footprint_city_count\": [\n 1,\n null\n ],\n \"cloud_footprint_primary_provider\": [\n \"AWS\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"company_name\": \"pubrio\",\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"company_groups\": [\n 123\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n },\n \"locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"places\": [\n \"Tokyo\"\n ],\n \"exclude_places\": [\n \"Tokyo\"\n ],\n \"job_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"job_exclude_locations\": [\n \"CN\",\n \"US\",\n \"RU\",\n \"CA\"\n ],\n \"job_posted_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"job_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"verticals\": [\n 123\n ],\n \"vertical_categories\": [\n 123\n ],\n \"vertical_sub_categories\": [\n 123\n ],\n \"categories\": [\n 123\n ],\n \"technologies\": [\n 123\n ],\n \"exclude_technologies\": [\n \"Shopify\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"revenues\": [\n 0,\n 100000\n ],\n \"founded_dates\": [\n 2018,\n 2024\n ],\n \"keywords\": [\n \"ecommerce\",\n \"ai\",\n \"fintech\"\n ],\n \"social_media\": [\n \"tiktok\"\n ],\n \"news_categories\": [\n \"launches\"\n ],\n \"news_published_dates\": [\n \"2025-01-01\",\n \"2025-01-10\"\n ],\n \"advertisement_search_terms\": [\n \"asus\"\n ],\n \"advertisement_target_locations\": [\n \"TW\",\n \"AE\",\n \"NO\"\n ],\n \"advertisement_exclude_target_locations\": [\n \"IS\",\n \"GB\",\n \"FR\",\n \"IE\",\n \"ES\"\n ],\n \"advertisement_start_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_end_dates\": [\n \"2025-12-25\",\n \"2025-12-25\"\n ],\n \"advertisement_active_dates\": [\n \"2026-01-01\",\n \"2026-01-31\"\n ],\n \"advertisement_status\": [\n \"currently_running\"\n ],\n \"advertisement_headlines\": [\n \"limited time offer\"\n ],\n \"advertisement_platforms\": [\n \"linkedin\",\n \"facebook\"\n ],\n \"advertisement_publisher_platforms\": [\n \"facebook\",\n \"instagram\"\n ],\n \"advertisement_exclude_publisher_platforms\": [\n \"audience_network\"\n ],\n \"advertisement_formats\": [\n \"image\",\n \"video\"\n ],\n \"advertisement_active_ads\": [\n 1,\n null\n ],\n \"advertisement_running_ads\": [\n 1,\n null\n ],\n \"advertisement_total_ads\": [\n 10,\n null\n ],\n \"advertisement_platform_count\": [\n 2,\n null\n ],\n \"advertisement_format_count\": [\n 2,\n null\n ],\n \"advertisement_impressions_estimate\": [\n 1000,\n null\n ],\n \"advertisement_country_activity\": {\n \"country\": \"US\",\n \"rank\": [\n null,\n 500\n ]\n },\n \"sort_by\": \"advertisement_country_rank\",\n \"is_ascending_order\": true,\n \"filter_conditions\": [\n {\n \"key\": \"keywords\",\n \"operator\": \"or\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"query\": \"Food & Beverage companies in Singapore that recently expanded\",\n \"exclude_fields\": [\n \"emails\",\n \"phones\",\n \"contacts\"\n ],\n \"is_parameter_metadata_available\": true,\n \"is_profile_metadata_available\": true,\n \"per_page\": 25,\n \"page\": 1,\n \"cloud_footprint_providers\": [\n \"AWS\",\n \"Cloudflare\"\n ],\n \"cloud_footprint_exclude_providers\": [\n \"AWS\",\n \"Cloudflare\",\n \"Hetzner\"\n ],\n \"cloud_footprint_target_locations\": [\n \"DE\",\n \"SG\"\n ],\n \"cloud_footprint_exclude_target_locations\": [\n \"DE\",\n \"US\",\n \"SG\"\n ],\n \"cloud_footprint_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_exclude_cloud_regions\": [\n \"us-east-1\",\n \"eu-central-1\"\n ],\n \"cloud_footprint_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_exclude_cities\": [\n \"Ashburn\",\n \"Frankfurt\"\n ],\n \"cloud_footprint_first_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_last_seen_dates\": [\n \"2026-01-01\",\n null\n ],\n \"cloud_footprint_is_cross_border_only\": true,\n \"cloud_footprint_host_count\": [\n 1,\n null\n ],\n \"cloud_footprint_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_shared_server_count\": [\n 1,\n null\n ],\n \"cloud_footprint_provider_count\": [\n 1,\n null\n ],\n \"cloud_footprint_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_cross_border_country_count\": [\n 1,\n null\n ],\n \"cloud_footprint_region_count\": [\n 1,\n null\n ],\n \"cloud_footprint_city_count\": [\n 1,\n null\n ],\n \"cloud_footprint_primary_provider\": [\n \"AWS\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"pagination": {
"page": 1,
"per_page": 25,
"total_entries": 45234700,
"total_pages": 1809388
},
"companies": [
{
"logo_url": "https://buckets.pubrio.com/company-logo/MjI0NDc1OTMxaWxqOXNzbmoxdHdpdHRlci5jb20=.jpg",
"company_name": "Twitter",
"emails": [
"..."
],
"phones": [
"..."
],
"contacts": [
"..."
],
"founded_year": 2006,
"specialties": [
"Software Development"
],
"industry": "Software Development",
"domain": "twitter.com",
"domain_search_id": "61a73da7-2efc-41a5-a252-a8a8df29925a",
"domain_id": 224475931,
"linkedin_company_id": 44005587,
"linkedin_name": "twitter",
"is_company_url_active": true,
"domain_ids": [
224475931,
1758889566,
368242865
],
"company_keywords": [
"realtime information",
"social commerce",
"online shopping",
"classifieds",
"craigslist killers",
"e-commerce",
"killers",
"consumer internet",
"internet",
"information technology",
"edp services",
"technology",
"software development",
"microblogging",
"social networking",
"public conversation",
"user engagement",
"content sharing",
"advertising solutions",
"monetization",
"community building",
"digital wallet",
"ai integration",
"user safety"
],
"company_size": 1500,
"youtube_url": null,
"crunchbase_url": null,
"linkedin_url": "http://www.linkedin.com/company/twitter",
"instagram_url": null,
"facebook_url": "http://facebook.com/twitterinc",
"twitter_url": "https://twitter.com/x",
"github_url": null,
"x_url": null,
"location": "United States",
"company_ranking": null,
"company_url": "http://twitter.com",
"saved_lists": null,
"company_size_printed": "1,500"
},
"..."
]
}
}{
"code": 40001,
"message": "Errors and codes will vary depending on the scenario, please see the documentation for information.",
"details": {}
}{
"error": "Request rate limit exceeded. Please wait and try again later."
}{
"error": "An unexpected error occurred on the server."
}Авторизации
Тело
Ограничить результаты поиска конкретным названием компании.
Если введённое значение этого параметра не совпадает с названием компании, компания не появится в результатах поиска, даже если она соответствует другим параметрам. Частичные совпадения допускаются.
"pubrio"
Список уникальных идентификаторов (domain_search_id), используемых для операций поиска компаний и людей.
Ограничить участниками этих групп компаний (id), например source_group_id или excluded_group_id монитора; постранично, как любой поиск.
Список доменов компаний, используемых для операций поиска компаний и людей. Если получен URL вида www.pubrio.com или https://docs.pubrio.com/, система преобразует его в pubrio.com для обработки.
["pubrio.com"]
Полностью сформированный URL профиля компании в LinkedIn. URL начинается с http и содержит linkedin.com/company/
["https://www.linkedin.com/company/pubrio"]
Объект-обёртка для фильтров на уровне компании. Рекомендуемая группировка, визуально отделяющая, какие ключи фильтруют человека (верхний уровень), а какие — компанию. Принимает те же ключи, что и фильтры компании верхнего уровня (например, technologies, verticals, vertical_categories, vertical_sub_categories, categories, keywords, founded_dates, employees, revenues, company_locations, company_exclude_locations, company_places, company_exclude_places, companies, domains, company_linkedin_urls, is_enable_similarity_search, similarity_score, а также filter_conditions). Движок разворачивает этот объект на верхний уровень перед обработкой — при конфликте побеждают ключи верхнего уровня. Та же структура используется в company_filters монитора. Примеры см. в руководстве разработчика Filters Overview.
{
"company_locations": ["US"],
"technologies": [37, 152],
"founded_dates": [2015, 2023],
"filter_conditions": [
{ "key": "technologies", "operator": "and" }
]
}
ISO 3166-1 alpha-2 (cca2) используется для фильтрации местоположений. Подробнее см. эндпоинты location на вкладке Filters.
["US", "SG", "CN"]
ISO 3166-1 alpha-2 (cca2) используется для исключения местоположений, которые не нужно возвращать. Подробнее см. эндпоинты location на вкладке Filters.
["CN", "US", "RU", "CA"]
Названия мест (город, регион), используемые для фильтрации результатов. Принимает локализованные или английские названия мест.
["Tokyo"]
Названия мест (город, регион) для исключения из результатов. Принимает локализованные или английские названия мест.
["Tokyo"]
ISO 3166-1 alpha-2 (cca2) используется для фильтрации местоположений. Подробнее см. эндпоинты location на вкладке Filters.
["US", "SG", "CN"]
Географические местоположения, исключаемые из результатов поиска вакансий.
["CN", "US", "RU", "CA"]
Диапазон дат публикации вакансии. Максимальное значение — текущий день. Границы дня определяются часовым поясом вашей рабочей области.
["2025-01-01", "2025-01-10"]
Должности, связанные с людьми, которых вы хотите найти.
Результаты также будут включать должности, содержащие схожую терминологию, даже если они не совпадают точно. Например, поиск по software engineer может вернуть результаты с должностью senior software engineer.
["sales manager", "marketing manager"]
Список значений vertical_id, используемых для поиска компаний в конкретной отрасли. Чтобы найти ID, вызовите эндпоинт vertical на вкладке Filters.
Этот фильтр поддерживает is_enable_similarity_search; при включении можно вводить произвольный текст, например ["AI"].
Список значений vertical_category_id, используемых для поиска компаний в конкретной категории отрасли. Чтобы найти ID, вызовите эндпоинт vertical category на вкладке Filters.
Этот фильтр поддерживает is_enable_similarity_search; при включении можно вводить произвольный текст, например ["Information Technology"].
Список значений vertical_sub_category_id, используемых для поиска компаний в конкретной подкатегории отрасли. Чтобы найти ID, вызовите эндпоинт vertical sub category на вкладке Filters.
Этот фильтр поддерживает is_enable_similarity_search; при включении можно вводить произвольный текст, например ["Software"].
Список значений category_id, используемых для поиска конкретных категорий технологий, применяемых компаниями. Чтобы найти ID, вызовите эндпоинт category на вкладке Filters.
Этот фильтр поддерживает is_enable_similarity_search; при включении можно вводить произвольный текст, например ["CDN"].
Список значений tag_id, используемых для поиска конкретных технологий, применяемых компаниями. Чтобы найти ID, вызовите эндпоинт technology на вкладке Filters.
Этот фильтр поддерживает is_enable_similarity_search; при включении можно вводить произвольный текст, например ["Shopify"].
Название продукта, которое есть в списке технологий, совпадает с этим продуктом и его собственными продуктами ("Salesforce" также совпадает с Salesforce Desk и Salesforce Service Cloud), но не с похожими; остальной текст сопоставляется по сходству.
Технологии, которые компания не должна использовать: tag_id или, при is_enable_similarity_search, названия вроде ["Shopify"]. Компания без известных технологий остаётся в выдаче.
["Shopify"]
Диапазон количества сотрудников, работающих в компании. Позволяет находить компании по численности персонала. Можно добавить несколько диапазонов, чтобы расширить результаты поиска.
Подробнее см. эндпоинты company size на вкладке Filters.
[[1, 10], [11, 20], [10001]]
Минимальный и максимальный диапазон выручки компании.
[0, 100000]
Диапазон годов основания компании. Максимальное значение — текущий год.
[2018, 2024]
Список ключевых слов для фильтрации компаний по релевантности, специализациям или описаниям.
["ecommerce", "ai", "fintech"]
Компании с профилем на одной из платформ: linkedin, facebook, instagram, tiktok, twitter, x, github, wantedly, rocketpunch. Повысьте до AND с помощью filter_conditions.
linkedin, facebook, instagram, tiktok, twitter, x, github, wantedly, rocketpunch ["tiktok"]
Список category slugs для поиска конкретных категорий новостей. Чтобы найти слаг, вызовите эндпоинт news categories на вкладке Filters.
["launches"]
Диапазон дат публикации. Максимальное значение — текущий день. Границы дня определяются часовым поясом вашей рабочей области.
["2025-01-01", "2025-01-10"]
Ключевые слова, используемые для поиска в содержимом или заголовках рекламы.
["asus"]
Целевые географические местоположения для рекламы.
["TW", "AE", "NO"]
Географические местоположения, исключаемые из таргетинга рекламы.
["IS", "GB", "FR", "IE", "ES"]
Начало диапазона дат для фильтрации рекламы.
["2025-12-25", "2025-12-25"]
Конец диапазона дат для фильтрации рекламы.
["2025-12-25", "2025-12-25"]
Найти рекламу, показывавшуюся в любой момент в течение этого диапазона дат (на основе пересечения: включает рекламу, начавшуюся до диапазона и всё ещё показывающуюся, а не только рекламу, начавшуюся внутри него).
["2026-01-01", "2026-01-31"]
currently_running: компании, для которых зафиксирована реклама. active_last_30_min: компании, чья реклама изменилась за последние 30 минут.
currently_running, active_last_30_min ["currently_running"]
Ключевые слова для поиска в тексте заголовка рекламы.
["limited time offer"]
Фильтр по тому, из какой рекламной библиотеки получена реклама. В нижнем регистре, без учёта регистра. meta принимается как псевдоним для facebook.
linkedin, facebook, google, tiktok, apple ["linkedin", "facebook"]
Фильтр рекламы Facebook/Meta по платформе показа. В нижнем регистре, без учёта регистра. Применяется только к источнику facebook (остальные источники относятся к одной платформе).
facebook, instagram, messenger, threads, audience_network ["facebook", "instagram"]
Исключить рекламу Facebook/Meta, показанную на этих платформах.
facebook, instagram, messenger, threads, audience_network ["audience_network"]
Найти компании, у которых есть хотя бы одна реклама в любом из этих креативных форматов.
image, video, text, carousel, dynamic_product, document, message, event, article, spotlight, follow, job, engagement ["image", "video"]
Минимальное и максимальное количество текущих активных объявлений компании по всем странам. Используйте null для открытой границы, например [1, null] для «хотя бы одно активное объявление».
2 elements[1, null]
Минимальное и максимальное количество объявлений компании, которые всё ещё показываются (без даты окончания или с датой окончания в будущем). В настоящее время заполняется только для рекламы LinkedIn.
2 elements[1, null]
Минимальное и максимальное количество всех объявлений компании, когда-либо зафиксированных, по всем странам.
2 elements[10, null]
Минимальное и максимальное количество уникальных рекламных платформ (linkedin, facebook, google, tiktok, apple), на которых компания активно размещает рекламу.
2 elements[2, null]
Минимальное и максимальное количество уникальных креативных форматов рекламы, которые компания активно использует.
2 elements[2, null]
Минимальное и максимальное расчётное количество показов рекламы, суммированное по всем странам. Учитываются только объявления с указанным диапазоном показов.
2 elements[1000, null]
Рекламная активность для одной конкретной страны. Поле country обязательно, и должно быть задано хотя бы одно другое поле (сама по себе страна ничего не находит). Для общего итога по всем странам используйте вместо этого фильтры верхнего уровня advertisement_active_ads / advertisement_total_ads / advertisement_impressions_estimate.
Show child attributes
Show child attributes
{ "country": "US", "rank": [null, 500] }
Порядок результатов. Не указывайте для порядка по релевантности по умолчанию. advertisement_country_rank сортирует по рекламному рангу компании внутри страны, указанной в advertisement_country_activity (ранг 1 = крупнейший рекламодатель на этом рынке), и игнорируется, если этот фильтр отсутствует. Сочетайте с is_ascending_order: false, чтобы вывести сначала самых мелких рекламодателей. Пока недоступно: name (в обоих направлениях) и relevance с is_ascending_order: false — такие запросы завершаются по тайм-ауту. Используйте порядок по релевантности по умолчанию, number_of_employees или founded_year.
relevance, name, number_of_employees, founded_year, advertisement_country_rank "advertisement_country_rank"
Направление сортировки для sort_by. По умолчанию — по возрастанию, что для advertisement_country_rank означает сначала крупнейших рекламодателей.
true
Расширенные параметры фильтрации для поиска компаний. Задайте условия, сочетающие ключи и логические операторы, чтобы уточнить результаты поиска.
Show child attributes
Show child attributes
Если включено, перечисленные выше фильтры, поддерживающие поиск по схожести, можно заполнять произвольным текстом вместо конкретных ID.
Используется вместе с is_enable_similarity_search. Это число используется для анализа того, насколько конкретный слаг (например, отрасль, технология) похож на введённый пользователем текст; чем выше число, тем строже сопоставление.
0.7
Поиск на естественном языке. Если параметр передан, Pubrio преобразует его в фильтры компаний ниже: отрасль (и исключаемые отрасли), специализация, технологии (и исключаемые инструменты), профили в соцсетях, страна, регион или город штаб-квартиры, численность сотрудников, выручка, год основания, открытые вакансии и их место, новостные события вроде "недавно расширилась", реклама (платформа, формат, целевая страна, число объявлений, показы, даты, место в одной стране) и облачный хостинг (провайдер, страны и города серверов, число хостов и серверов, всего или в одной стране). Значения, соединённые словом "или", совпадают с любым из них; инструменты или профили, соединённые словом "и" ("использует и Salesforce, и HubSpot"), должны совпадать все. Явно переданные фильтры имеют приоритет над распознанными. Часть фразы, которую не может выразить ни один фильтр (например, форма собственности), возвращается в metadata.unmatched_criteria, а не отбрасывается; фраза, в которой нечего искать, возвращает пустой результат с metadata.nl_no_intent: true.
"Food & Beverage companies in Singapore that recently expanded"
Список полей, исключаемых из полезной нагрузки ответа.
["emails", "phones", "contacts"]
Указывает, доступны ли метаданные параметров для запроса.
Указывает, доступны ли метаданные профиля для запроса.
Количество записей на странице. По умолчанию — 25, что также является пределом на большинстве тарифов — лимит определяется параметром max_search_per_page вашей подписки, который возвращает Profile. Превышение возвращает HTTP 416 с кодом 41676 (или 41613 для поиска компаний и людей), а не усечённый набор результатов.
x <= 2525
Компании, использующие любого из этих провайдеров где угодно. providers без префикса сужает записи, этот — компании.
["AWS", "Cloudflare"]
Исключить записи, соответствующие этим облачные или хостинг-провайдеры. Только в пределах этой записи следа — один провайдер, одна страна.
["AWS", "Cloudflare", "Hetzner"]
Компании, присутствующие в любой из этих стран в любой части своего следа.
["DE", "SG"]
Исключить записи, соответствующие этим коды стран, где размещена инфраструктура.
["DE", "US", "SG"]
Оставить только записи, соответствующие этим облачные регионы. Только в пределах этой записи следа — один провайдер, одна страна.
["us-east-1", "eu-central-1"]
Исключить записи, соответствующие этим облачные регионы. Только в пределах этой записи следа — один провайдер, одна страна.
["us-east-1", "eu-central-1"]
Оставить только записи, соответствующие этим города. Только в пределах этой записи следа — один провайдер, одна страна.
["Ashburn", "Frankfurt"]
Исключить записи, соответствующие этим города. Только в пределах этой записи следа — один провайдер, одна страна.
["Ashburn", "Frankfurt"]
Две даты в формате ISO 8601 (ГГГГ-ММ-ДД), ограничивающие период, когда след был впервые обнаружен. Только в пределах этой записи следа — один провайдер, одна страна.
2 elements["2026-01-01", null]
Две даты в формате ISO 8601 (ГГГГ-ММ-ДД), ограничивающие период, когда след был обнаружен в последний раз. Только в пределах этой записи следа — один провайдер, одна страна.
2 elements["2026-01-01", null]
Если true, возвращаются только записи за пределами домашнего рынка компании. Записи компаний без известной штаб-квартиры исключаются.
true
Минимум и максимум для хостов. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для серверов (уникальных IP). Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для серверов, общих с другими компаниями. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для различных провайдеров у компании. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для стран размещения компании. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для стран за пределами домашнего рынка. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для облачных регионов. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Минимум и максимум для городов. Используйте null, чтобы не задавать границу. Считается по компании целиком, по всем провайдерам и странам.
2 elements[1, null]
Компании, чей крупнейший провайдер — один из перечисленных.
["AWS"]
Границы в пределах одной страны: {"country":"DE","host_count":[100,null]} находит компании со 100+ хостами именно в Германии. Обычный cloud_footprint_host_count — это итог по всем странам, поэтому вместе они этого не выражают. Один country отклоняется.
Show child attributes
Show child attributes
Ответ
Успешный ответ с данными поиска компаний.

