{"uid":"cap_xpYE6LTjSkpc8plA6wwND","slug":"affiliate-com-product-search-6a9d77ad","name":"Affiliate.com Product Search","description":"Search more than one billion affiliate products refreshed daily. Pass a plain search string or an array of field filters, or use the structured query rule builder for compound conditions. Results carry pricing, availability, commission URLs, and network and merchant attribution, with support for field selection, pagination, sorting, facets, and per network affiliate link configuration.","url":"https://zeroclick.affiliate.com/v1/products?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"description":"Page number to return."},"after":{"type":"string","description":"Cursor token for pagination beyond 10000 results, returned as meta.after in a previous response."},"query":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"object","required":["conditions_operator","conditions"],"properties":{"conditions":{"type":"array","items":{"type":"object","required":["field","operator","value"],"properties":{"field":{"type":"string","description":"Product field to match."},"value":{"description":"Value to match."},"operator":{"type":"string","description":"Comparison operator."}}}},"conditions_operator":{"enum":["any","all"],"type":"string","description":"How the conditions inside this rule combine."}}}},"rules_operator":{"enum":["any","all"],"type":"string","description":"How rules combine. any means OR and all means AND. Defaults to all."}},"description":"Structured rule based query builder for compound conditions. Mutually exclusive with search."},"facets":{"type":"array","items":{"type":"string"},"description":"Facet aggregations to include with the results, up to 20. Supports dot notation, for example merchant.product_count."},"fields":{"type":"array","items":{"type":"string"},"description":"Product fields to include in the response. All fields are returned when omitted."},"search":{"oneOf":[{"type":"string","description":"Free text search across product fields."},{"type":"array","items":{"type":"object","required":["field","operator","value"],"properties":{"field":{"type":"string","example":"name","description":"Product field to filter on. Common fields are any, name, brand, category, barcode, final_price, on_sale, availability, merchant.id, and merchant.name."},"value":{"example":"wireless headphones","description":"Value to match against the field."},"operator":{"type":"string","example":"LIKE","description":"Comparison operator supported by the field. Text fields accept =, !=, LIKE, and NOT LIKE. Numeric fields accept =, !=, >, <, >=, and <=."}}},"description":"Filter objects that are combined with AND."}],"example":"wireless headphones","description":"Search criteria. Pass a plain string for a broad match across product fields, or an array of filter objects for precise matching. Mutually exclusive with query."},"pool_id":{"type":"string","description":"ULID of a pool that combines networks and merchants."},"sort_by":{"enum":["relevance","id","barcode","name","description","commission_url","direct_url","image_url","currency","regular_price","final_price","on_sale","sale_discount","availability","stock_quantity","sku","brand","category","network","merchant","updated_at","started_at"],"type":"string","description":"Field to sort results by."},"networks":{"type":"object","description":"Per network configuration keyed by network id, each entry carrying affiliate_id and an optional sub_id. When provided, commission URLs are populated with your affiliate credentials.","additionalProperties":{"type":"object","properties":{"sub_id":{"type":"string","description":"Optional sub id for campaign tracking."},"affiliate_id":{"type":"string","description":"Your affiliate id on this network."}}}},"per_page":{"type":"integer","default":100,"minimum":1,"description":"Number of results per page."},"sort_order":{"enum":["asc","desc"],"type":"string","description":"Sort direction."},"balanced_mix":{"type":"object","description":"Round robin interleaving of results with optional weighting. Incompatible with duplicate_fields_to_exclude."},"click_tracking":{"type":"boolean","default":false,"description":"Replace the sub id with a click_id for consolidated reporting."},"duplicate_fields_to_exclude":{"type":"string","description":"Collapse results that share the same value for this field. Incompatible with balanced_mix."}}},"responseSchema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique product identifier."},"sku":{"type":"string"},"name":{"type":"string"},"brand":{"type":"string"},"barcode":{"type":"string","description":"UPC, EAN, ISBN, or GTIN."},"network":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"description":"Affiliate network attribution."},"on_sale":{"type":"boolean"},"added_at":{"type":"string","description":"UTC timestamp when the product was added."},"category":{"type":"string"},"currency":{"type":"string","description":"ISO 4217 currency code."},"merchant":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"canonical_id":{"type":"string"},"canonical_name":{"type":"string"}}},"image_url":{"type":"string","description":"Primary image URL."},"direct_url":{"type":"string","description":"Direct product link."},"updated_at":{"type":"string","description":"UTC timestamp of the last refresh."},"description":{"type":"string"},"final_price":{"type":"number","description":"Current price after discounts."},"availability":{"type":["string","null"],"description":"InStock, OutOfStock, or null when unknown."},"regular_price":{"type":"number","description":"Original retail price."},"sale_discount":{"type":"number"},"commission_url":{"type":"string","description":"Affiliate link. Contains placeholder tokens for the affiliate id and sub id unless network credentials were provided in the request."},"stock_quantity":{"type":["integer","null"]},"commissionable_status":{"type":"string","description":"One of commissionable, assumed_commissionable, or not_commissionable."}}}},"meta":{"type":"object","properties":{"to":{"type":"integer"},"from":{"type":"integer"},"after":{"type":["string","null"],"description":"Cursor for deep pagination."},"total":{"type":"integer","description":"Total number of matching products."},"fields":{"type":"array","items":{"type":"string"}},"sort_by":{"type":"string"},"per_page":{"type":"integer"},"trace_id":{"type":"string","description":"Request trace id for support."},"last_page":{"type":"integer"},"sort_order":{"type":"string"},"current_page":{"type":"integer"}}},"facets":{"type":"object","description":"Aggregated statistics for the requested facets."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":3,"rating":{"score":"0.78","successRate":"0.95","reviews":3,"stars":"4.1","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":212,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fb-t3JDWQMJiSx0QzeZtL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_tJMhsQXeDL2iTaFKeyZC9","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search over one billion affiliate products by free text or structured field filters, returning pricing, availability, commission URLs, and merchant attribution","exampleAgentPrompt":"Search the Affiliate.com catalog for wireless noise-cancelling headphones under $200 that are in stock, and return the top 10 results with their affiliate commission URLs, pricing, and merchant names.","exampleUseCases":[{"title":"Affiliate product discovery for content site","prompt":"Find me the top 20 in-stock running shoes under $150 from the Affiliate.com catalog, including their affiliate links, prices, and which merchant or network they come from — I want to embed them in a product roundup article."},{"title":"Price comparison across merchants","prompt":"Search Affiliate.com for 'Sony WH-1000XM5' headphones and return results from all merchants with pricing, availability, and commission URLs so I can compare who's offering the best deal and commission rate."},{"title":"On-sale product feed for promotional campaign","prompt":"Pull the first page of products currently on sale in the 'fitness equipment' category from Affiliate.com, showing brand, final price, discount info, and affiliate links — I'm building a daily deals email newsletter."}],"resultDescription":"A paginated list of matching affiliate products including fields such as product name, brand, category, pricing, on-sale status, availability, barcode, affiliate commission URLs, and merchant and network attribution. Also includes facet aggregations if requested, and a pagination cursor (meta.after) for deep result sets beyond 10,000 items.","failureModes":["Mutually exclusive parameters: providing both 'search' and 'query' in the same request returns a validation error","Invalid field names in filters or field selection cause errors","Pagination cursor (after) becomes invalid if the underlying index is refreshed","Exceeding 20 facets returns a validation error","Payment failure or insufficient USDC balance results in 402 response","Empty results when search terms are too specific or no products match filters","Truncated input schema may hide valid operators, leading to unsupported operator errors"],"whenToPreferThis":"Choose this endpoint when you need to search or filter a very large (1B+) cross-merchant affiliate product catalog with daily freshness, need structured query composition (compound conditions, field-level filters), require affiliate commission links alongside product data, or need faceted aggregations for category/merchant breakdowns. Prefer it over retailer-specific APIs when you need multi-merchant coverage and built-in affiliate attribution in a single call.","instructions":null,"reviewSummary":"Affiliate.com reliably returns structured affiliate product listings with accurate pricing, availability, and commission URLs across billions of products. Compound filters (price, stock status, currency, field selection) are respected precisely, and x402 paid calls complete successfully in roughly 5–6 seconds at $0.02 per query. Broad name LIKE searches without additional filters can return many unrelated results, and occasional top-of-hour 503 errors have been observed, though mid-hour availability is consistent.","reviewSummaryHighlights":["Compound filter queries (price, availability, currency) respected exactly with accurate results","Commission outclick URLs populated reliably on every returned row","Low cost at $0.02 per call with fast ~5–6s response times"],"reviewSummaryConcerns":["Broad LIKE-only searches return many unrelated results — combine with additional filters for precision","Intermittent 503 errors reported at the top of the hour; mid-hour reliability is stable"],"reviewSummaryGeneratedAt":"2026-09-02T20:15:06.554Z","activationCount":303,"lastUsedAt":"2026-10-07T23:00:34.326Z","lastSuccessfullyRanAt":"2026-10-07T23:00:34.326Z","lastHealthCheckAt":"2026-10-12T22:49:00.704Z","isFirstParty":false,"canonicalSlug":"affiliate-com-product-search-6a9d77ad"}