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."
}Company Search
Search the Pubrio database for companies matching specified criteria such as industry, size, location, and technologies.
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."
}Authorizations
Body
Filter search results to include a specific company name.
If the value you enter for this parameter does not match with a company's name, the company will not appear in search results, even if it matches other parameters. Partial matches are accepted.
"pubrio"
A list of unique identifiers (domain_search_id) used for company and people search operations.
Restrict to members of these company groups (ids), such as a monitor's source_group_id or excluded_group_id; paginated like any search.
List of company domains used for company and people search operations. If we receive a URL such as www.pubrio.com or https://docs.pubrio.com/, the system will convert it to pubrio.com for processing.
["pubrio.com"]
The fully formed URL of the LinkedIn company profile. URL begin with http and contain linkedin.com/company/
["https://www.linkedin.com/company/pubrio"]
Wrapper object for company-level filters. Recommended grouping that visually separates which keys filter the person (top-level) from which filter the company. Accepts the same keys as the top-level company filters (e.g. 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, plus filter_conditions). Engine flattens this object to the top level before processing — top-level keys win on conflict. Same shape used by Monitor company_filters. See the Filters Overview developer guide for examples.
{ "company_locations": ["US"], "technologies": [37, 152], "founded_dates": [2015, 2023], "filter_conditions": [ { "key": "technologies", "operator": "and" } ] }
ISO 3166-1 alpha-2 (cca2) is used for filtering locations. Check out location endpoints under the Filters tab for more information.
["US", "SG", "CN"]
ISO 3166-1 alpha-2 (cca2) is used to filter out locations that does not need to be returned. Check out location endpoints under the Filters tab for more information.
["CN", "US", "RU", "CA"]
Place names (city, region) used to filter results. Accepts localized or English place names.
["Tokyo"]
Place names (city, region) to exclude from results. Accepts localized or English place names.
["Tokyo"]
ISO 3166-1 alpha-2 (cca2) is used for filtering locations. Check out location endpoints under the Filters tab for more information.
["US", "SG", "CN"]
Geographic locations to exclude from job posting results.
["CN", "US", "RU", "CA"]
Date range of the posted date. The maximum value is the current day. Day boundaries follow your workspace timezone.
["2025-01-01", "2025-01-10"]
Job titles associated with the individuals you aim to locate.
The results will also encompass job titles that include similar terminology, even if they do not match exactly. For instance, searching for software engineer may yield results for individuals with the title senior software engineer.
["sales manager", "marketing manager"]
A list of vertical_id used to search for companies in a specific vertical or industry. To find the ID, call the vertical endpoint under the Filters tab.
This filter supports is_enable_similarity_search, once enabled you can enter any free text, e.g. ["AI"].
A list of vertical_category_id used to search for companies in a specific vertical category. To find the ID, call the vertical category endpoint under the Filters tab.
This filter supports is_enable_similarity_search, once enabled you can enter any free text, e.g. ["Information Technology"].
A list of vertical_sub_category_id used to search for companies in a specific vertical sub-category. To find the ID, call the vertical sub category endpoint under the Filters tab.
This filter supports is_enable_similarity_search, once enabled you can enter any free text, e.g. ["Software"].
A list of category_id used to search for specific categories of technology used by companies. To find the ID, call the category endpoint under the Filters tab.
This filter supports is_enable_similarity_search, once enabled you can enter any free text, e.g. ["CDN"].
A list of tag_id used to search for specific technologies used by companies. To find the ID, call the technology endpoint under the Filters tab.
This filter supports is_enable_similarity_search, once enabled you can enter any free text, e.g. ["Shopify"].
A product name the technology list knows matches that product and its own products ("Salesforce" also matches Salesforce Desk and Salesforce Service Cloud), never look-alikes; other text matches by similarity.
Technologies the company must not use, as tag_ids or, with is_enable_similarity_search, names such as ["Shopify"]. A company with no known technologies is kept.
["Shopify"]
The number range of employees working for the company. This enables you to find companies based on headcount. You can add multiple ranges to expand your search results.
Check out company size endpoints under the Filters tab for more information.
[[1, 10], [11, 20], [10001]]
Minimum and maximum range of company revenue.
[0, 100000]
Years of company founded range. The maximum value founded is the current year.
[2018, 2024]
A list of keywords to filter companies by relevance, specialties, or descriptions.
["ecommerce", "ai", "fintech"]
Companies with a profile on any of: linkedin, facebook, instagram, tiktok, twitter, x, github, wantedly, rocketpunch. Promote to AND with filter_conditions.
linkedin, facebook, instagram, tiktok, twitter, x, github, wantedly, rocketpunch ["tiktok"]
List of category slugs for searching for specific news categories. To find a slug, call the news categories endpoint under the Filters tab.
["launches"]
Date range of the published date. The maximum value is the current day. Day boundaries follow your workspace timezone.
["2025-01-01", "2025-01-10"]
Keywords used to search within advertisement content or titles.
["asus"]
Target geographic locations for advertisements.
["TW", "AE", "NO"]
Geographic locations to exclude from advertisement targeting.
["IS", "GB", "FR", "IE", "ES"]
Start date range for advertisement filtering.
["2025-12-25", "2025-12-25"]
End date range for advertisement filtering.
["2025-12-25", "2025-12-25"]
Find advertisements that were running at any point during this date range (overlap-based: includes ads that started before the range and are still running, not just ads that started inside it).
["2026-01-01", "2026-01-31"]
currently_running: companies with advertising on record. active_last_30_min: companies whose advertising changed in the last 30 minutes.
currently_running, active_last_30_min ["currently_running"]
Keywords to search for within advertisement headline text.
["limited time offer"]
Filter by which ad library the advertisement was sourced from. Lowercase, case-insensitive. meta is accepted as an alias for facebook.
linkedin, facebook, google, tiktok, apple ["linkedin", "facebook"]
Filter Facebook/Meta ads by the platform surface they were delivered on. Lowercase and case-insensitive. Only applies to the facebook source (other sources are single-platform).
facebook, instagram, messenger, threads, audience_network ["facebook", "instagram"]
Exclude Facebook/Meta ads delivered on these platform surfaces.
facebook, instagram, messenger, threads, audience_network ["audience_network"]
Find companies with at least one advertisement in any of these creative formats.
image, video, text, carousel, dynamic_product, document, message, event, article, spotlight, follow, job, engagement ["image", "video"]
Minimum and maximum count of the company's currently active advertisements, across all countries. Use null for an open-ended bound, e.g. [1, null] for "at least one active ad".
2 elements[1, null]
Minimum and maximum count of the company's advertisements that are still running (no end date, or an end date in the future). Currently populated for LinkedIn ads only.
2 elements[1, null]
Minimum and maximum count of the company's total advertisements ever recorded, across all countries.
2 elements[10, null]
Minimum and maximum number of distinct ad platforms (linkedin, facebook, google, tiktok, apple) the company is actively advertising on.
2 elements[2, null]
Minimum and maximum number of distinct advertisement creative formats the company is actively running.
2 elements[2, null]
Minimum and maximum estimated advertisement impressions, summed across all countries. Only advertisements with a reported impression range are counted.
2 elements[1000, null]
Advertising activity for one specific country. country is required, and at least one other field must be set (a country by itself matches nothing). For an all-country total instead, use the top-level advertisement_active_ads / advertisement_total_ads / advertisement_impressions_estimate filters.
Show child attributes
Show child attributes
{ "country": "US", "rank": [null, 500] }
Result ordering. Omit for the default relevance order. advertisement_country_rank orders by the company's advertising rank inside the country named in advertisement_country_activity (rank 1 = biggest advertiser in that market) and is ignored unless that filter is present. Pair with is_ascending_order: false to list the smallest advertisers first. Not yet available: name (either direction) and relevance with is_ascending_order: false — those requests time out. Use the default relevance order, number_of_employees or founded_year instead.
relevance, name, number_of_employees, founded_year, advertisement_country_rank "advertisement_country_rank"
Direction for sort_by. Defaults to ascending, which for advertisement_country_rank means the biggest advertisers first.
true
Advanced filtering options for company searches. Specify conditions combining keys and logical operators to refine search results.
Show child attributes
Show child attributes
When enabled, the filters listed above that support similarity searches can be filled with free text for specific IDs.
It is used in conjunction with is_enable_similarity_search. This number is used to analyze whether a specific slug (e.g. vertical industry, technology) is similar to the user input, and the higher the number, the more stringent it is.
0.7
Natural-language search. When provided, Pubrio interprets it into the company filters below: industry (and industries to leave out), specialty, technology (and tools to leave out), social profiles, HQ country, region or city, head-count, revenue, founded year, roles being hired and where, news events such as "recently expanded", advertising (platform, format, target country, ad counts, impressions, dates, rank in one country) and cloud hosting (provider, server countries and cities, host and server counts, overall or in one country). Values joined by "or" match any of them; tools or profiles joined by "and" ("uses both Salesforce and HubSpot") must all match. Any explicit filters you also pass take precedence over the interpreted ones. A part of the sentence no filter can express (for example ownership) comes back in metadata.unmatched_criteria rather than being dropped; a sentence with nothing searchable returns no results with metadata.nl_no_intent: true.
"Food & Beverage companies in Singapore that recently expanded"
List of fields to exclude from the response payload.
["emails", "phones", "contacts"]
Indicates whether parameter metadata is available for the request.
Indicates whether profile metadata is available for the request.
Records per page. Defaults to 25, which is also the ceiling on most plans — the limit is your subscription's max_search_per_page, returned by Profile. Exceeding it returns HTTP 416 with code 41676 (or 41613 on company and people search), not a clamped result set.
x <= 2525
Companies that use any of these providers anywhere. The unprefixed providers narrows the rows returned; this narrows the companies.
["AWS", "Cloudflare"]
Remove footprint rows matching these cloud or hosting providers. Scoped to this footprint row — one provider in one country.
["AWS", "Cloudflare", "Hetzner"]
Companies present in any of these countries anywhere in their footprint.
["DE", "SG"]
Remove footprint rows matching these country codes the infrastructure sits in.
["DE", "US", "SG"]
Restrict results to footprint rows matching these cloud regions. Scoped to this footprint row — one provider in one country.
["us-east-1", "eu-central-1"]
Remove footprint rows matching these cloud regions. Scoped to this footprint row — one provider in one country.
["us-east-1", "eu-central-1"]
Restrict results to footprint rows matching these cities. Scoped to this footprint row — one provider in one country.
["Ashburn", "Frankfurt"]
Remove footprint rows matching these cities. Scoped to this footprint row — one provider in one country.
["Ashburn", "Frankfurt"]
Two ISO 8601 dates (YYYY-MM-DD) bounding when the footprint was first seen. Scoped to this footprint row — one provider in one country.
2 elements["2026-01-01", null]
Two ISO 8601 dates (YYYY-MM-DD) bounding when the footprint was last seen. Scoped to this footprint row — one provider in one country.
2 elements["2026-01-01", null]
When true, return only footprint rows outside the company's home market. Rows whose company has no known headquarters are excluded.
true
Minimum and maximum hosts. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum servers (distinct IP addresses). Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum servers shared with other companies. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum distinct providers used by the company. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum countries the company hosts in. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum countries outside the company's home market. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum cloud regions. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Minimum and maximum cities. Use null for an open-ended bound. Counted for the whole company, across every provider and country.
2 elements[1, null]
Companies whose single largest provider is one of these.
["AWS"]
Bounds scoped to one country: {"country":"DE","host_count":[100,null]} finds companies running 100+ hosts in Germany specifically. The bare cloud_footprint_host_count is the company total across all countries, so the two cannot express this together. country alone is rejected.
Show child attributes
Show child attributes
Response
Successful response containing company search details.

