What this endpoint helps with
The response provides available Maps fields in normalized V2 or platform-native V1 format.
When to use it
Use “Company info by company ID” after the object is known and your product needs its current public context.
Retrieve detailed public Maps data from Google by a known identifier for object records, validation, and enrichment.
Use “Company info by company ID” after the object is known and your product needs its current public context.
Review the result and common workflows first, then move to parameters and a working request example.
The response provides available Maps fields in normalized V2 or platform-native V1 format.
Use “Company info by company ID” after the object is known and your product needs its current public context.
Attach public Google fields to known product objects.
Verify identifiers and current public context before downstream processing.
Use object details as inputs for reports, scoring, and related requests.
Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.
Switch versions on this page to compare response structures while keeping the same documentation URL.
Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.
The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.
Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
company_id |
No | str |
5181132708478222499 |
Numeric Google Maps CID/company_id returned by Google Maps places search. Example: 5181132708478222499. |
country_code |
No | str |
US |
Two-letter country code used for geo-localized Google results. Example: US. |
language |
No | str | None |
value |
Optional Google interface language code used for localized text fields. Example: en. |
Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.
GET /api/v2/google.com/maps/company-info-by-company-idcurl --request GET \
--url "https://www.scrapestorm.net/api/v2/google.com/maps/company-info-by-company-id" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
# Optional parameters:
# --data-urlencode 'company_id=5181132708478222499'
# --data-urlencode 'country_code=US'
# --data-urlencode 'language=value'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v2/google.com/maps/company-info-by-company-id"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
}
# Optional parameters
# params["company_id"] = "5181132708478222499"
# params["country_code"] = "US"
# params["language"] = "value"
with requests.Session() as session:
response = session.request(
method="GET",
url=urljoin(BASE_URL, ENDPOINT),
headers=HEADERS,
params=params,
timeout=30,
)
response.raise_for_status()
payload = response.json()
print(payload)
const BASE_URL = "https://www.scrapestorm.net";
const endpoint = "/api/v2/google.com/maps/company-info-by-company-id";
const params = new URLSearchParams({
});
// Optional parameters
// params.set("company_id", "5181132708478222499");
// params.set("country_code", "US");
// params.set("language", "value");
const response = await fetch(`${BASE_URL}${endpoint}?${params.toString()}`, {
method: "GET",
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status} ${response.statusText}`);
}
const payload = await response.json();
console.log(payload);
import axios from "axios";
const client = axios.create({
baseURL: "https://www.scrapestorm.net",
timeout: 30000,
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
const params = {
};
// Optional parameters
// params.company_id = "5181132708478222499";
// params.country_code = "US";
// params.language = "value";
const { data: payload } = await client.request({
method: "GET",
url: endpoint,
params,
});
console.log(payload);
<?php
declare(strict_types=1);
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
$client = new Client([
'base_uri' => "https://www.scrapestorm.net",
'timeout' => 30.0,
'headers' => [
'Accept' => 'application/json',
'X-API-Key' => "00000000-0000-4000-8000-000000000000",
],
]);
$query = [
];
// Optional parameters
// $query["company_id"] = "5181132708478222499";
// $query["country_code"] = "US";
// $query["language"] = "value";
try {
$response = $client->request("GET", "/api/v2/google.com/maps/company-info-by-company-id", [
'query' => $query,
]);
$payload = json_decode(
(string) $response->getBody(),
true,
512,
JSON_THROW_ON_ERROR
);
var_dump($payload);
} catch (GuzzleException $e) {
throw $e;
}
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"time"
)
func main() {
baseURL := "https://www.scrapestorm.net"
endpoint := "/api/v2/google.com/maps/company-info-by-company-id"
params := url.Values{}
// Optional parameters
// params.Set("language", "value")
req, err := http.NewRequest(
"GET",
fmt.Sprintf("%s%s?%s", baseURL, endpoint, params.Encode()),
nil,
)
if err != nil {
panic(err)
}
req.Header.Set("Accept", "application/json")
req.Header.Set("X-API-Key", "00000000-0000-4000-8000-000000000000")
client := &http.Client{Timeout: 30 * time.Second}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var payload any
if err := json.NewDecoder(resp.Body).Decode(&payload); err != nil {
panic(err)
}
fmt.Printf("%+v\n", payload)
}
The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.
This compact JSON example comes from the latest successful verification run for V2.
{
"success": true,
"status": "ok",
"search_context": {
"language": "en",
"country_code": "us",
"company_id": "13926460886861596347"
},
"data": {
"company_id": "13926460886861596347",
"place_summary": {
"name": "Sightglass Coffee",
"feature_id": "0x80858082387de57f:0xc144ba641bc1c6bb",
"place_id": "ChIJf-V9OIKAhYARu8bBG2S6RME",
"rating": 4.4,
"categories": [
"Coffee shop"
],
"formatted_address": "Sightglass Coffee, 270 7th St, San Francisco, CA 94103",
"address": {
"street_address": "270 7th St",
"locality": "San Francisco",
"postal_code": "94103",
"region": "California",
"country_code": "US"
},
"neighborhood": "SoMa",
"coordinates": {
"latitude": 37.7770356,
"longitude": -122.40845429999999
},
"timezone": "America/Los_Angeles",
"phone_number": "+1 415-463-1673",
"website_url": "https://sightglasscoffee.com/",
"website_host": "sightglasscoffee.com",
"google_maps_url": "https://www.google.com/maps/preview/place/Sightglass+Coffee,+270+7th+St,+San+Francisco,+CA+94103/@37.7770356,-122.4084543,3154a,13.1y/data=!4m2!3m1!1s0x80858082387de57f:0xc144ba…",
"opening_hours": {
"open_now_text": "Open",
"hours_summary": "Open · Closes 5 PM",
"today_hours": [
"7 AM–5 PM"
]
},
"accessibility_features": [
{
"code": "/geo/type/establishment_poi/has_wheelchair_accessible_entrance",
"label": "Wheelchair accessible entrance",
"available": true
},
{
"code": "/geo/type/establishment_poi/has_wheelchair_accessible_restroom",
"label": "Wheelchair accessible restroom",
"available": true
},
{
"_more_items": 2
}
],
"business_highlights": [
"LGBTQ+ friendly"
],
"description": "Sightglass Coffee is a women-owned, San Francisco-based coffee company devoted to sourcing, roasting, and serving the most distinctive coffees in the world. Grounded in craft an…",
"avatar_url": "https://example.com/image.jpg"
},
"review_summary": {
"rating": 4.4
}
}
}
Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.
Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.
The method performs “Company info by company ID” for Maps. The compact response example below shows the exact field structure.
Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.
Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.