# Xero App Marketplace Directory by Category & Region (`dataspryva/xero-app-marketplace-directory-by-category`) Actor

Browse the Xero App Store by keyword or function category and get each app's description, categories, industries, regions, and rating.

- **URL**: https://apify.com/dataspryva/xero-app-marketplace-directory-by-category.md
- **Developed by:** [Dataspryva](https://apify.com/dataspryva) (community)
- **Categories:** Automation, Integrations, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Xero App Store Directory — Apps, Categories & Regions

Turn the public Xero App Store into a structured dataset. Search by keyword, browse a function
category or industry, filter by region and rating, or walk the whole directory. Add one switch to
read each app's detail page for its long description, website, support contacts, screenshots,
video, integration data and recent reviews.

No Xero account, cookie, API key or proxy is needed.

### What you can scrape

| Mode | What it returns |
|---|---|
| `search` | Apps matching a keyword such as `payroll`, `invoicing` or `inventory` |
| `byCategory` | Apps in one of the 22 Xero function categories, e.g. Payroll HR |
| `byIndustry` | Apps for one of the 14 Xero industries, e.g. Construction and trades |
| `all` | The whole app directory, with optional category, industry and region filters |
| `bySlug` | Specific apps from a list of slugs or Xero App Store URLs |
| `categories` | The category and industry taxonomy itself, with live app counts |
| `developerPartners` | Xero's Development partners directory, with each partner's landing page |

`byCategory` with **Development partners** returns the partner directory, not a handful of tagged
apps, so that category is complete.

### Filters, sorting and pagination

- **Region** — `global` searches every region; a country code keeps apps available there. Site
  region counts match: Payroll HR is 38 apps in the UK and 102 across all regions.
- **Category and industry** — combine either filter with a keyword search, or use them on their
  own to browse.
- **Minimum rating** — keeps rated apps at or above the value; unrated apps are excluded when the
  value is above 0. This filter is applied after each result page is fetched.
- **Featured only** — keeps apps Xero promotes on the App Store.
- **Free trial only** — keeps apps that offer a free trial.
- **Sort** — search relevance, app name A-Z, app name Z-A, or featured first.
- **Pagination** — the actor follows the directory's own paging until `maxItems`, the end of the
  results, or the 2,000-record run cap. Results are de-duplicated by their Xero entry ID.

The directory currently holds about 1,200 app listings. Set `maxItems` to 1,200 or more to
export the whole directory in one run; use a region or category filter to work through a larger
research plan.

### Output

Every app record starts with the listing fields:

- `appId`, `entryId`, `name`, `slug`
- `description` — the short listing description
- `about` — the longer public description when Xero provides one
- `categories[]`, `industries[]`, `regions[]`, `languages[]`
- `rating`, `reviewCount` — present when the app has reviews
- `featured`, `hasFreeTrial`, `isDeveloperPartner`
- `iconUrl`, `url`, `landingPageUrl`
- `recordType` (`app`, `developerPartner`, `category` or `industry`) and `scrapedAt`

With `includeDetails` enabled, app records gain the public detail-page fields:

- `gettingStarted`, `integrationDetails`, `website`
- `developerName`, `developerWebsite`, `supportEmail`, `supportUrl`, `phoneNumber`, `purchaseUrl`
- `listedDate`, `hasSingleSignOn`, `freeTrialDurationDays`
- `screenshots[]`, `videoUrl`, `videoThumbnailUrl`, `socialLinks`
- `dataFlow[]` — the named data flows and whether they move data in or out
- `useCases[]` — jobs-to-be-done tasks the app supports
- `ratingBreakdown[]` and `recentReviews[]` — up to three reviews embedded on the detail page
- `reviewsUrl`

Category and industry records carry `taxonomyType`, `taxonomyId`, `name`, `description`,
`appCount` and a working Xero directory `url`.

Empty fields are omitted rather than returned as `null`, so every value in the dataset is real.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `search` | `search`, `byCategory`, `byIndustry`, `all`, `categories` or `developerPartners` |
| `searchQuery` | text | `payroll` | Keyword for search mode; a Xero app URL is also accepted |
| `appSlugs` | string list | – | App slugs or full app URLs for `bySlug` mode |
| `category` | select | – | One of the 22 function categories |
| `industry` | select | – | One of the 14 industries |
| `region` | select | `global` | `global` or a country code |
| `minRating` | number | `0` | 0-5; excludes unrated apps when above 0 |
| `featuredOnly` | boolean | `false` | Keep featured apps only |
| `freeTrialOnly` | boolean | `false` | Keep apps with a free trial only |
| `sortBy` | select | `relevance` | `relevance`, `nameAsc`, `nameDesc` or `featuredFirst` |
| `maxItems` | integer | `20` | 1-2,000 records |
| `includeDetails` | boolean | `false` | Read each app's detail page (one request per app) |

#### Examples

Search for payroll apps worldwide:

```json
{ "mode": "search", "searchQuery": "payroll", "region": "global", "maxItems": 50 }
```

Browse payroll apps available in the UK:

```json
{ "mode": "byCategory", "category": "Payroll HR", "region": "GB", "maxItems": 100 }
```

Browse construction apps in Australia, highest relevance first:

```json
{ "mode": "byIndustry", "industry": "Construction and trades", "region": "AU", "maxItems": 100 }
```

Look up specific apps by slug or URL:

```json
{ "mode": "bySlug", "appSlugs": ["brightpay", "https://apps.xero.com/uk/app/dext"], "includeDetails": true }
```

Export the whole directory with detail pages:

```json
{ "mode": "all", "region": "global", "maxItems": 500, "includeDetails": true }
```

List categories and industries with their live app counts:

```json
{ "mode": "categories", "region": "GB", "maxItems": 50 }
```

List Development partners for New Zealand:

```json
{ "mode": "developerPartners", "region": "NZ", "maxItems": 60 }
```

### Older saved inputs

Existing tasks keep working. The actor still accepts the old `query` keyword alias and maps older
or partial category names, country names and common result-limit keys (`limit`, `maxResults`,
`resultsLimit`) onto the current fields. Legacy aliases are resolved in code, so the input form
only shows fields the actor actually uses.

### FAQ

**Do I need a Xero account or API key?**
No. Every request reads the public Xero App Store, with no login, cookie or credential.

**What does `region = global` mean?**
It searches the directory across every region. Pick a country to keep apps available in that
market.

**Why do some apps have no rating or review count?**
The app has not received reviews yet. Those fields are omitted instead of returning zero.

**How do I get the long descriptions and screenshots?**
Set `includeDetails` to `true`. The actor then reads each app's public detail page. It adds one
request per app, so use a sensible `maxItems` for large exports.

**Can I fetch a specific list of apps?**
Yes. Use `mode = bySlug` and paste app slugs or full Xero App Store URLs. Each slug is looked up
once, and duplicate results are removed.

**Why is there no rating or review-count sort?**
The Xero directory's own search index sorts by text fields; it does not expose a numeric rating
sort. Sorting by name and featured status is supported, and `minRating` filters by rating.

**What are Development partners?**
Xero's directory of agencies and developers who build custom integrations. They have no Xero app
page; their `url` is the partner's own landing page. Use `mode = developerPartners` or the
Development partners category to browse them.

**How current is the data?**
Every run reads the live store. Ratings, review counts, categories and listings reflect what Xero
publishes at the time the actor runs.

**Why can a rare app link return a 404?**
A few listings are still in Xero's search index after their app page is removed. When
`includeDetails` is on, the actor falls back to the vendor's landing page for those records.

**Is this affiliated with Xero?**
No. This is an independent actor that reads publicly accessible Xero App Store pages. It is not
affiliated with or endorsed by Xero.

# Actor input Schema

## `mode` (type: `string`):

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.

## `searchQuery` (type: `string`):

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` (type: `array`):

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.

## `category` (type: `string`):

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` (type: `string`):

Filter by the industry an app serves. Used by 'Browse an industry' and can be combined with a keyword search.

## `region` (type: `string`):

Limit results to apps available in one country, or keep Global to search every region.

## `minRating` (type: `number`):

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.

## `featuredOnly` (type: `boolean`):

Keep only apps Xero marks as featured.

## `freeTrialOnly` (type: `boolean`):

Keep only apps that offer a free trial. This filter is applied after each result page is fetched.

## `sortBy` (type: `string`):

Sort results by search relevance, app name, or featured apps first.

## `maxItems` (type: `integer`):

Maximum number of records to return. The Xero directory currently holds roughly 1,200 app listings.

## `includeDetails` (type: `boolean`):

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.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "payroll",
  "region": "global",
  "minRating": 0,
  "featuredOnly": false,
  "freeTrialOnly": false,
  "sortBy": "relevance",
  "maxItems": 3,
  "includeDetails": false
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing the scraped Xero App Store directory records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQuery": "payroll",
    "region": "global",
    "featuredOnly": false,
    "freeTrialOnly": false,
    "sortBy": "relevance",
    "maxItems": 3,
    "includeDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataspryva/xero-app-marketplace-directory-by-category").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQuery": "payroll",
    "region": "global",
    "featuredOnly": False,
    "freeTrialOnly": False,
    "sortBy": "relevance",
    "maxItems": 3,
    "includeDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("dataspryva/xero-app-marketplace-directory-by-category").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "payroll",
  "region": "global",
  "featuredOnly": false,
  "freeTrialOnly": false,
  "sortBy": "relevance",
  "maxItems": 3,
  "includeDetails": false
}' |
apify call dataspryva/xero-app-marketplace-directory-by-category --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataspryva/xero-app-marketplace-directory-by-category"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0OwkOSeg1FQmg4G0s/builds/JvFa6mMuQkGSBZDuU/openapi.json
