> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Merchant details

> Read one merchant's full profile, network, canonical record and link templates by an ID from merchants/search.

## Request contract

* **Method and path:** POST /apis/v1/affiliate-com/merchants/get
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/affiliate-com/merchants/get`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/affiliate-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "affiliate-com.merchants.get",
  "method": "POST",
  "path": "/apis/v1/affiliate-com/merchants/get",
  "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": {
              "id": "102458"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "id": {
              "description": "Merchant ID from merchants/search: numeric id, `nmer_` object_id, `mer_` canonical ID or slug.",
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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.


## OpenAPI

````yaml openapi/affiliate-com.json POST /apis/v1/affiliate-com/merchants/get
openapi: 3.1.0
info:
  description: ''
  title: Affiliate.com
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    affiliate-com:
      description: ''
      title: Affiliate.com
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 0a6b8c48bca8c4db625abb482ae634848ff6a1cfbfd9a8f82a6b6a6f6edf5315
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/affiliate-com/identifiers/asin-to-barcode
    - /apis/v1/affiliate-com/identifiers/barcode-to-asin
    - /apis/v1/affiliate-com/identifiers/url-to-barcode
    - /apis/v1/affiliate-com/merchants/get
    - /apis/v1/affiliate-com/merchants/search
    - /apis/v1/affiliate-com/networks/get
    - /apis/v1/affiliate-com/networks/groups
    - /apis/v1/affiliate-com/networks/list
    - /apis/v1/affiliate-com/products/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:7a96e30cc067c6205190ac2c175519a1d2e8682e9ce7cbb36b855bedc76ecfec
    facts_hash: 0a6b8c48bca8c4db625abb482ae634848ff6a1cfbfd9a8f82a6b6a6f6edf5315
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: affiliate-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/affiliate-com/merchants/get:
    post:
      tags:
        - Affiliate.com
      summary: Merchant details
      description: >-
        Read one merchant's full profile, network, canonical record and link
        templates by an ID from merchants/search.
      operationId: affiliate-com.merchants.get
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  id: '102458'
            schema:
              additionalProperties: true
              properties:
                id:
                  description: >-
                    Merchant ID from merchants/search: numeric id, `nmer_`
                    object_id, `mer_` canonical ID or slug.
                  type: string
              required:
                - id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-14.
                  summary: Official provider example
                  value:
                    data:
                      canonical:
                        domain_canonical_id: mer_01kkjt853h7vdvq7bvn73dsvj2
                        domains:
                          walmart.ca: mer_01kkjsyz2qqnwc84t9tdhnnbcq
                          walmart.com: mer_01kkjt853h7vdvq7bvn73dsvj2
                        icon_url: null
                        id: mer_01kkk5eqt22cdgre41nfw42p4k
                        links:
                          domain_canonical: >-
                            https://api.affiliate.com/v1/merchants/mer_01kkjt853h7vdvq7bvn73dsvj2?extended=1
                          self: >-
                            https://api.affiliate.com/v1/merchants/mer_01kkk5eqt22cdgre41nfw42p4k?extended=1
                        logo_url: null
                        name: Walmart
                        site_url: https://walmart.com
                        slug: mer_nfw42p4k
                      categories: []
                      cookie_duration: null
                      countries:
                        - US
                        - US
                      currencies: []
                      description: Earn by referring customers to Walmart.com
                      domains:
                        - https://walmart.com
                        - https://www.walmart.com
                      home_url: https://walmart.com
                      icon_url: >-
                        https://img.affiliate.com/logos/merchants/102458/logo.png
                      id: 102458
                      logo_url: >-
                        https://img.affiliate.com/logos/merchants/102458/logo.png
                      name: Walmart
                      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_01khfn0gjh5z32n9bgav0000sn
                      origin_id: '9383'
                      product_count: 525667
                      providers:
                        - approval: null
                          deeplink: null
                          outclick: null
                          provider: network
                          status: null
                          status_changed_at: null
                          supports_deeplinking: true
                          template: >-
                            https://goto.walmart.com/c/{AFF_ID}/565706/9383?veh=aff&sourceid=imp_000011112222333344&u=https%3A%2F%2Fwww.walmart.com
                          url: null
                        - approval: null
                          deeplink:
                            domain: walmart.com
                            template: >-
                              https://r.v2i8b.com/api/v1/bid/redirect?url={target_url}&campaign_id={AFF_ID}&source={SUB_ID}
                          outclick: null
                          provider: shopnomix
                          status: null
                          status_changed_at: null
                          supports_deeplinking: true
                          template: >-
                            https://r.v2i8b.com/api/v1/bid/redirect?url=https%3A%2F%2Fwalmart.com&campaign_id={AFF_ID}&source={SUB_ID}
                          url: null
                      slug: nmer_av0000sn
                      supports:
                        products: true
                        promotions: false
                        services: false
                      supports_deeplinking: true
                    meta:
                      trace_id: 01a13a8b-3124-7362-9f63-77b7f1fa1e17
              schema:
                not:
                  type: 'null'
                properties:
                  data:
                    type: object
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One extended merchant under `data`. The reference page shows a
            one-element list; the live API answers a single object. A `mer_`
            canonical ID resolves to the canonical merchant.


            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.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.