API & Automation

Jun Zhou, Founder at AirROI
by Jun ZhouFounder at AirROI
Published: September 4, 2026
Updated: September 7, 2026

Use AirROI's price-recommendation API to calculate a base price and daily rates for a property. Your application owns stored settings, availability, review, and any separate publishing integration.

The two-call workflow

Calculation is one stage—not the whole publishing workflow

Keep the read-only recommendation steps separate from decisions and channel writes.

  1. 01 · Calculate

    Send property inputs, base price, settings, and current calendar. Read prices, explanations, and warnings.

  2. 02 · Review

    Check business limits, skipped rules, changed availability, and which dates are approved.

  3. 03 · Publish separately

    Send only approved updates through your channel integration. Reconcile per-date acknowledgments.

This is an integration pattern, not a set of additional AirROI API endpoints. Publishing requires your own authorized channel integration.
StepEndpointWhat to use next
Estimate a property reference ratePOST /price-recommendation/base-pricerecommended_base_price and the response currency
Calculate nightly ratesPOST /price-recommendation/calendar-pricesrecommendations, explanations, and warnings

You can skip the first call if you already have a base price in the correct currency. Both calls are stateless: they do not create a managed listing or publish rates.

Start here

Follow the quickstart for a complete server-side example. Add current calendar evidence before enabling occupancy, gap, or adjacent-day rules. Then define which warnings should pause publishing.

Guides versus the API reference

These guides explain implementation decisions and examples. The API reference specifies required fields, validation ranges, supported currencies, and response schemas. Use both: the guide for the workflow, the reference for the contract.
Need the pricing concepts first? Read Fundamentals and Pricing Rules.

Pricing through an AI client

Both recommendation endpoints are also available through the existing AirROI MCP server. Use airroi_recommend_base_price, then pass its returned price and currency to airroi_recommend_calendar_prices. The tools use the same API key and paid credits, return explanations and warnings, and do not save property settings or publish rates. Calendar results include the complete response inline, with nightly recommendations, explanations, stay restrictions, coverage, and warnings. Omitted or null start_date and end_date return the full one- to two-year calendar from today in the property's timezone; either inclusive boundary narrows the output to a window. See the MCP pricing workflow.