Skip to Content

Usage and limits

The calling key's limits and use

GET
/v1/hotels/usage

Authorization

apiKey
headerX-API-Key<token>

vl_live_... for live prices, vl_test_... for saved samples at no cost. Authorization: Bearer is also read.

Response Body

Limits, this minute, and today in UTC.

application/json
  1. response
data*
meta*
Example Request
curl -X GET 'https://api.voyagelabs.ai/v1/hotels/usage' \  -H 'X-API-Key: '
Example Response
{  "data": {    "key": {      "id": "string",      "name": "string",      "mode": "string"    },    "limits": {      "requests_per_minute": 0,      "new_searches_per_minute": 0,      "search_reads_per_minute": 0    },    "this_minute": {      "requests": 0,      "new_searches": 0    },    "today": {      "requests": 0,      "answered_from_memory": 0,      "new_searches": 0,      "errors": 0    }  },  "meta": {    "request_id": "string",    "mode": "live"  }}