Skip to content
Fliggy hotel rating
raw.fliggy.hotel

Fliggy hotel rating

LiveBeta: the endpoint and its response fields may still changeFree quota applies
GEThttps://api.qovia.ai/v1/raw/fliggy/hotel

Rating summary of a Fliggy hotel: overall score (10-point scale), review counts (total, good, bad, with photos), sub-scores (location, cleanliness, service, facilities), 1–5 star distribution and top review tags. Hotel name not included. An unknown or not-yet-rated hotel returns an empty, unbilled result.

Price
$0.0015 / call$1.5 per 1k$1 per 1k after 5M a month
Billing
Charged only for successful, non-empty resultsfree quota first
Scope
raw:fliggyThe API key needs this scope
Rate cap
2 req/s globalAcross all users, plus your per-minute limit

Parameters

Sent as query parameters

Only these parameters are accepted; any other one returns 400.

hotel_idstringRequired

Fliggy hotel ID (shid, 5–15 digits), e.g. 10052156

Pattern^[1-9][0-9]{4,14}$

Example10052156

Response

A success is HTTP 200 with the shared envelope: request_id, data (this endpoint's data, see the example) and meta (the charge). An empty result is also 200, with meta.empty true, not charged, and data may be an empty structure or null.

The response envelope in detail

Errors

Errors this endpoint can return
codeHTTPBillingDescription
scope_denied403Not chargedThis API key lacks the scope the endpoint requires.
endpoint_unavailable503Not chargedThe endpoint is not available right now (no data source connected yet, or no price configured); nothing ran.
invalid_params400Not chargedThe parameters failed validation: a required one is missing, a type or format is wrong, an unknown one was sent, or the POST body is not a JSON object. An error in one parameter starts with its name (item_id: …); a missing or unknown parameter starts with params: ….
rate_limitedRetryable429Not chargedOver the account's per-minute limit (sliding 60-second window); wait for Retry-After.
too_many_unbilledRetryable429Not chargedIn the last 10 minutes at least 50 of your calls to data sources, and over 80% of them, came back empty, not found or rejected; slow down.
endpoint_busyRetryable429Not chargedThe endpoint's per-second capacity across all users is full; retry in 1 second. This does not count toward your per-minute limit.
insufficient_balance402Not chargedThe balance cannot pay for this call (the free quota is used up, or the endpoint does not use it).
upstream_busyRetryable503RefundedThe data source is busy or cooling down; refunded. Retry after Retry-After.
upstream_timeout504RefundedThe data source timed out; refunded.
upstream_error502 / 503RefundedThe data source failed; refunded.
upstream_rejected400RefundedThe data source rejected these parameters (well-formed, but not accepted); refunded.
not_found404RefundedThe data source has no such item (deleted, or the ID does not exist); refunded.
reservation_expired504RefundedThe call took too long and was refunded automatically; no data is returned.

Any request can also fail authentication: 401 invalid_api_key, 403 account_disabled, 429 too_many_auth_failures.

Every error code
Call it from your browser

Needs an account; playground calls are billed like API calls and use the free quota first too.