# Affiliate.com Merchant Directory

> Affiliate.com Merchant Directory is a paid API for AI agents from affiliate.pay.zeroclick.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Lists and filters affiliate merchants from the catalog by name, domain, country, or product count with pagination support.

## Facts

- Endpoint: GET https://affiliate.pay.zeroclick.io/v1/merchants
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/affiliate-com-merchant-directory-fddb6431
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RPpGMrIyzOoK5hZFvzHfG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability affiliate-com-merchant-directory-fddb6431
```

Example prompt: Show me the first page of affiliate merchants on Affiliate.com that are based in the US and have at least 50 products — search for anything related to 'fashion'.

## When to prefer this

Use this endpoint when you need to discover, search, or filter affiliate merchants from the Affiliate.com catalog — especially when building merchant selection workflows, auditing affiliate networks, or programmatically filtering merchants by geography or product breadth. Prefer this over manual directory browsing when you need structured, machine-readable merchant data with filtering capabilities.

## Known failure modes

- Invalid page number or per_page below minimum returns validation error
- country_ids not matching known country codes returns empty or error result
- search string exceeding 255 characters returns validation error
- product_count_min greater than product_count_max may return empty results or error
- Payment not provided or insufficient USDC balance returns 402 Payment Required

## How this service works

List the merchants behind the catalog. Filter by name or domain search, by country, or by product count, and page through the results.

## Output

Returns a paginated list of affiliate merchants matching the filter criteria, each entry containing merchant identifiers (ID, name, domain), country affiliation, and product count. Includes pagination metadata to page through large result sets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "page": {
       "type": "integer",
       "default": 1,
       "minimum": 1
      },
      "fields": {
       "type": "string"
      },
      "search": {
       "type": "string",
       "maxLength": 255,
       "minLength": 1
      },
      "per_page": {
       "type": "integer",
       "default": 100,
       "minimum": 1
      },
      "country_ids": {
       "type": "string"
      },
      "product_count_max": {
       "type": "integer"
      },
      "product_count_min": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/affiliate-com-merchant-directory-fddb6431/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from affiliate.pay.zeroclick.io](https://www.zero.xyz/host/affiliate.pay.zeroclick.io/llms.txt)
