Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Foreplay Brands by Domain

Tài liệu 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.

Giá
Từ $0.0175USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
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. Tối đa: 20.
Order of results: 'most_ranked' (default) or 'least_ranked'. Sorts brands by relevance ranking.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
ForeplayTừ $0.0175 mỗi lần gọiJSON
ForeplayTừ $0.0525 mỗi lần gọiJSON
ForeplayTừ $0.0525 mỗi lần gọiJSON
ForeplayTừ $0.1225 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Foreplay Brands by Domain?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/foreplay/brands-by-domain với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Foreplay Brands by Domain có giá bao nhiêu?

Từ $0.0175 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Foreplay Brands by Domain chấp nhận những tham số nào?

Bắt buộc: domain (string). Tùy chọn: limit (integer) và order (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Foreplay Brands by Domain trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Foreplay không?

Không. Foreplay Brands by Domain chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Foreplay.