Skip to main content
GET
Get Brands By Domain
Discover brands that advertise from a given domain. This is a discovery lookup — you do not need to already track the brands. Each brand record in data[] includes the Foreplay brand_id and the ad_library_id (page_id). Feed brand_id into get_foreplay-getadsbybrandid and ad_library_id into get_foreplay-brand-analytics. limit max is 10. Example: GET /foreplay/brand/getBrandsByDomain?domain=nike.com returns Nike with brand_id: "bYeKOahyGopmGKMHiWit" and ad_library_id: "15087023444". Billing: per item returned in data[]; empty results and errors are not charged. Current prices are on aisa.one/api. One credit per brand returned. Related: get_foreplay-getadsbybrandid, get_foreplay-brand-analytics, get_foreplay-discovery-ads.

Request contract

  • Method and path: GET /apis/v1/foreplay/brand/getBrandsByDomain
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/foreplay/brand/getBrandsByDomain
  • domain: query; required
  • limit: query; optional
  • order: query; optional
  • Runtime facts: 799c2645862e25f3076e45d5e7d545772f57444689dd138cd88f92c37554b81c
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.875 USD (not a fixed price). Declared unit rate: $0 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.875
  • Declared unit rate (USD): 0.0
  • Billing unit: provider_credit
  • Cost contract: response_count
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 50
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

domain
string
required

Domain name to search for. This can be a full URL (e.g., 'https://example.com') or just the domain (e.g., 'example.com'). The system will automatically format and clean the domain. This endpoint looks up candidate brands based on the provided domain. The returned brands are potential matches and are not guaranteed to be definitively associated with the domain.

limit
integer
default:10

Pagination limit (max 10). Controls the number of brands returned per request.

Required range: x <= 10
order
string
default:most_ranked

Order of results: 'most_ranked' (default) or 'least_ranked'. Sorts brands by relevance ranking.

Response

JSON envelope with metadata and a data[] array of brand objects (each includes brand_id and ad_library_id). Each brand in data[] counts as one billed item.

The response is of type object.