Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Foreplay Brands by Domain

Документация API
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.

Цена
От $0.0175USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 2 необязательных

Песочница

Ввод
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. Максимум: 20.
Order of results: 'most_ranked' (default) or 'least_ranked'. Sorts brands by relevance ranking.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по 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.

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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
ForeplayОт $0.0175 за запросJSON
ForeplayОт $0.0525 за запросJSON
ForeplayОт $0.0525 за запросJSON
ForeplayОт $0.1225 за запросJSON

Вопросы

FAQ

Как использовать API Foreplay Brands by Domain?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/foreplay/brands-by-domain, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Foreplay Brands by Domain?

От $0.0175 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Foreplay Brands by Domain?

Обязательные: domain (string). Необязательные: limit (integer) и order (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Foreplay Brands by Domain?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).

Нужен ли мне аккаунт разработчика Foreplay или API key?

Нет. Foreplay Brands by Domain работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Foreplay.