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": "服务器在处理请求时遇到了未预料的异常。"
}授权
一个唯一的 API 令牌,用于标识您通过 API 执行的操作以及相应的权限和操作。您可以在 设置 部分创建该令牌。
请求体
公司级筛选器的包装对象。推荐分组方式 — 视觉上分开哪些键筛选人员(顶层)、哪些筛选公司。接受与顶层公司筛选器相同的键(如 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" }
]
}
结果排序方式。留空则使用默认的相关性排序。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"
自然语言搜索。提供后,Pubrio 会将其解析为下方的公司筛选条件:行业(及要排除的行业)、细分领域、技术(及不使用的技术)、社交媒体主页、总部所在国家、地区或城市、员工人数、营收、成立年份、正在招聘的职位及地点、新闻事件(如“最近扩张”)、广告(平台、形式、投放国家、广告数量、曝光量、日期、在某一国家的排名)以及云托管(服务商、服务器所在国家和城市、主机与服务器数量,整体或某一国家)。用“或”连接的值匹配其中任意一个;用“和”连接的工具或主页(“同时使用 Salesforce 和 HubSpot”)必须全部匹配。你同时传入的显式筛选条件优先于解析结果。句子中无法用任何筛选条件表达的部分(例如所有权)会在 metadata.unmatched_criteria 中返回,而不会被丢弃;没有可搜索内容的句子将返回空结果,并带有 metadata.nl_no_intent: true。
"Food & Beverage companies in Singapore that recently expanded"
每页记录数。默认 25,在大多数套餐下这也是上限 —— 该限制即订阅中的 max_search_per_page,可通过 Profile 获取。超出会返回 HTTP 416 及错误码 41676(公司与人物搜索为 41613),而不是自动截断结果。 41675(页码)或 41676(每页条数)的拒绝会在 details 中说明触及的限制,例如 { "parameter": "per_page", "maximum": 25, "requested": 50 }。
x <= 2525
页码,从 1 开始。上限为订阅中的 max_search_page(公司搜索为 max_company_search_page),可通过 Profile 获取。超出会返回 HTTP 416。
1

