Foreplay Brands by Domain

API docs
https://api.sandbase.ai/v1/api/foreplay/brands-by-domain

Find the advertiser brands Foreplay tracks for a website domain, with brand ID, name, logo and ad counts, to use in brand ad lookups.

Price
From $0.0175USD / call
Method
POST
Response
JSON
Parameters
1 required · 2 optional

Playground

Input
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.
Number of results (1-20). Each returned item is billed at about $0.0175, so this caps the cost of one call. Maximum: 20.
Order of results: 'most_ranked' (default) or 'least_ranked'. Sorts brands by relevance ranking.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

Foreplay Brands by Domain

Find the advertiser brands Foreplay tracks for a website domain, with brand ID, name, logo and ad counts, to use in brand ad lookups.

Request

curl -X POST "https://api.sandbase.ai/v1/api/foreplay/brands-by-domain" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "nike.com", "limit": 1}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
domainstringYesDomain 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
limitintegerNoPagination limit (max 10). Controls the number of brands returned per request.
orderstringNoOrder of results: 'most_ranked' (default) or 'least_ranked'. Sorts brands by relevance ranking.

Pricing

Billed at the actual upstream cost of each call (about $0.0175 for the request above). Failed calls are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
ForeplayFrom $0.0175 per callJSON
ForeplayFrom $0.0525 per callJSON
ForeplayFrom $0.0525 per callJSON
ForeplayFrom $0.1225 per callJSON

Questions

FAQ

How do I use the Foreplay Brands by Domain API?

Send a POST request to https://api.sandbase.ai/v1/api/foreplay/brands-by-domain with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Foreplay Brands by Domain API cost?

From $0.0175 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Foreplay Brands by Domain API accept?

Required: domain (string). Optional: limit (integer) and order (string). The Parameters table and the Playground on this page list every field.

What does the Foreplay Brands by Domain API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Foreplay developer account or API key?

No. Foreplay Brands by Domain runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Foreplay API access separately.