Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Foreplay Brands by Domain

Dokumentacja 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.

Cena
Od $0.0175USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
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. Maksimum: 20.
Order of results: 'most_ranked' (default) or 'least_ranked'. Sorts brands by relevance ranking.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
ForeplayOd $0.0175 za wywołanieJSON
ForeplayOd $0.0525 za wywołanieJSON
ForeplayOd $0.0525 za wywołanieJSON
ForeplayOd $0.1225 za wywołanieJSON

Pytania

FAQ

Jak używać API Foreplay Brands by Domain?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/foreplay/brands-by-domain z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Foreplay Brands by Domain?

Od $0.0175 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Foreplay Brands by Domain?

Wymagane: domain (string). Opcjonalne: limit (integer) i order (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Foreplay Brands by Domain?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Foreplay lub klucza API?

Nie. Foreplay Brands by Domain działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Foreplay.