Skip to main content
Affiliate.com aggregates product catalogs across merchants and affiliate networks into a single searchable index, with live pricing, brands, and direct merchant links.

Use it for

  • Product discovery and price comparison across merchants.
  • Powering shopping assistants and buying-guide content.
  • Surfacing affiliate links alongside research.

Provider ID

Use this value in dataSources:
affiliate

Example

Find wireless noise-cancelling headphones under $300 and compare pricing.
from exa_py import Exa

exa = Exa()
run = exa.agent.runs.create(
    query="Find wireless noise-cancelling headphones under $300 with pricing from multiple merchants.",
    data_sources=[{"provider": "affiliate"}],
    output_schema={
        "type": "object",
        "required": ["products"],
        "properties": {
            "products": {
                "type": "array",
                "maxItems": 10,
                "items": {
                    "type": "object",
                    "required": ["name", "brand", "price", "merchant"],
                    "properties": {
                        "name": {"type": "string"},
                        "brand": {"type": "string"},
                        "price": {"type": "string", "description": "price with currency"},
                        "merchant": {"type": "string"},
                    },
                },
            }
        },
    },
)
run = exa.agent.runs.poll_until_finished(run.id)
import Exa from "exa-js";

const exa = new Exa();
const run = await exa.agent.runs.create({
  query: "Find wireless noise-cancelling headphones under $300 with pricing from multiple merchants.",
  dataSources: [{ provider: "affiliate" }],
  outputSchema: {
    type: "object",
    required: ["products"],
    properties: {
      products: {
        type: "array",
        maxItems: 10,
        items: {
          type: "object",
          required: ["name", "brand", "price", "merchant"],
          properties: {
            name: { type: "string" },
            brand: { type: "string" },
            price: { type: "string", description: "price with currency" },
            merchant: { type: "string" },
          },
        },
      },
    },
  },
});
curl -s -X POST "https://api.exa.ai/agent/runs" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $EXA_API_KEY" \
  -d '{
    "query": "Find wireless noise-cancelling headphones under $300 with pricing from multiple merchants.",
    "dataSources": [{ "provider": "affiliate" }],
    "outputSchema": {
      "type": "object",
      "required": ["products"],
      "properties": {
        "products": {
          "type": "array",
          "maxItems": 10,
          "items": {
            "type": "object",
            "required": ["name", "brand", "price", "merchant"],
            "properties": {
              "name": { "type": "string" },
              "brand": { "type": "string" },
              "price": { "type": "string", "description": "price with currency" },
              "merchant": { "type": "string" }
            }
          }
        }
      }
    }
  }'

Pairs well with

  • Similarweb: gauge a merchant’s reach before recommending it.
  • Fiber.ai: research the company behind a merchant or brand.
Last modified on June 26, 2026