Get one Google Business Profile media item
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId} \
--header 'Authorization: <api-key>'import requests
url = "https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}', 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.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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"
"net/http"
"io"
)
func main() {
url := "https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"attribution": {
"profile_name": "Jane S.",
"profile_photo_url": "<string>",
"profile_url": "<string>",
"takedown_url": "<string>"
},
"category": "INTERIOR",
"created_at": "2026-03-01T12:00:00Z",
"description": "Main dining room",
"height_pixels": 1200,
"id": "accounts/123/locations/456/media/789",
"media": {
"type": "image",
"url": "https://lh3.googleusercontent.com/p/abc"
},
"thumbnail_url": "<string>",
"width_pixels": 1600
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Google
Get one Google Business Profile media item
Returns one photo or video from a location’s profile. mediaId accepts either the bare id or the full Google resource name returned by the list endpoint.
GET
/
platforms
/
google
/
accounts
/
{id}
/
media
/
{mediaId}
Get one Google Business Profile media item
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId} \
--header 'Authorization: <api-key>'import requests
url = "https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}', 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.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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"
"net/http"
"io"
)
func main() {
url := "https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.social-api.ai/v1/platforms/google/accounts/{id}/media/{mediaId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"attribution": {
"profile_name": "Jane S.",
"profile_photo_url": "<string>",
"profile_url": "<string>",
"takedown_url": "<string>"
},
"category": "INTERIOR",
"created_at": "2026-03-01T12:00:00Z",
"description": "Main dining room",
"height_pixels": 1200,
"id": "accounts/123/locations/456/media/789",
"media": {
"type": "image",
"url": "https://lh3.googleusercontent.com/p/abc"
},
"thumbnail_url": "<string>",
"width_pixels": 1600
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Response
OK
Show child attributes
Show child attributes
Example:
"INTERIOR"
Example:
"2026-03-01T12:00:00Z"
Example:
"Main dining room"
Example:
1200
Example:
"accounts/123/locations/456/media/789"
Show child attributes
Show child attributes
Example:
1600