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": "エラーの背景やフィールド単位の情報などを含む追加データオブジェクトです。",
"details": {}
}{
"error": "クライアントはしばらく待ってから再試行することが推奨されます。"
}{
"error": "レスポンスボディには `error` フィールドが含まれ、問題の概要がメッセージとして記載されます。"
}企業検索
業種、規模、所在地、テクノロジーなどの条件に一致する企業を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": "エラーの背景やフィールド単位の情報などを含む追加データオブジェクトです。",
"details": {}
}{
"error": "クライアントはしばらく待ってから再試行することが推奨されます。"
}{
"error": "レスポンスボディには `error` フィールドが含まれ、問題の概要がメッセージとして記載されます。"
}承認
ボディ
検索結果を、指定した社名に一致する企業のみに絞り込むためのフィルターです。入力値が企業名と一致しない場合、その企業は他の条件を満たしていても結果に含まれず、部分一致によるマッチングもサポートされます。
"pubrio"
企業および人物検索処理で利用する domain_search_id の一覧です。
これらの企業グループ(ID)のメンバーに限定します。モニターの source_group_id や excluded_group_id など。他の検索と同様にページングされます。
企業および人物検索に使用する会社ドメインの一覧です。www や URL スキームが含まれる場合も、自動的にルートドメインへ正規化されます。
["pubrio.com"]
企業の 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)。エンジンは処理前にこのオブジェクトをトップレベルに展開します — 同名キーがある場合はトップレベルが勝ちます。Monitor company_filters と同じ形状です。例はフィルター概要開発者ガイドを参照してください。
{ "company_locations": ["US"], "technologies": [37, 152], "founded_dates": [2015, 2023], "filter_conditions": [ { "key": "technologies", "operator": "and" } ] }
ISO 3166-1 alpha-2(CCA2)コードで地域を指定するフィルターです。詳細はフィルタータブの location エンドポイントを参照します。
["US", "SG", "CN"]
ISO 3166-1 alpha-2 コードで、検索結果から除外する地域を指定します。
["CN", "US", "RU", "CA"]
結果をフィルタリングするための場所名(都市または地域)です。ローカライズまたは英語の場所名を受け付けます。
["Tokyo"]
結果から除外する場所名(都市または地域)です。ローカライズまたは英語の場所名を受け付けます。
["Tokyo"]
ISO 3166-1 alpha-2(CCA2)コードで地域を指定するフィルターです。詳細はフィルタータブの location エンドポイントを参照します。
["US", "SG", "CN"]
求人結果から除外する地理的位置。
["CN", "US", "RU", "CA"]
求人の掲載日レンジです。最大値には当日が指定可能です。 日付境界はワークスペースのタイムゾーンに従います。
["2025-01-01", "2025-01-10"]
対象人物に関連する役職名です。完全一致でなくても、類似する役職を含む結果が返されます(例:software engineer で senior software engineer もヒット)。
["sales manager", "marketing manager"]
特定の業界・業種セグメントに属する企業を検索するための vertical_id 一覧です。is_enable_similarity_search を有効化すると、["AI"] などの自由テキスト入力が可能です。
特定の業界カテゴリに属する企業を検索するための vertical_category_id の一覧です。フィルターは is_enable_similarity_search に対応しており、有効化すると ["Information Technology"] のような自由テキストから候補 ID を解決できます。
特定の業界サブカテゴリに属する企業を検索するための vertical_sub_category_id の一覧です。is_enable_similarity_search を有効化すると、["Software"] のような自由テキスト入力に基づいて関連 ID を検索できます。
特定のテクノロジーカテゴリを利用している企業を検索するための category_id 一覧です。is_enable_similarity_search を有効化すると、["CDN"] のような自由テキスト入力も可能になります。
特定のテクノロジーを利用している企業を検索するための tag_id 一覧です。ID はフィルタータブの technology エンドポイントから取得します。is_enable_similarity_search を有効化すると、["Shopify"] のような自由テキスト入力も可能になります。
テクノロジー一覧にある製品名は、その製品と同社の製品に一致します("Salesforce" は Salesforce Desk や Salesforce Service Cloud にも一致)。似た別製品には一致しません。それ以外のテキストは類似度で一致します。
企業が使っていてはならない技術。tag_id、または is_enable_similarity_search 有効時は ["Shopify"] のような名称で指定します。既知の技術がない企業は残ります。
["Shopify"]
企業の従業員数レンジを表します。複数レンジを指定することで、対象となる会社規模の幅を広げられます。詳細は company size エンドポイントを参照します。
[[1, 10], [11, 20], [10001]]
企業収益の最小値と最大値を表すレンジです。
[0, 100000]
企業の設立年レンジです。最大値には当年が指定可能です。
[2018, 2024]
会社を関連性、専門分野、または説明でフィルタリングするためのキーワードのリスト。
["ecommerce", "ai", "fintech"]
次のいずれかにプロフィールを持つ企業:linkedin、facebook、instagram、tiktok、twitter、x、github、wantedly、rocketpunch。filter_conditions で AND に昇格できます。
linkedin, facebook, instagram, tiktok, twitter, x, github, wantedly, rocketpunch ["tiktok"]
特定のニュースカテゴリを検索するためのカテゴリスラッグ一覧です。スラッグは news categories エンドポイントから取得します。
["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"]
これらのクリエイティブフォーマットのいずれかで、広告を少なくとも 1 件出稿している企業を検索します。
image, video, text, carousel, dynamic_product, document, message, event, article, spotlight, follow, job, engagement ["image", "video"]
企業が現在アクティブにしている広告件数の最小値と最大値です(すべての国の合計)。上限または下限を設けない場合は null を指定します。例:「アクティブな広告が 1 件以上」を表すには [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]
特定の 1 か国における広告アクティビティです。country は必須で、それ以外のフィールドを少なくとも 1 つ指定する必要があります(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(昇順・降順とも)および is_ascending_order: false を指定した relevance — これらのリクエストはタイムアウトします。デフォルトの関連度順、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 が以下の企業フィルターに変換します:業種(および除外する業種)、専門分野、テクノロジー(および使っていないツール)、SNS プロフィール、本社の国・地域・都市、従業員数、売上高、設立年、採用中の職種とその勤務地、「最近拡大した」などのニュースイベント、広告(プラットフォーム、形式、配信国、広告数、インプレッション、日付、特定の国での順位)、クラウドホスティング(プロバイダー、サーバーの所在国と都市、ホスト数とサーバー数、全体または特定の国での値)。「または」でつないだ値はいずれかに一致すれば対象になり、「と」でつないだツールやプロフィール(「Salesforce と HubSpot の両方を使用」)はすべてに一致する必要があります。同時に明示的に指定したフィルターは、解釈結果より優先されます。どのフィルターでも表現できない部分(例:所有形態)は破棄されず metadata.unmatched_criteria で返され、検索できる内容がない文は metadata.nl_no_intent: true とともに結果なしで返されます。
"Food & Beverage companies in Singapore that recently expanded"
レスポンスペイロードから除外するフィールドのリストです。
["emails", "phones", "contacts"]
リクエストにパラメータメタデータが利用可能かどうかを示します。
リクエストにプロファイルメタデータが利用可能かどうかを示します。
いずれかのプロバイダーをどこかで利用している企業。接頭辞なしの providers は返る行を、こちらは企業を絞り込みます。
["AWS", "Cloudflare"]
これらのクラウド/ホスティングプロバイダーに一致するフットプリント行を除外します。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
["AWS", "Cloudflare", "Hetzner"]
フットプリントのいずれかでこれらの国に存在する企業。
["DE", "SG"]
これらのインフラが所在する国コードに一致するフットプリント行を除外します。
["DE", "US", "SG"]
これらのクラウドリージョンに一致するフットプリント行のみを返します。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
["us-east-1", "eu-central-1"]
これらのクラウドリージョンに一致するフットプリント行を除外します。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
["us-east-1", "eu-central-1"]
これらの都市に一致するフットプリント行のみを返します。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
["Ashburn", "Frankfurt"]
これらの都市に一致するフットプリント行を除外します。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
["Ashburn", "Frankfurt"]
フットプリントが最初に検出された時期を区切る 2 つの ISO 8601 日付(YYYY-MM-DD)。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
2 elements["2026-01-01", null]
フットプリントが最後に検出された時期を区切る 2 つの ISO 8601 日付(YYYY-MM-DD)。 このフットプリント行(1 プロバイダー × 1 か国)に限定されます。
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"]
1 か国に絞った範囲条件です。{"country":"DE","host_count":[100,null]} はドイツで 100 以上のホストを運用する企業を抽出します。単体の cloud_footprint_host_count は全世界の合計なので、両者の組み合わせでは表現できません。country だけの指定は拒否されます。
Show child attributes
Show child attributes

