Search merchants
curl --request POST \
--url https://api.aisa.one/apis/v1/affiliate-com/merchants/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"per_page": 1,
"search": "walmart"
}
'import requests
url = "https://api.aisa.one/apis/v1/affiliate-com/merchants/search"
payload = {
"per_page": 1,
"search": "walmart"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({per_page: 1, search: 'walmart'})
};
fetch('https://api.aisa.one/apis/v1/affiliate-com/merchants/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/affiliate-com/merchants/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'per_page' => 1,
'search' => 'walmart'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/affiliate-com/merchants/search"
payload := strings.NewReader("{\n \"per_page\": 1,\n \"search\": \"walmart\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/affiliate-com/merchants/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"per_page\": 1,\n \"search\": \"walmart\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/affiliate-com/merchants/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"per_page\": 1,\n \"search\": \"walmart\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"canonical": null,
"categories": [],
"cookie_duration": null,
"countries": [
"US"
],
"currencies": [],
"description": null,
"domains": [],
"home_url": null,
"icon_url": "https://placehold.co/112x32/EBF4FF/7F9CF56?text=Farberware+-+Walmart+Seller",
"id": 186149,
"logo_url": "https://placehold.co/112x32/EBF4FF/7F9CF56?text=Farberware+-+Walmart+Seller",
"name": "Farberware - Walmart Seller",
"network": {
"canonical_id": "net_01kkgbymywvbf5qjdcdwchxdhm",
"icon_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"id": 335,
"links": {
"canonical": "https://api.affiliate.com/v1/networks/net_01kkgbymywvbf5qjdcdwchxdhm?extended=1",
"self": "https://api.affiliate.com/v1/networks/rnet_01kkgbyq82ve56ywbmhm7pn95t?extended=1"
},
"logo_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"name": "Impact",
"region": "US",
"slug": "rnet_hm7pn95t",
"url": "https://www.impact.com"
},
"object_id": "nmer_01kya001cpdvkyfv85fsvqtnqe",
"origin_id": null,
"product_count": 402,
"providers": [
{
"approval": null,
"deeplink": null,
"outclick": null,
"provider": "network",
"status": null,
"status_changed_at": null,
"supports_deeplinking": null,
"template": null,
"url": null
}
],
"slug": "nmer_fsvqtnqe",
"supports": {
"products": true,
"promotions": false,
"services": false
},
"supports_deeplinking": null
}
],
"meta": {
"current_page": 1,
"fields": [
"id",
"object_id",
"slug",
"origin_id",
"name",
"description",
"domains",
"home_url",
"icon_url",
"logo_url",
"product_count",
"cookie_duration",
"supports_deeplinking",
"categories",
"countries",
"currencies",
"providers",
"network",
"canonical",
"supports"
],
"from": 1,
"last_page": 62,
"per_page": 1,
"to": 1,
"total": 62,
"trace_id": "01a13a8a-e66c-7236-a837-c2fc4b6d4315"
}
}Affiliate.com
Search merchants
Find retailers and brands across affiliate networks by name or domain, and see which network carries them, how many products they list, their categories and countries, and link templates to fill with your own publisher ID.
POST
https://api.aisa.one
/
apis
/
v1
/
affiliate-com
/
merchants
/
search
Search merchants
curl --request POST \
--url https://api.aisa.one/apis/v1/affiliate-com/merchants/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"per_page": 1,
"search": "walmart"
}
'import requests
url = "https://api.aisa.one/apis/v1/affiliate-com/merchants/search"
payload = {
"per_page": 1,
"search": "walmart"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({per_page: 1, search: 'walmart'})
};
fetch('https://api.aisa.one/apis/v1/affiliate-com/merchants/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/affiliate-com/merchants/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'per_page' => 1,
'search' => 'walmart'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/affiliate-com/merchants/search"
payload := strings.NewReader("{\n \"per_page\": 1,\n \"search\": \"walmart\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/affiliate-com/merchants/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"per_page\": 1,\n \"search\": \"walmart\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/affiliate-com/merchants/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"per_page\": 1,\n \"search\": \"walmart\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"canonical": null,
"categories": [],
"cookie_duration": null,
"countries": [
"US"
],
"currencies": [],
"description": null,
"domains": [],
"home_url": null,
"icon_url": "https://placehold.co/112x32/EBF4FF/7F9CF56?text=Farberware+-+Walmart+Seller",
"id": 186149,
"logo_url": "https://placehold.co/112x32/EBF4FF/7F9CF56?text=Farberware+-+Walmart+Seller",
"name": "Farberware - Walmart Seller",
"network": {
"canonical_id": "net_01kkgbymywvbf5qjdcdwchxdhm",
"icon_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"id": 335,
"links": {
"canonical": "https://api.affiliate.com/v1/networks/net_01kkgbymywvbf5qjdcdwchxdhm?extended=1",
"self": "https://api.affiliate.com/v1/networks/rnet_01kkgbyq82ve56ywbmhm7pn95t?extended=1"
},
"logo_url": "https://img.affiliate.com/logos/groups/10020/64x64.png",
"name": "Impact",
"region": "US",
"slug": "rnet_hm7pn95t",
"url": "https://www.impact.com"
},
"object_id": "nmer_01kya001cpdvkyfv85fsvqtnqe",
"origin_id": null,
"product_count": 402,
"providers": [
{
"approval": null,
"deeplink": null,
"outclick": null,
"provider": "network",
"status": null,
"status_changed_at": null,
"supports_deeplinking": null,
"template": null,
"url": null
}
],
"slug": "nmer_fsvqtnqe",
"supports": {
"products": true,
"promotions": false,
"services": false
},
"supports_deeplinking": null
}
],
"meta": {
"current_page": 1,
"fields": [
"id",
"object_id",
"slug",
"origin_id",
"name",
"description",
"domains",
"home_url",
"icon_url",
"logo_url",
"product_count",
"cookie_duration",
"supports_deeplinking",
"categories",
"countries",
"currencies",
"providers",
"network",
"canonical",
"supports"
],
"from": 1,
"last_page": 62,
"per_page": 1,
"to": 1,
"total": 62,
"trace_id": "01a13a8a-e66c-7236-a837-c2fc4b6d4315"
}
}Request contract
- Method and path: POST /apis/v1/affiliate-com/merchants/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/affiliate-com/merchants/search
{
"operationId": "affiliate-com.merchants.search",
"method": "POST",
"path": "/apis/v1/affiliate-com/merchants/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"per_page": 1,
"search": "walmart"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"canonical_ids": {
"description": "Comma-separated canonical `mer_` merchant IDs.",
"type": "string"
},
"category_ids": {
"description": "Comma-separated `cat_` category IDs.",
"type": "string"
},
"category_name": {
"description": "Category name filter.\n\nProvider reference: maximum 255.",
"type": "string",
"x-alexandria-option-metadata": {
"max": 255
}
},
"countries": {
"description": "Comma-separated ISO 3166-1 alpha-2 codes the merchant operates in, for example `US,CA`.",
"type": "string"
},
"countries_market": {
"description": "Comma-separated codes for the merchant's market countries.",
"type": "string"
},
"countries_origin": {
"description": "Comma-separated codes for the merchant's origin country.",
"type": "string"
},
"currencies": {
"description": "Comma-separated ISO 4217 codes.",
"type": "string"
},
"feed_languages": {
"description": "Comma-separated ISO 639-1 codes of the product feed.",
"type": "string"
},
"fields": {
"description": "Comma-separated field names to keep in each record, for example `id,name,logo_url`. Omit for every field.",
"type": "string"
},
"has_commissionable_url": {
"description": "`1` keeps only merchants with a stored commissionable URL template. Not a test for linkability: read providers[].template instead.\n\nProvider reference: allowed values [\"1\"].",
"type": "number",
"x-alexandria-option-metadata": {
"oneOf": [
"1"
]
}
},
"merchant_types": {
"description": "Comma-separated: `standard`, `asn` (Amazon Seller Network).",
"type": "string"
},
"network_ids": {
"description": "Comma-separated numeric network IDs, as in a merchant's `network.id`.",
"type": "string"
},
"origin_ids": {
"description": "Comma-separated merchant IDs as the source network assigns them.",
"type": "string"
},
"page": {
"description": "Page number, starting at 1.\n\nProvider reference: minimum 1.",
"type": "number",
"x-alexandria-option-metadata": {
"min": 1
}
},
"per_page": {
"description": "Merchants per page, 1 to 50. Defaults to 10 here; merchant records are large.\n\nProvider reference: minimum 1; maximum 50.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 50,
"min": 1
}
},
"product_count_max": {
"description": "Only merchants with at most this many products.\n\nProvider reference: minimum 0.",
"type": "number",
"x-alexandria-option-metadata": {
"min": 0
}
},
"product_count_min": {
"description": "Only merchants with at least this many products.\n\nProvider reference: minimum 0.",
"type": "number",
"x-alexandria-option-metadata": {
"min": 0
}
},
"promotion_count_max": {
"description": "Only merchants with at most this many promotions.\n\nProvider reference: minimum 0.",
"type": "number",
"x-alexandria-option-metadata": {
"min": 0
}
},
"promotion_count_min": {
"description": "Only merchants with at least this many promotions.\n\nProvider reference: minimum 0.",
"type": "number",
"x-alexandria-option-metadata": {
"min": 0
}
},
"search": {
"description": "Case-insensitive fragment of the merchant name or home_url, for example `Walmart` or `walmart.com`. Does not match IDs.",
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Body
application/json
Response
Merchants under data with meta pagination (total, current_page, last_page, per_page). Always the extended merchant object: network, canonical merchant, categories, countries and per-provider link templates.
The response contains the tool result directly.
The provider identifies data as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | number | Numeric merchant ID (legacy); merchants/get accepts it. |
object_id | string | Stable nmer_ ID of this merchant on one network. |
slug | string | |
origin_id | string | The merchant's ID on its source network; may be null. |
name | string | |
description | string | May be null. |
domains | string[] | Merchant site URLs. |
home_url | string | Merchant homepage; may be null. |
icon_url | string | |
logo_url | string | |
product_count | number | |
promotion_count | number | |
has_content | boolean | |
cookie_duration | string | ISO 8601 duration such as P1M2D; null when not reported. |
supports_deeplinking | boolean | Null when unknown. |
categories | object[] | id, breadcrumb, name, shopify_id, google_id. |
countries | string[] | |
currencies | string[] | |
supports | object | products, services, promotions booleans. |
providers | object[] | One entry per way to earn on the merchant (network or shopnomix): status, url, template, outclick, supports_deeplinking, deeplink, approval. template holds {AFF_ID}/{SUB_ID} slots for the caller's own publisher and sub-IDs. status, url and outclick describe the Exchange's shared affiliate.com account, which has no network credentials, so they are normally null; credential_id is removed. |
network | object | id, slug, name, region, url, logo_url, icon_url, canonical_id, links. |
canonical | object | Deduplicated canonical merchant (mer_ id, name, site_url, domains map); null when none. |
merchant_types | string[] | standard or asn. |
link_services | object | Third-party link services and their mode; null when none. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.