1
Sign up at the AirROI Developer Portal. Account creation is instant — no approval process, no waiting period. Once signed in, add a minimum of $10 in API credits to activate your key. Then copy your API key from the Developer Dashboard.
Your API key will look like this:
sk_live_a1b2c3d4e5f6g7h8i9j0...
2
Let's estimate the revenue potential for a 2-bedroom apartment in downtown Los Angeles. The /calculator/estimate endpoint takes latitude, longitude, bedrooms, baths, and guest count — and returns projected annual revenue, ADR, and occupancy with percentile breakdowns.
cURL
curl -X GET \ "https://api.airroi.com/calculator/estimate?lat=34.052235&lng=-118.243683&bedrooms=2&baths=1&guests=4¤cy=usd" \ -H "X-API-KEY: YOUR_API_KEY"
3
The API returns a comprehensive revenue projection. Here is what each field means:
revenue
average_daily_rate
occupancy
The percentiles object provides performance distributions (p25, p50, p75, p90) for revenue, ADR, and occupancy. The monthly_revenue_distributions array contains 12 monthly revenue values, and comparable_listings shows the actual listings used to generate the projection.
json
{
"revenue": 52400,
"average_daily_rate": 195,
"occupancy": 0.74,
"percentiles": {
"revenue": {
"avg": 52400, "p25": 38200, "p50": 49800,
"p75": 61500, "p90": 78300
},
"average_daily_rate": {
"avg": 195, "p25": 145, "p50": 185,
"p75": 235, "p90": 310
},
"occupancy": {
"avg": 0.74, "p25": 0.58, "p50": 0.72,
"p75": 0.85, "p90": 0.93
}
},
"monthly_revenue_distributions": [
3200, 3400, 4100, 4800, 5600, 5900,
6200, 5800, 4600, 3900, 3100, 3800
],
"comparable_listings": [
{
"listing_id": "12345678",
"revenue": 48200,
"average_daily_rate": 180,
"occupancy": 0.73,
"bedrooms": 2,
"distance_miles": 0.3
}
],
"currency": "usd"
}4
Now that you have the basics, explore the three main ways to query AirROI data.
Find all active Airbnb listings in a market. Use POST /listings/search/market with a market object specifying country, region, and locality.
cURL
curl -X POST "https://api.airroi.com/listings/search/market" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"market": {
"country": "us",
"region": "california",
"locality": "los angeles"
},
"pagination": { "page_size": 10, "offset": 0 },
"currency": "usd"
}'Get detailed data on a specific Airbnb listing by its ID using GET /listings?id=12345678. Returns listing info, host info, location, property details, pricing, ratings, and performance metrics.
cURL
curl -X GET \ "https://api.airroi.com/listings?id=12345678¤cy=usd" \ -H "X-API-KEY: YOUR_API_KEY"
Pull aggregate market statistics using POST /markets/summary. Returns occupancy, ADR, RevPAR, revenue, booking lead time, length of stay, and active listings count.
cURL
curl -X POST "https://api.airroi.com/markets/summary" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"market": {
"country": "us",
"region": "california",
"locality": "los angeles"
},
"currency": "usd",
"num_months": 12
}'5
You have made your first API call and explored the three core workflows. Here is where to go next:
Keep exploring the AirROI API with these related tutorials.
Sign up at airroi.com/api/developer/activate, add a minimum of $10 in credits, and your API key is activated instantly. No sales calls, no approval process, no waiting period.
The API uses a pay-as-you-go model. You deposit credits starting at $10 and each API call costs between $0.01 and $1.00 depending on the endpoint. There are no monthly fees or subscriptions. Your $10 starter deposit is enough for hundreds to thousands of calls.
The API allows up to 10 requests per second per API key. For most use cases this is more than sufficient. If you need higher throughput for batch processing, contact us for an enterprise plan with higher limits.
Authentication is a single HTTP header. Pass your API key as the X-API-KEY header with every request. No OAuth flows, no token refresh, no session management. Example: curl -H "X-API-KEY: your-key" https://api.airroi.com/calculator/estimate?lat=34.05&lng=-118.24&bedrooms=2&baths=1&guests=4
Any language that can make HTTP requests works with the AirROI API. The API is a standard REST interface. This tutorial includes examples in cURL, Python, JavaScript, and Postman, but you can use Go, Ruby, PHP, Java, C#, or any other HTTP-capable language.
AirROI data is refreshed regularly. Listing-level metrics, performance data, and market statistics are updated on a rolling basis to reflect the most current state of the short-term rental market across 190+ countries and 20M+ listings.
Stay ahead of the curve
Join our newsletter for exclusive insights and updates. No spam ever.