# Monitor competitor hotel rates through an API

**Use case:** 

Generate competitor-rate previews, reports and exports in a standard run; auto mode starts the live API when run in standby.

## Input

```json
{
  "serviceMode": "auto",
  "persistArtifacts": true,
  "externalDeliveryMode": "none",
  "externalDeliveryIncludeInlineExports": false,
  "externalDeliveryRequired": false,
  "externalDeliveryTimeoutSeconds": 15,
  "runDeliveryJobsOnStart": false
}
```

## Output

```json
{
  "feed_rank": {
    "label": "Feed rank",
    "format": "integer"
  },
  "destination_label": {
    "label": "Destination",
    "format": "string"
  },
  "entity_name": {
    "label": "Entity name",
    "format": "string"
  },
  "checkin_date": {
    "label": "Check-in date",
    "format": "string"
  },
  "checkout_date": {
    "label": "Check-out date",
    "format": "string"
  },
  "opportunity_priority": {
    "label": "Priority",
    "format": "string"
  },
  "opportunity_score": {
    "label": "Opportunity score",
    "format": "number"
  },
  "recommended_offer_tier": {
    "label": "Recommended offer tier",
    "format": "string"
  },
  "market_leader_site": {
    "label": "Market leader site",
    "format": "string"
  },
  "best_price": {
    "label": "Best visible price",
    "format": "number"
  },
  "price_gap": {
    "label": "Price gap",
    "format": "number"
  },
  "booking_gap": {
    "label": "Booking gap",
    "format": "number"
  },
  "sites": {
    "label": "Compared sites",
    "format": "array"
  },
  "commercial_summary": {
    "label": "Commercial summary",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Hotel Rate Monitoring API Actor is ready to run with the inputs already set for "Monitor competitor hotel rates through an API". [Sign up or log in](https://console.apify.com/create-task-from-example/cV6fLi7KnvIeDTUpu) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Monitor competitor hotel rates through an API" task

The Hotel Rate Monitoring API Actor will start running based on the input automatically. You can also change all the input fields, like run mode, keep generated outputs, and more, to match your specific use case.

### 3. Receive the "Monitor competitor hotel rates through an API" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as feed rank, destination, entity name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Monitor competitor hotel rates through an API" task via API](https://apify.com/travelmonitorlab/travel-monitor-launch.md).

## FAQ

### What does this hotel rate API task expose?

In a standard run, this task generates hotel pricing feeds, reports and exports, then finishes. In standby mode, auto mode starts the documented live HTTP API.

### Does this task publish my hotel data?

Publishing the task shares only its configuration. Your runs, datasets, reports and delivery credentials remain private in your Apify account.

### Can an AI agent call the hotel pricing API?

An AI agent can duplicate the task, run the service and call its documented HTTP endpoints through Apify. The Actor also supports MCP and x402-compatible direct calls.

## About this Actor

This example demonstrates how to use [Hotel Rate Monitoring API](https://apify.com/travelmonitorlab/travel-monitor-launch.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/travelmonitorlab/travel-monitor-launch.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/travelmonitorlab/travel-monitor-launch.md

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`).
