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": "服务器在处理请求时遇到了未预料的异常。"
}公司检索
在 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": "服务器在处理请求时遇到了未预料的异常。"
}请求体
筛选搜索结果,仅包含指定公司名称。
如果输入的值与公司名称不匹配,则该公司不会出现在搜索结果中,即使其他参数匹配也不会。支持部分匹配。
"pubrio"
用于公司和人员检索操作的一组唯一标识符(domain_search_id)列表。
仅返回这些公司分组(ID)中的成员,例如监控的 source_group_id 或 excluded_group_id;与其他搜索一样分页。
用于公司和人员检索操作的公司域名列表。如果收到的地址为 www.pubrio.com 或 https://docs.pubrio.com/,系统会自动转换为 pubrio.com 进行处理。
["pubrio.com"]
LinkedIn 公司主页的完整 URL。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(cca2)用于筛选不需要返回的地区。更多信息请参见筛选器标签下的 location 端点。
["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 列表,用于搜索特定垂直行业或领域的公司。要获取ID,请调用筛选器标签下的 vertical 端点。
该筛选器支持 is_enable_similarity_search,启用后可输入任意自由文本,例如 ["AI"]。
vertical_category_id 列表,用于搜索特定垂直行业类别的公司。要获取ID,请调用筛选器标签下的 vertical category 端点。
该筛选器支持 is_enable_similarity_search,启用后可输入任意自由文本,例如 ["Information Technology"]。
vertical_sub_category_id 列表,用于搜索特定垂直行业子类别的公司。要获取ID,请调用筛选器标签下的 vertical sub category 端点。
该筛选器支持 is_enable_similarity_search,启用后可输入任意自由文本,例如 ["Software"]。
category_id 列表,用于搜索公司所用的特定技术类别。要获取ID,请调用筛选器标签下的 category 端点。
该筛选器支持 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"]
category slugs 列表,用于搜索特定新闻类别。要获取 slug,请调用筛选器标签下的 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"]
查找至少有一条广告采用以下任一创意形式的公司。
image, video, text, carousel, dynamic_product, document, message, event, article, spotlight, follow, job, engagement ["image", "video"]
公司当前活跃广告数量的最小值和最大值,统计范围为所有国家。使用 null 表示开放边界,例如 [1, null] 表示"至少一条活跃广告"。
2 elements[1, null]
公司仍在投放中的广告数量的最小值和最大值(无结束日期,或结束日期在未来)。目前仅针对 LinkedIn 广告填充此数据。
2 elements[1, null]
公司有记录以来的广告总数的最小值和最大值,统计范围为所有国家。
2 elements[10, null]
公司当前正在投放广告的不同广告平台(linkedin、facebook、google、tiktok、apple)数量的最小值和最大值。
2 elements[2, null]
公司当前正在投放的不同广告创意形式数量的最小值和最大值。
2 elements[2, null]
预估广告展示次数的最小值和最大值,为所有国家的总和。仅统计具有已报告展示次数区间的广告。
2 elements[1000, null]
特定国家的广告投放活动。country 为必填项,且必须至少设置一个其他字段(仅提供国家本身不会匹配任何结果)。若需要所有国家的汇总数据,请改用顶层的 advertisement_active_ads / advertisement_total_ads / advertisement_impressions_estimate 筛选器。
Show child attributes
Show child attributes
{ "country": "US", "rank": [null, 500] }
结果排序方式。留空则使用默认的相关性排序。advertisement_country_rank 会按公司在 advertisement_country_activity 所指定国家内的广告排名排序(排名 1 = 该市场投放量最大的广告主),未使用该筛选器时此排序会被忽略。搭配 is_ascending_order: false 可让投放量最小的广告主排在最前。 暂不支持:name(升序和降序均不支持)以及配合 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 配合使用。该数值用于分析特定 slug(如行业、技术)与用户输入的相似程度,数值越高,匹配越严格。
0.7
自然语言搜索。提供后,Pubrio 会将其解析为下方的公司筛选条件:行业(及要排除的行业)、细分领域、技术(及不使用的技术)、社交媒体主页、总部所在国家、地区或城市、员工人数、营收、成立年份、正在招聘的职位及地点、新闻事件(如“最近扩张”)、广告(平台、形式、投放国家、广告数量、曝光量、日期、在某一国家的排名)以及云托管(服务商、服务器所在国家和城市、主机与服务器数量,整体或某一国家)。用“或”连接的值匹配其中任意一个;用“和”连接的工具或主页(“同时使用 Salesforce 和 HubSpot”)必须全部匹配。你同时传入的显式筛选条件优先于解析结果。句子中无法用任何筛选条件表达的部分(例如所有权)会在 metadata.unmatched_criteria 中返回,而不会被丢弃;没有可搜索内容的句子将返回空结果,并带有 metadata.nl_no_intent: true。
"Food & Beverage companies in Singapore that recently expanded"
要从响应中排除的字段列表。
["emails", "phones", "contacts"]
指示请求中是否可用参数元数据。
指示请求中是否可用配置文件元数据。
筛选在任意位置使用这些服务商的公司。不带前缀的 providers 缩小返回的记录;此项缩小公司范围。
["AWS", "Cloudflare"]
排除匹配这些云或托管服务商的足迹记录。 仅限该条足迹记录 — 一个服务商、一个国家。
["AWS", "Cloudflare", "Hetzner"]
在其足迹中任意位置出现在这些国家的公司。
["DE", "SG"]
排除匹配这些基础设施所在的国家代码的足迹记录。
["DE", "US", "SG"]
仅返回匹配这些云区域的足迹记录。 仅限该条足迹记录 — 一个服务商、一个国家。
["us-east-1", "eu-central-1"]
排除匹配这些云区域的足迹记录。 仅限该条足迹记录 — 一个服务商、一个国家。
["us-east-1", "eu-central-1"]
仅返回匹配这些城市的足迹记录。 仅限该条足迹记录 — 一个服务商、一个国家。
["Ashburn", "Frankfurt"]
排除匹配这些城市的足迹记录。 仅限该条足迹记录 — 一个服务商、一个国家。
["Ashburn", "Frankfurt"]
两个 ISO 8601 日期(YYYY-MM-DD),限定足迹首次发现的时间范围。 仅限该条足迹记录 — 一个服务商、一个国家。
2 elements["2026-01-01", null]
两个 ISO 8601 日期(YYYY-MM-DD),限定足迹最近发现的时间范围。 仅限该条足迹记录 — 一个服务商、一个国家。
2 elements["2026-01-01", null]
为 true 时仅返回公司本土市场以外的足迹记录。总部未知的公司记录会被排除。
true
主机数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
服务器数(不同 IP)的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
与其他公司共用的服务器数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
公司使用的不同服务商数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
公司托管所在的国家数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
本土市场以外的国家数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
云区域数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
城市数的最小值与最大值。使用 null 表示不设该端边界。 按公司整体统计,涵盖所有服务商与国家。
2 elements[1, null]
主要(占比最大)服务商为其中之一的公司。
["AWS"]
限定单一国家的范围条件:{"country":"DE","host_count":[100,null]} 查找在德国运行 100 台以上主机的公司。不带此结构的 cloud_footprint_host_count 是公司在所有国家的总量,二者无法组合表达。仅提供 country 会被拒绝。
Show child attributes
Show child attributes

