canonical: https://jentic.com/apis/viator.com/viator

# Viator API Documentation &amp; Specification - Merchant Partners

&lt;style type='text/css'&gt; code { white-space: nowrap; } a { font-weight: bold; } figure { width: 100%; text-align: center; font-style: italic; font-size: smaller; text-indent: 0; border: thin silver solid; margin: 0.5em; padding: 0.5em; } &lt;/style&gt; Updates Latest update: | Date | Description | |------|-------------| | 3 Feb 2021 | Added [Special offers and on-sale pricing](#section/Key-co. The API exposes 28 endpoints secured with apiKey authentication.

## For AI agents

Programmatically `/available/products`, `/booking/availability.` Covers 28 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- `/available/products`
- `/booking/availability`
- `/booking/book`
- `/booking/calculateprice`
- Monitor Viator API Documentation &amp; Specification - Merchant Partners operational status and events

## Use cases

### Developer Tools Operations

Use the Viator API Documentation &amp; Specification - Merchant Partners to perform developer tools operations programmatically. The API provides 28 endpoints covering core functionality including `/available/products`, `/booking/availability`, `/booking/availability/dates.`

Example prompt: Call POST `/available/products` to `/available/products`

### Automated General services Management

Automate general services operations by combining multiple Viator API Documentation &amp; Specification - Merchant Partners endpoints. Agents can `/booking/availability` and then `/booking/availability/dates` in a single workflow.

Example prompt: Call POST `/booking/availability` to `/booking/availability`, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Viator API Documentation &amp; Specification - Merchant Partners endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for '/available/products', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/available/products` | `/available/products` |
| POST | `/booking/availability` | `/booking/availability` |
| GET | `/booking/availability/dates` | `/booking/availability/dates` |
| POST | `/booking/availability/tourgrades` | `/booking/availability/tourgrades` |
| POST | `/booking/availability/tourgrades/pricingmatrix` | `/booking/availability/tourgrades/pricingmatrix` |
| POST | `/booking/book` | `/booking/book` |
| POST | `/booking/calculateprice` | `/booking/calculateprice` |
| GET | `/booking/hotels` | `/booking/hotels` |

## Key resources

- **General services** — General services
- **Taxonomy services** — Taxonomy services
- **Product services** — Product services
- **Booking services** — Booking services
- **Deprecated services** — Deprecated services

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 62 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 78 / 100
  - Developer Experience & Jentic Compatibility: 55 / 100
  - AI-Readiness & Agent Experience: 59 / 100
  - Agent Usability: 94 / 100
  - Security: 33 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/viator.com/viator/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Viator merchant API by hand means passing its exp-api-key header, picking the production or sandbox host, and stitching the availability, pricing, and booking calls together yourself. Through Jentic you install once, import the Viator API from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Viator takes booking and availability targets in the request body rather than the URL path, so scope the agent to the operations it needs, such as checking availability or calculating a price. You choose that set, so a committing operation like booking a tour is not included unless you add it.
- **Credential handling:** Your Viator API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'check tour availability for a date' or 'calculate a booking price', and Jentic returns the matching Viator operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the Viator API Documentation &amp; Specification - Merchant Partners use?

The Viator API Documentation &amp; Specification - Merchant Partners uses an API key passed in the `exp-api-key` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I `/available/products` with the Viator API Documentation &amp; Specification - Merchant Partners?

Yes. Use the POST `/available/products` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Viator API Documentation &amp; Specification - Merchant Partners?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I `/available/products` through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for '/available/products'. Jentic returns the matching Viator API Documentation &amp; Specification - Merchant Partners operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Viator API Documentation &amp; Specification - Merchant Partners have?

The Viator API Documentation &amp; Specification - Merchant Partners exposes 28 endpoints covering general services, taxonomy services, product services operations.

### Can I limit what my agent is allowed to do with the Viator API?

Yes. Jentic One is self-hosted, so your own rules decide which of the Viator operations and credentials the agent can use. Because Viator takes booking and availability targets in the request body rather than the URL path, you scope the agent to the operations it needs, such as checking availability or calculating a price. A committing operation like booking a tour is not included unless you add it.
