GET

VRBO Extract Property ID API

Parse VRBO listing URLs to extract property IDs required for API calls.

Overview

URL Parsing Utility

Extract property IDs from any VRBO URL format for use with other API endpoints.

This utility endpoint parses VRBO URLs to extract the property ID that can be used with other API endpoints like the reviews endpoint.

Endpoint URL

GET https://api.stayapi.com/v1/vrbo/listing/extract-id

Query Parameters

Parameter Type Required Description
url string Required Any valid VRBO listing URL to parse

Response Structure

Response Fields

  • success - Boolean indicating successful extraction
  • property_id - Extracted property ID (e.g., "19006312")
  • url - Original URL provided for verification

Supported URL Formats

All VRBO URL Patterns

https://www.vrbo.com/19006312 -> ID: 19006312
https://www.vrbo.com/12345ha -> ID: 12345ha
https://www.vrbo.com/19006312?arrival=2025-01-01&departure=2025-01-05 -> ID: 19006312

Common Use Cases

Browser Extensions

Extract IDs from the current tab URL to fetch reviews or property data.

Bulk Processing

Process lists of VRBO URLs from spreadsheets or databases.

URL Validation

Validate user input to ensure proper VRBO listing URLs.

API Integration

Convert between URL formats and API identifiers for custom integrations.

Error Handling

Invalid URLs

The endpoint will return a 400 error if the URL is not a valid VRBO listing URL or if no property ID can be extracted.

Common Error Scenarios

  • Non-VRBO URLs (returns 400)
  • VRBO URLs without property IDs (e.g., search pages)
  • Malformed or incomplete URLs
Request
curl -X GET "https://api.stayapi.com/v1/vrbo/listing/extract-id?url=https://www.vrbo.com/19006312" \
  -H "x-api-key: YOUR_API_KEY"
Response
{
  "success": true,
  "property_id": "19006312",
  "url": "https://www.vrbo.com/19006312?arrival=2025-01-01"
}