Discover/Snapptrip API
live

Snapptrip APIsnapptrip.com

Search hotels and short-term rentals on Snapptrip.com via API. Get prices, room types, reviews, star ratings, and availability for Iranian properties.

This API takes change requests — .
Endpoint health
monitored
get_hotel_detail
search_hotels
search_villas
Checks pendingself-healing
Endpoints
3
Updated
3h ago

What is the Snapptrip API?

The Snapptrip API provides 3 endpoints to query Iran's Snapptrip travel platform for hotels and short-term rental accommodations. The search_hotels endpoint returns paginated hotel listings — up to 20 per page — including star rating, user score, price, address, amenities, and coordinates. Companion endpoints deliver room-level detail and reviews for a specific hotel, plus a separate villa and apartment search covering property types like VILLA, APARTMENT, and HOTEL_APARTMENT.

This call costs2 credits / call— charged only on success
Try it
City name in Persian or English (e.g. 'tehran', 'مشهد', 'isfahan'). Resolved to a city_id internally.
Page number for pagination, starting from 1.
Number of rooms/guests (used as no_rooms parameter).
Check-in date in ISO format YYYY-MM-DD.
Check-out date in ISO format YYYY-MM-DD. Must be after check_in.
api.parse.bot/scraper/ff72dcac-7906-4ac2-9a4d-97617b563c93/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ff72dcac-7906-4ac2-9a4d-97617b563c93/search_hotels?city=tehran&check_in=2026-09-05&check_out=2026-09-07' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalmissing one? ·

Search for available hotels in a given city for specified dates. Returns paginated results ordered by best-selling, including hotel name, star rating, user score, price, address, amenities, and location. Each page returns up to 20 hotels. The hotel_id in results can be used with get_hotel_detail.

Input
ParamTypeDescription
cityrequiredstringCity name in Persian or English (e.g. 'tehran', 'مشهد', 'isfahan'). Resolved to a city_id internally.
pageintegerPage number for pagination, starting from 1.
guestsstringNumber of rooms/guests (used as no_rooms parameter).
check_inrequiredstringCheck-in date in ISO format YYYY-MM-DD.
check_outrequiredstringCheck-out date in ISO format YYYY-MM-DD. Must be after check_in.
Response
{
  "type": "object",
  "fields": {
    "page": "Current page number",
    "total": "Total number of hotels matching the search",
    "hotels": "Array of hotel objects with id, name, stars, user_score, price, address, amenities, location",
    "total_pages": "Total number of pages available"
  },
  "sample": {
    "data": {
      "page": 1,
      "total": 169,
      "hotels": [
        {
          "name": "پارسیان آزادی",
          "stars": 5,
          "address": "تهران، بزرگراه شهید چمران، تقاطع یادگار امام.",
          "hotel_id": 60,
          "location": [
            35.789872,
            51.389829
          ],
          "amenities": [
            "نمازخانه",
            "سالن اجتماعات",
            "کافی‌نت"
          ],
          "image_url": "https://cdnsnapptrip.com/images/market/domestic-hotel/galleries/hotel/60/17924.jpeg",
          "user_score": 4,
          "price_total": 27930000,
          "is_available": true,
          "review_count": 741,
          "price_per_night": null,
          "discount_percent": 0
        }
      ],
      "total_pages": 9
    },
    "status": "success"
  }
}

About the Snapptrip API

Hotel Search

The search_hotels endpoint accepts a city name in Persian or English (city parameter — e.g. tehran, مشهد, isfahan), along with check_in and check_out dates in YYYY-MM-DD format. It returns a paginated list of available hotels sorted by best-selling. Each hotel object includes id, name, stars, user_score, price, address, amenities, and location coordinates. The total and total_pages fields let you iterate through all results; each page holds up to 20 hotels. The hotel_id returned here feeds directly into get_hotel_detail.

Hotel Detail and Reviews

get_hotel_detail takes a hotel_id from search results along with check_in and check_out dates. It returns two main arrays: rooms (available room types with pricing, capacity, and facilities) and reviews (user-submitted feedback with rating, pros, cons, and free-text comments). The total_reviews field gives the count of all reviews on file, even if only a subset is returned in the response.

Villa and Apartment Search

search_villas mirrors the hotel search interface but targets short-term rental inventory. Supply a city slug (Persian or English), dates, and an optional guests count for capacity filtering. Results come back paginated with up to 20 listings per page, each including pricing, capacity, location, rating, and amenities. Property types in the results span VILLA, APARTMENT, HOTEL_APARTMENT, and related categories, reflecting Snapptrip's full non-hotel accommodation inventory.

Reliability & maintenance

The Snapptrip API is a managed, monitored endpoint for snapptrip.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when snapptrip.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official snapptrip.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a hotel price-comparison tool for Iranian cities using search_hotels star ratings and prices across multiple date ranges.
  • Aggregate user review sentiment for hotels in Tehran or Mashhad using the reviews array from get_hotel_detail.
  • Display room-type availability and per-room pricing for a specific hotel on a travel itinerary planner.
  • Create a villa and apartment availability tracker for popular Iranian resort cities like Ramsar using search_villas.
  • Filter short-term rentals by guest capacity using the guests parameter in search_villas for group travel planning.
  • Monitor nightly hotel prices over time by repeatedly querying search_hotels with different check-in/check-out windows.
  • Populate a destination guide with amenity data, star ratings, and addresses for hotels in a given Persian city.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Snapptrip have an official public developer API?+
Snapptrip does not publish a public developer API or documented API portal for third-party developers as of mid-2025.
What does `get_hotel_detail` return beyond basic hotel info?+
get_hotel_detail returns two structured arrays not available in search results: rooms (with per-room pricing, capacity, and facilities for the requested dates) and reviews (with rating, pros, cons, and comment text per reviewer). It also returns total_reviews as a count. You need a hotel_id from search_hotels and valid check_in/check_out dates to get room pricing.
Can I search for hotels across all Iranian cities at once, or filter by amenity?+
Each call to search_hotels requires a specific city parameter — there is no all-cities sweep or amenity-based filter input. Amenity data is returned per hotel in results and can be filtered client-side. You can fork this API on Parse and revise it to add an amenity filter or multi-city aggregation endpoint.
Does the API cover flight or bus bookings on Snapptrip?+
Not currently. The API covers hotel search, hotel detail with rooms and reviews, and villa/apartment search. Snapptrip also lists flights, buses, and tours on its platform, but those are not included. You can fork this API on Parse and revise it to add endpoints for those booking categories.
How does pagination work across `search_hotels` and `search_villas`?+
Both endpoints return a page field (current page), total (total matching listings), and total_pages (total pages). Each page holds up to 20 results. Pass the page integer parameter to step through results. Page numbering starts at 1.
Page content last updated . Spec covers 3 endpoints from snapptrip.com.
Related APIs in TravelSee all →
tripadvisor.com API
Search for travel destinations and discover hotels with detailed information like ratings, reviews, and amenities. Get comprehensive place details to help plan your perfect trip and compare accommodation options.
expedia.com API
Search for hotels and flights across Expedia while viewing detailed property information to compare prices and amenities for your travel plans. Get comprehensive travel options all from one integration without manually browsing the website.
hotels.com API
Search for hotels across millions of properties, view room availability and pricing, and get detailed information about accommodations at specific destinations. Get location suggestions and discover popular travel spots to help plan your next getaway.
travelocity.com API
Search for travel destinations and browse hotel listings on Travelocity. Compare options by location, dates, and availability to find and book accommodation.
trivago.com.br API
Search hotels across Trivago by destination, dates, and guest count. Filter by price range and currency, get autocomplete suggestions for locations, and retrieve detailed hotel information including star ratings, guest reviews, and pricing from multiple booking sites.
hotelscan.ai API
Search and compare hotels with detailed guest reviews, room availability, and pricing information across flexible dates. Find similar properties, get autocomplete suggestions for locations, and access comprehensive hotel details all in one place.
booking.com API
Search for accommodations across Booking.com and instantly access detailed property information including pricing, amenities, and guest reviews to compare your options. Find the perfect stay by filtering thousands of listings and retrieving comprehensive details like room descriptions, availability, and booking terms all in one place.
airbnb.com API
Search Airbnb stays by destination and dates, then retrieve listing details, availability calendars, and recent guest reviews for a specific listing.