GETapi.synup.com/api/v4/social-post-ideas/scraped-brand-context
Scraped brand context
Returns the context scraped from the brand's website that grounds social post-idea generation — business name/description, services, products, pricing, brand colors/logo, tone, and target customers.
Requires an API key. Send it as
Authorization: API <your-key> — see Getting started.Parameters
Query
| Name | Type | Required | Description |
|---|---|---|---|
socialProfileId | string | required | Social profile ID. |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Synup-Version | string | required | API version date (YYYY-MM-DD). |
Request
Request
curl -X GET 'https://api.synup.com/api/v4/social-post-ideas/scraped-brand-context?socialProfileId=' \
-H 'Authorization: API YOUR_API_KEY' \
-H 'Content-Type: application/json'const res = await fetch('https://api.synup.com/api/v4/social-post-ideas/scraped-brand-context?socialProfileId=', {
method: 'GET',
headers: {
Authorization: 'API YOUR_API_KEY',
'Content-Type': 'application/json',
},
});
const data = await res.json();import requests
res = requests.get(
"https://api.synup.com/api/v4/social-post-ideas/scraped-brand-context?socialProfileId=",
headers={
"Authorization": "API YOUR_API_KEY",
"Content-Type": "application/json",
},
)
data = res.json()req, _ := http.NewRequest("GET", "https://api.synup.com/api/v4/social-post-ideas/scraped-brand-context?socialProfileId=", nil)
req.Header.Set("Authorization", "API YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)Responses
| Status | Description |
|---|---|
200 | Successful response |
401 | Unauthorized - Invalid or missing API key |
Example response (generated from the schema)
{
"data": {
"scrapedBrandContext": {
"id": "string",
"socialProfileId": "string",
"businessName": "string",
"category": "string",
"businessDescription": "string",
"location": "string",
"services": {},
"products": {},
"subcategories": {},
"pricing": {},
"availability": {},
"uniqueSellingPoints": {},
"tone": "string",
"targetCustomers": "string",
"scrapedImages": {},
"insights": {},
"brandPrimaryColor": "string",
"brandSecondaryColor": "string",
"brandLogoUrl": "string",
"scrapedContext": "string",
"visualContext": {}
}
}
}Response body
| Name | Type | Required | Description |
|---|---|---|---|
data | object | optional | |
data.scrapedBrandContext | object | optional | |
data.scrapedBrandContext.id | string | optional | |
data.scrapedBrandContext.socialProfileId | string | optional | |
data.scrapedBrandContext.businessName | string | optional | |
data.scrapedBrandContext.category | string | optional | |
data.scrapedBrandContext.businessDescription | string | optional | |
data.scrapedBrandContext.location | string | optional | |
data.scrapedBrandContext.services | object | optional | Free-form JSON. |
data.scrapedBrandContext.products | object | optional | Free-form JSON. |
data.scrapedBrandContext.subcategories | object | optional | Free-form JSON. |
data.scrapedBrandContext.pricing | object | optional | Free-form JSON. |
data.scrapedBrandContext.availability | object | optional | Free-form JSON. |
data.scrapedBrandContext.uniqueSellingPoints | object | optional | Free-form JSON. |
data.scrapedBrandContext.tone | string | optional | |
data.scrapedBrandContext.targetCustomers | string | optional | |
data.scrapedBrandContext.scrapedImages | object | optional | Free-form JSON. |
data.scrapedBrandContext.insights | object | optional | Free-form JSON. |
data.scrapedBrandContext.brandPrimaryColor | string | optional | |
data.scrapedBrandContext.brandSecondaryColor | string | optional | |
data.scrapedBrandContext.brandLogoUrl | string | optional | |
data.scrapedBrandContext.scrapedContext | string | optional | |
data.scrapedBrandContext.visualContext | object | optional | Free-form JSON. |