Skip to main content
POST
Search products

Request contract

  • Method and path: POST /apis/v1/affiliate-com/products/search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/affiliate-com/products/search
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0025 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

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

Body

application/json
keyword
string
required

Plain-text search such as JBL speaker; sent as the string form of search.

after
string

Deep-pagination cursor from the previous response's meta.after, for results past 10,000 on plans that allow it.

balanced_mix
object

{ field, max_per_value, interleave?, weights? } to keep one merchant or brand from dominating. Not combinable with duplicate_fields_to_exclude.

duplicate_fields_to_exclude
string

Deduplicate by name, image_url, direct_url, barcode or merchant.id. Comma syntax applies each independently and accepts [N] caps (name,merchant.id[10]); a||b drops a row when either has appeared.

exact_total
boolean

Count meta.total past 10,000 precisely, at some extra latency.

facets
string[]

Aggregations to include: network, merchant, final_price, or dotted sub-fields such as network.name.

Provider reference: maximum 20.

fields
string[]

Product fields to return, for example id, name, final_price, urls.

Provider reference: maximum 50.

page
number

Page number, starting at 1.

Provider reference: minimum 1.

per_page
number

Products per page, 1 to 50. Defaults to 10 here.

Provider reference: minimum 1; maximum 50.

query
object

Rule builder { rules_operator: any|all, rules: [{ conditions_operator, conditions: [{ field, operator, value }] }] }. Exclusive with keyword and search.

Filter objects { field, value, operator }, ANDed together. Fields include any, name, brand, category, barcode, sku, asin, merchant.id, network.id, final_price, currency, availability, on_sale, merchant.countries. Operators: =, !=, LIKE, NOT LIKE, >, <, >=, <=, NOT NULL. || in value ORs values.

Provider reference: maximum 30.

sort_by
string

Sort field: relevance, id, barcode, ean, gtin, upc, isbn, asin, name, currency, regular_price, final_price, sale_discount, stock_quantity, commissionable_status, brand, category, color, gender, size, author, network.id, network.name, merchant.id, merchant.name, added_at, updated_at.

Provider reference: allowed values ["relevance", "id", "barcode", "ean", "gtin", "upc", "isbn", "asin", "name", "currency", "regular_price", "final_price", "sale_discount", "stock_quantity", "commissionable_status", "brand", "category", "color", "gender", "size", "author", "network.id", "network.name", "merchant.id", "merchant.name", "added_at", "updated_at"].

sort_order
string

Sort direction.

Provider reference: allowed values ["asc", "desc"].

Response

Products under data, with meta (total capped at 10,000 unless exact_total, current_page, last_page, per_page, after) and facets when asked. direct_url and urls.direct are the merchant page. commission_url, urls.affiliate and urls.outclick carry @@@/### placeholders when the account has a network link template, and are null when it does not. Product objects vary by merchant; undeclared fields are kept.

The response contains the tool result directly.

The provider identifies data as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.