{
  "service": "store_leads",
  "displayName": "Store Leads",
  "categories": [
    "Data",
    "Marketing"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "a174****-****-****-****-****c6ee",
      "description": "Store Leads API key sent with the Authorization Bearer header. Generate it from the \"API\" tab of your Store Leads account page.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://storeleads.app",
  "actions": [
    {
      "id": "store_leads.get_app",
      "service": "store_leads",
      "name": "get_app",
      "description": "Retrieve Store Leads details for one ecommerce app.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "app_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Store Leads app identifier, such as \"shopify.marsello\".",
            "pattern": "\\S"
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of Store Leads response fields to include.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "required": [
          "app_id"
        ],
        "description": "Input for retrieving one Store Leads app."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "app": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The Store Leads app identifier."
              },
              "token": {
                "type": "string",
                "description": "The platform-specific app token."
              },
              "platform": {
                "type": "string",
                "description": "The ecommerce platform for the app."
              },
              "name": {
                "type": "string",
                "description": "The app name."
              },
              "installs": {
                "type": "integer",
                "description": "The number of active stores that have the app installed."
              }
            },
            "additionalProperties": true,
            "description": "A Store Leads app object."
          }
        },
        "additionalProperties": false,
        "required": [
          "app"
        ],
        "description": "Store Leads app response."
      }
    },
    {
      "id": "store_leads.get_domain",
      "service": "store_leads",
      "name": "get_domain",
      "description": "Retrieve Store Leads details for one ecommerce domain name.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "The public DNS domain or platform domain to retrieve.",
            "pattern": "\\S"
          },
          "follow_redirects": {
            "type": "boolean",
            "description": "Whether Store Leads should automatically follow domain redirects."
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of Store Leads response fields to include.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "required": [
          "domain"
        ],
        "description": "Input for retrieving one Store Leads domain."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "The public DNS domain name."
              },
              "platform": {
                "type": "string",
                "description": "The ecommerce platform detected for the domain."
              },
              "state": {
                "type": "string",
                "description": "The current Store Leads state for the domain."
              },
              "merchant_name": {
                "type": "string",
                "description": "The merchant name when Store Leads has one."
              }
            },
            "additionalProperties": true,
            "description": "A Store Leads domain object."
          }
        },
        "additionalProperties": false,
        "required": [
          "domain"
        ],
        "description": "Store Leads domain response."
      }
    },
    {
      "id": "store_leads.get_technology",
      "service": "store_leads",
      "name": "get_technology",
      "description": "Retrieve Store Leads details for one detected technology.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "technology": {
            "type": "string",
            "minLength": 1,
            "description": "The Store Leads technology name to retrieve.",
            "pattern": "\\S"
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of Store Leads response fields to include.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "required": [
          "technology"
        ],
        "description": "Input for retrieving one Store Leads technology."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "technology": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Store Leads technology object."
          }
        },
        "additionalProperties": false,
        "required": [
          "technology"
        ],
        "description": "Store Leads technology response."
      }
    },
    {
      "id": "store_leads.list_apps",
      "service": "store_leads",
      "name": "list_apps",
      "description": "List Store Leads ecommerce apps with optional filters and page pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 0,
            "description": "The zero-based page of results to return."
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "The number of records to return in one page. Store Leads caps this at 50."
          },
          "sort": {
            "type": "string",
            "minLength": 1,
            "description": "A Store Leads sort expression.",
            "pattern": "\\S"
          },
          "q": {
            "type": "string",
            "minLength": 1,
            "description": "A text query used to filter apps by name or description.",
            "pattern": "\\S"
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of Store Leads response fields to include.",
            "pattern": "\\S"
          },
          "platform": {
            "type": "string",
            "enum": [
              "custom",
              "shopify",
              "wix",
              "woocommerce"
            ],
            "description": "The ecommerce platform used to filter apps."
          },
          "categories": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of app categories.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input for listing Store Leads apps."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "apps": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Store Leads app identifier."
                },
                "token": {
                  "type": "string",
                  "description": "The platform-specific app token."
                },
                "platform": {
                  "type": "string",
                  "description": "The ecommerce platform for the app."
                },
                "name": {
                  "type": "string",
                  "description": "The app name."
                },
                "installs": {
                  "type": "integer",
                  "description": "The number of active stores that have the app installed."
                }
              },
              "additionalProperties": true,
              "description": "A Store Leads app object."
            },
            "description": "Apps returned by Store Leads."
          }
        },
        "additionalProperties": false,
        "required": [
          "apps"
        ],
        "description": "Store Leads apps list response."
      }
    },
    {
      "id": "store_leads.list_domains",
      "service": "store_leads",
      "name": "list_domains",
      "description": "List Store Leads domains with optional advanced search and cursor pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string",
            "minLength": 1,
            "description": "The Store Leads cursor used to retrieve the next page.",
            "pattern": "\\S"
          },
          "aq": {
            "type": "string",
            "minLength": 1,
            "description": "An advanced Store Leads domain search expression.",
            "pattern": "\\S"
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of Store Leads response fields to include.",
            "pattern": "\\S"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "The number of records to return in one page. Store Leads caps this at 50."
          }
        },
        "additionalProperties": false,
        "description": "Input for listing Store Leads domains."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "domains": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The public DNS domain name."
                },
                "platform": {
                  "type": "string",
                  "description": "The ecommerce platform detected for the domain."
                },
                "state": {
                  "type": "string",
                  "description": "The current Store Leads state for the domain."
                },
                "merchant_name": {
                  "type": "string",
                  "description": "The merchant name when Store Leads has one."
                }
              },
              "additionalProperties": true,
              "description": "A Store Leads domain object."
            },
            "description": "Domains returned by Store Leads."
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string",
                "description": "The cursor for the next result page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "domains",
          "next_cursor"
        ],
        "description": "Store Leads domains list response."
      }
    },
    {
      "id": "store_leads.list_technologies",
      "service": "store_leads",
      "name": "list_technologies",
      "description": "List Store Leads technologies with optional search and page pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 0,
            "description": "The zero-based page of results to return."
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "The number of records to return in one page. Store Leads caps this at 50."
          },
          "sort": {
            "type": "string",
            "minLength": 1,
            "description": "A Store Leads sort expression.",
            "pattern": "\\S"
          },
          "q": {
            "type": "string",
            "minLength": 1,
            "description": "A text query used to filter technologies.",
            "pattern": "\\S"
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "A comma-separated list of Store Leads response fields to include.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "Input for listing Store Leads technologies."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "technologies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Store Leads technology object."
            },
            "description": "Technologies returned by Store Leads."
          }
        },
        "additionalProperties": false,
        "required": [
          "technologies"
        ],
        "description": "Store Leads technologies list response."
      }
    }
  ]
}
