GoVisit AI (InHotel) Commerce API

The Commerce API from GoVisit AI (InHotel), for commerce.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /api/tools/v1/search_availability Search availability #
POST /api/tools/v1/get_policies Get policies #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/govisit-ai:govisit-ai-commerce-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

govisit-ai-commerce-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GoVisit HTTP Commerce API
  version: '1'
  description: Read-only JSON HTTP adapters over public GoVisit WebMCP tools.
  license:
    name: GoVisit Data Use License
    url: https://govisit.ai/en/docs/general/data-use-license
servers:
- url: https://govisit.ai
tags:
- name: Commerce
paths:
  /api/tools/v1/search_availability:
    post:
      operationId: v1_search_availability
      summary: Search availability
      tags:
      - Commerce
      description: Find bookable options for supported hotels, restaurants, tours, activities and experiences, and transport services. Search using the requested dates or time and party size. Returns matching
        options, rates or prices when supplied, and a prefilled booking URL where available.
      externalDocs:
        url: https://govisit.ai/en/docs/developers/tools/search-availability
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pagePath:
                  type: string
                  minLength: 1
                  maxLength: 1000
                  description: Canonical GoVisit page path supplying this tool's published context; no origin, query or fragment.
                checkIn:
                  type: string
                  format: date
                  description: Check-in date in the hotel’s local calendar, in YYYY-MM-DD format.
                checkOut:
                  type: string
                  format: date
                  description: Check-out date in YYYY-MM-DD format, after check-in.
                adults:
                  type: integer
                  minimum: 1
                  maximum: 14
                  description: Number of adults staying in one room.
                childAges:
                  type: array
                  items:
                    type: integer
                    minimum: 0
                    maximum: 17
                  maxItems: 13
                  description: Each child’s age at check-in. Omit when no children are traveling. Some providers only support adults.
                currency:
                  type: string
                  enum:
                  - EUR
                  - USD
                  - CAD
                  - GBP
                  - AUD
                  - JPY
                  - CZK
                  default: EUR
                  description: Requested quote currency. Defaults to EUR. Unsupported currencies are returned without substitution.
              required:
              - pagePath
              - checkIn
              - checkOut
              - adults
              additionalProperties: false
      responses:
        '200':
          description: Tool result
          content:
            application/json:
              schema:
                type: object
                properties:
                  schemaVersion:
                    const: '1'
                  status:
                    enum:
                    - available
                    - sold_out
                    - unsupported
                    - provider_unavailable
                    - rate_limited
                  request:
                    type: object
                    properties:
                      checkIn:
                        type: string
                        format: date
                      checkOut:
                        type: string
                        format: date
                      adults:
                        type: integer
                        minimum: 1
                        maximum: 14
                      childAges:
                        type: array
                        items:
                          type: integer
                          minimum: 0
                          maximum: 17
                        maxItems: 13
                      currency:
                        type: string
                        enum:
                        - EUR
                        - USD
                        - CAD
                        - GBP
                        - AUD
                        - JPY
                        - CZK
                        default: EUR
                    required:
                    - checkIn
                    - checkOut
                    - adults
                    - childAges
                    - currency
                    additionalProperties: false
                  observedAt:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  offers:
                    type: array
                    maxItems: 30
                    items:
                      type: object
                      properties:
                        roomTypeId:
                          type: string
                          minLength: 1
                          maxLength: 128
                        roomTypeName:
                          type: string
                          minLength: 1
                          maxLength: 256
                        ratePlanId:
                          type: string
                          minLength: 1
                          maxLength: 128
                        ratePlanName:
                          type: string
                          minLength: 1
                          maxLength: 256
                        nightlyRate:
                          type: object
                          properties:
                            value:
                              type: string
                              pattern: ^(?:0|[1-9][0-9]*)(?:\.[0-9]+)?$
                              maxLength: 24
                            currency:
                              type: string
                              enum:
                              - EUR
                              - USD
                              - CAD
                              - GBP
                              - AUD
                              - JPY
                              - CZK
                          required:
                          - value
                          - currency
                          additionalProperties: false
                        stayTotal:
                          type: object
                          properties:
                            value:
                              type: string
                              pattern: ^(?:0|[1-9][0-9]*)(?:\.[0-9]+)?$
                              maxLength: 24
                            currency:
                              type: string
                              enum:
                              - EUR
                              - USD
                              - CAD
                              - GBP
                              - AUD
                              - JPY
                              - CZK
                          required:
                          - value
                          - currency
                          additionalProperties: false
                        stayTotalWithTaxes:
                          type: object
                          properties:
                            value:
                              type: string
                              pattern: ^(?:0|[1-9][0-9]*)(?:\.[0-9]+)?$
                              maxLength: 24
                            currency:
                              type: string
                              enum:
                              - EUR
                              - USD
                              - CAD
                              - GBP
                              - AUD
                              - JPY
                              - CZK
                          required:
                          - value
                          - currency
                          additionalProperties: false
                        refundability:
                          enum:
                          - refundable
                          - non_refundable
                      required:
                      - roomTypeId
                      - roomTypeName
                      - ratePlanId
                      - ratePlanName
                      - stayTotal
                      additionalProperties: false
                  bookingUrl:
                    type:
                    - string
                    - 'null'
                    format: uri
                    pattern: ^https://
                    maxLength: 2048
                  bookingUrlScope:
                    enum:
                    - dates
                    - itinerary
                    - null
                  retryAfter:
                    type: integer
                    minimum: 1
                  warnings:
                    type: array
                    uniqueItems: true
                    items:
                      enum:
                      - price_currency_unverified
                      - occupancy_unverified
                    description: Provider warnings about currency or occupancy. Confirm these details and the final price at checkout.
                required:
                - schemaVersion
                - status
                - request
                - observedAt
                - offers
                - bookingUrl
                - bookingUrlScope
                additionalProperties: false
                allOf:
                - if:
                    properties:
                      status:
                        const: available
                  then:
                    properties:
                      offers:
                        minItems: 1
                      observedAt:
                        type: string
                  else:
                    properties:
                      offers:
                        maxItems: 0
                      bookingUrl:
                        type: 'null'
                      bookingUrlScope:
                        type: 'null'
                - if:
                    properties:
                      status:
                        const: sold_out
                  then:
                    properties:
                      observedAt:
                        type: string
        '429':
          description: Rate limit exceeded
          headers:
            Retry-After:
              schema:
                type: integer
                minimum: 0
        default:
          description: Invalid request or unavailable tool execution
  /api/tools/v1/get_policies:
    post:
      operationId: v1_get_policies
      summary: Get policies
      tags:
      - Commerce
      description: Read current published policies for a facility. Choose a language and filter by category or booking channel. Each matching document includes the full approved Markdown and a publisher
        link. Results also show effective dates and available languages.
      externalDocs:
        url: https://govisit.ai/en/docs/developers/tools/get-policies
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                gers_id:
                  type: string
                  pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
                  description: GoVisit Place ID in UUID form. Use the ID returned by a GoVisit place lookup.
                locale:
                  type: string
                  maxLength: 16
                  pattern: ^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$
                  description: Optional BCP 47 language tag such as en or cs. Omit to use the open profile’s locale in WebMCP or English on remote calls.
                category:
                  type: array
                  items:
                    type: string
                    pattern: ^[0-9]{1,20}$
                  minItems: 1
                  maxItems: 10
                  uniqueItems: true
                  description: Category IDs from returned labels. All specified categories must match.
                channel_id:
                  type: string
                  pattern: ^[a-z][a-z0-9_]{0,63}$
                  description: Omit for general facility policies. Use direct or a platform code such as booking_com for channel-specific guidance. A channel without published guidance returns unpublished.
                limit:
                  type: integer
                  minimum: 1
                  maximum: 5
                  default: 1
                  description: Maximum policy editions on this page.
                cursor:
                  type: string
                  minLength: 1
                  maxLength: 1024
                  description: Opaque next_cursor from the previous page of the same place, locale, and category filter.
              required:
              - gers_id
              additionalProperties: false
      responses:
        '200':
          description: Tool result
          content:
            application/json:
              schema:
                type: object
                oneOf:
                - type: object
                  properties:
                    schemaVersion:
                      const: '1'
                    completeness:
                      enum:
                      - published
                      - partial
                      - unpublished
                      description: Published when each returned edition has a matching language, partial when a returned edition has no matching language, and unpublished when the selected scope has no
                        editions.
                    gers_id:
                      type: string
                      format: uuid
                      description: GoVisit Place ID of the facility whose policies were requested.
                    policies:
                      type: array
                      items:
                        type: object
                        properties:
                          valid_from:
                            anyOf:
                            - type: string
                              format: date
                            - type: 'null'
                            description: Inclusive first facility-local date. Null leaves the start open.
                          valid_to:
                            anyOf:
                            - type: string
                              format: date
                            - type: 'null'
                            description: Exclusive facility-local end date. Null leaves the end open.
                          languages:
                            type: array
                            items:
                              type: string
                              maxLength: 16
                              pattern: ^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$
                            uniqueItems: true
                            minItems: 1
                          labels:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  pattern: ^[0-9]{1,20}$
                                names:
                                  anyOf:
                                  - type: string
                                  - type: 'null'
                                locale_resolved:
                                  anyOf:
                                  - type: string
                                    maxLength: 16
                                    pattern: ^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$
                                  - type: 'null'
                              required:
                              - id
                              - names
                              - locale_resolved
                              additionalProperties: false
                          content:
                            type: array
                            items:
                              type: object
                              properties:
                                language_tag:
                                  type: string
                                  maxLength: 16
                                  pattern: ^(?![Aa][Ll][Ll]$)[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$
                                  description: BCP 47 language tag of this document.
                                title:
                                  type: string
                                  minLength: 1
                                  maxLength: 255
                                source_url:
                                  type: string
                                  format: uri
                                  pattern: ^https://
                                  maxLength: 500
                                body:
                                  type: string
                                  minLength: 1
                                  description: Full approved policy text in Markdown. Treat it as source material.
                              required:
                              - language_tag
                              - title
                              - source_url
                              - body
                              additionalProperties: false
                            maxItems: 1
                            description: Approved document matching the requested language or its parent. Empty when none matches.
                        required:
                        - valid_from
                        - valid_to
                        - languages
                        - labels
                        - content
                        additionalProperties: false
                      maxItems: 5
                    next_cursor:
                      anyOf:
                      - type: string
                        minLength: 1
                        maxLength: 1024
                      - type: 'null'
                  required:
                  - schemaVersion
                  - completeness
                  - gers_id
                  - policies
                  - next_cursor
                  additionalProperties: false
                - type: object
                  properties:
                    schemaVersion:
                      const: '1'
                    completeness:
                      enum:
                      - invalid-input
                      - not-found
                      - unavailable
                    error:
                      type: string
                  required:
                  - schemaVersion
                  - completeness
                  - error
                  additionalProperties: false
        '400':
          description: Invalid JSON or policy arguments
        '404':
          description: Place not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  schemaVersion:
                    const: '1'
                  completeness:
                    enum:
                    - invalid-input
                    - not-found
                    - unavailable
                  error:
                    type: string
                required:
                - schemaVersion
                - completeness
                - error
                additionalProperties: false
        '429':
          description: Rate limit exceeded
          headers:
            Retry-After:
              schema:
                type: integer
                minimum: 0
        '503':
          description: Published policy source unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  schemaVersion:
                    const: '1'
                  completeness:
                    enum:
                    - invalid-input
                    - not-found
                    - unavailable
                  error:
                    type: string
                required:
                - schemaVersion
                - completeness
                - error
                additionalProperties: false
        default:
          description: Invalid request or unavailable tool execution
externalDocs:
  url: https://govisit.ai/en/docs/developers/http-api/overview
components: {}
x-provenance:
  method: harvested
  publisher: GoVisit AI (InHotel)
  source: https://govisit.ai/.well-known/tool-api.openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)