{
  "openapi": "3.0.1",
  "info": {
    "title": "Xero App Marketplace Directory by Category & Region",
    "description": "Browse the Xero App Store by keyword or function category and get each app's description, categories, industries, regions, and rating.",
    "version": "1.0",
    "x-build-id": "JvFa6mMuQkGSBZDuU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~xero-app-marketplace-directory-by-category/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-xero-app-marketplace-directory-by-category",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/dataspryva~xero-app-marketplace-directory-by-category/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-xero-app-marketplace-directory-by-category",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/dataspryva~xero-app-marketplace-directory-by-category/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-xero-app-marketplace-directory-by-category",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCategory",
              "byIndustry",
              "all",
              "bySlug",
              "categories",
              "developerPartners"
            ],
            "type": "string",
            "description": "Choose what to scrape: search the directory, browse a function category or industry, list everything, fetch the category taxonomy, look up specific app slugs, or list Development partners.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword to search for in search mode, e.g. 'payroll', 'invoicing' or 'inventory'. You can also paste a Xero App Store app URL. Leave blank to search for 'payroll'."
          },
          "appSlugs": {
            "title": "App slugs or URLs",
            "type": "array",
            "description": "Specific apps to fetch in 'Look up specific apps' mode. Paste app slugs (e.g. 'brightpay') or full Xero App Store URLs, one per item.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Function category",
            "enum": [
              "Accountant tools",
              "Banking",
              "Bills and expenses",
              "CRM and marketing",
              "Carbon accounting",
              "Convert data to Xero",
              "Debtor management",
              "Development partners",
              "Documents",
              "Ecommerce",
              "Inventory",
              "Invoicing and jobs",
              "Loans, financing and credit",
              "Other",
              "Payments",
              "Payroll HR",
              "Point of sale",
              "Practice manager",
              "Reporting and forecasting",
              "Tax and compliance",
              "Time tracking",
              "Workflow builders"
            ],
            "type": "string",
            "description": "Filter by a Xero App Store function category. Used by 'Browse a function category' and can be combined with a keyword search. Older partial names and aliases are still accepted."
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "Accounting",
              "Agriculture",
              "Automotive",
              "Construction and trades",
              "Education",
              "Franchise",
              "Health",
              "Hospitality",
              "Manufacturing",
              "Not for profit",
              "Professional services",
              "Property and realty",
              "Retail",
              "Tourism"
            ],
            "type": "string",
            "description": "Filter by the industry an app serves. Used by 'Browse an industry' and can be combined with a keyword search."
          },
          "region": {
            "title": "Region",
            "enum": [
              "global",
              "AU",
              "GB",
              "NZ",
              "US",
              "CA",
              "SG",
              "ZA",
              "IE",
              "HK",
              "MY",
              "PH",
              "ID"
            ],
            "type": "string",
            "description": "Limit results to apps available in one country, or keep Global to search every region.",
            "default": "global"
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only apps whose average rating is at least this value (0-5). Apps without a rating are excluded when this is above 0. This filter is applied after each result page is fetched.",
            "default": 0
          },
          "featuredOnly": {
            "title": "Featured apps only",
            "type": "boolean",
            "description": "Keep only apps Xero marks as featured.",
            "default": false
          },
          "freeTrialOnly": {
            "title": "Free-trial apps only",
            "type": "boolean",
            "description": "Keep only apps that offer a free trial. This filter is applied after each result page is fetched.",
            "default": false
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "nameAsc",
              "nameDesc",
              "featuredFirst"
            ],
            "type": "string",
            "description": "Sort results by search relevance, app name, or featured apps first.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of records to return. The Xero directory currently holds roughly 1,200 app listings.",
            "default": 20
          },
          "includeDetails": {
            "title": "Include app detail-page information",
            "type": "boolean",
            "description": "Also read each app's public detail page for its long description, website, support contact, screenshots, video, languages, integrations, use cases and recent reviews. This adds one request per app.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}