Search and lookup boycotted brands. Find brands by name, campaign, or list all brands with campaign context information.
Everything you need to know about the Boycott Brands API
https://api.univence.com
All endpoints require authentication via:
X-API-Key: your-api-key in headersAuthorization: Bearer your-jwt-token in headersEach brand record contains:
Complete documentation for all boycott brand endpoints
Search boycott brands by name (case-insensitive). Returns up to 20 matching brands.
curl -X GET "https://api.univence.com/v1/boycott/search?q=nike" \
-H "X-API-Key: your-api-key"
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Brand name to search for (max 100 characters) |
{
"success": true,
"result": [
{
"brandName": "Nike",
"campaignTier": "Tier 1",
"campaignName": "Free Palestine"
}
]
}
Get details for a single brand by exact name (case-insensitive).
curl -X GET "https://api.univence.com/v1/boycott/brand/Nike" \
-H "X-API-Key: your-api-key"
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Exact brand name (case-insensitive) |
{
"success": true,
"result": {
"brandName": "Nike",
"campaignTier": "Tier 1",
"campaignName": "Free Palestine"
}
}
404 Not Found: Brand not found
{
"error": "Brand 'UnknownBrand' not found"
}
List all boycott brands with pagination. Results are sorted alphabetically by brand name.
curl -X GET "https://api.univence.com/v1/boycott/brands?page=1&limit=50" \
-H "X-API-Key: your-api-key"
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
page | integer | No | Page number (1-based) | 1 |
limit | integer | No | Items per page (max 200) | 50 |
{
"success": true,
"total": 500,
"page": 1,
"limit": 50,
"result": [
{
"brandName": "Adidas",
"campaignTier": "Tier 2",
"campaignName": "Free Palestine"
}
]
}
Search brands by campaign name (e.g., "Free Palestine", "Liberty"). Case-insensitive with pagination.
curl -X GET "https://api.univence.com/v1/boycott/campaign/Free%20Palestine?page=1&limit=50" \
-H "X-API-Key: your-api-key"
| Parameter | Type | Required | Description |
|---|---|---|---|
campaignName | string | Yes | Campaign name to filter by |
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
page | integer | No | Page number (1-based) | 1 |
limit | integer | No | Items per page (max 200) | 50 |
{
"success": true,
"total": 150,
"page": 1,
"limit": 50,
"campaign": "Free Palestine",
"result": [
{
"brandName": "Nike",
"campaignTier": "Tier 1",
"campaignName": "Free Palestine"
}
]
}
Get all unique campaign names.
curl -X GET "https://api.univence.com/v1/boycott/campaigns" \
-H "X-API-Key: your-api-key"
{
"success": true,
"result": ["Free Palestine", "Liberty", "BDS"]
}
Get all campaign info with descriptions and tier meanings.
curl -X GET "https://api.univence.com/v1/boycott/campaign-info" \
-H "X-API-Key: your-api-key"
{
"success": true,
"result": [
{
"campaignName": "Free Palestine",
"description": "Campaign against companies supporting...",
"moreInfoUrl": "https://bdsmovement.net/",
"tierDescriptions": {
"Tier 1": "Companies directly involved",
"Tier 2": "Companies indirectly supporting"
}
}
]
}
Search boycott brands by name and include campaign context (description + tier meanings) when results belong to a single campaign.
curl -X GET "https://api.univence.com/v1/boycott/search-with-context?q=nike" \
-H "X-API-Key: your-api-key"
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Brand name to search for (max 100 characters) |
{
"success": true,
"result": [
{
"brandName": "Nike",
"campaignTier": "Tier 1",
"campaignName": "Free Palestine"
}
],
"campaignContext": {
"description": "Campaign against companies supporting...",
"moreInfoUrl": "https://bdsmovement.net/",
"tierDescriptions": {
"Tier 1": "Companies directly involved",
"Tier 2": "Companies indirectly supporting"
}
}
}
End-to-end examples for common use cases
curl -X GET "https://api.univence.com/v1/boycott/search?q=starbucks" \
-H "X-API-Key: your-api-key"
Expected: Returns brand details with campaign and tier info.
curl -X GET "https://api.univence.com/v1/boycott/brands?page=1&limit=20" \
-H "X-API-Key: your-api-key"
Expected: Returns first 20 brands sorted alphabetically with total count.
curl -X GET "https://api.univence.com/v1/boycott/campaigns" \
-H "X-API-Key: your-api-key"
curl -X GET "https://api.univence.com/v1/boycott/campaign/Free%20Palestine" \
-H "X-API-Key: your-api-key"
Expected: Returns all brands in the "Free Palestine" campaign.
curl -X GET "https://api.univence.com/v1/boycott/search-with-context?q=mcdonalds" \
-H "X-API-Key: your-api-key"
Expected: Returns matching brands plus campaign description and tier meanings.
curl -X GET "https://api.univence.com/v1/boycott/campaign-info" \
-H "X-API-Key: your-api-key"
Expected: Returns all campaign descriptions and tier details.
curl -X GET "https://api.univence.com/v1/boycott/brand/Coca-Cola" \
-H "X-API-Key: your-api-key"
Expected: Returns exact brand match or 404 if not found.