GoVisit AI (InHotel) Statistics API

The Statistics API from GoVisit AI (InHotel), for statistics.

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 1

POST /api/tools/v1/get_statistics Get statistics #

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-statistics-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-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GoVisit HTTP Statistics 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: Statistics
paths:
  /api/tools/v1/get_statistics:
    post:
      operationId: v1_get_statistics
      summary: Get statistics
      tags:
      - Statistics
      description: Read published GoVisit catalog coverage counts for the world or the destination in scope. Use it to answer how much of the catalog is covered and when it was measured. Results include observation metadata and distinguish missing counts from measured zeroes.
      externalDocs:
        url: https://govisit.ai/en/docs/developers/tools/get-statistics
      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.
                category:
                  type: string
                  enum:
                  - coverage
                  default: coverage
                  description: Statistic family. Coverage is the only supported family today.
              additionalProperties: false
              required:
              - pagePath
            example:
              pagePath: /en/places
      responses:
        '200':
          description: Tool result
          content:
            application/json:
              schema:
                type: object
                description: Governed statistics from the cached public page. Each metric has its own observation date. Missing or invalid observations are unknown, never zero.
                properties:
                  schemaVersion:
                    const: '1'
                  pageType:
                    enum:
                    - home
                    - places-index
                    - destinations-index
                    - destination
                    - category
                    - collection
                  pageId:
                    type: string
                  locale:
                    type: string
                  canonicalUrl:
                    type: string
                  contentVersion:
                    type:
                    - string
                    - number
                    - 'null'
                  updatedAt:
                    type:
                    - string
                    - 'null'
                  freshness:
                    type: object
                    properties:
                      contentVersion:
                        type:
                        - string
                        - number
                        - 'null'
                      updatedAt:
                        type:
                        - string
                        - 'null'
                    required:
                    - contentVersion
                    - updatedAt
                    additionalProperties: false
                  completeness:
                    enum:
                    - page-published-statistics
                    - partial
                    - unavailable
                    - invalid-input
                  data:
                    type: object
                    properties:
                      category:
                        const: coverage
                      scope:
                        type: object
                        properties:
                          kind:
                            enum:
                            - world
                            - destination
                          code:
                            type: string
                        required:
                        - kind
                        - code
                        additionalProperties: false
                      metrics:
                        type: array
                        maxItems: 22
                        items:
                          type: object
                          properties:
                            code:
                              enum:
                              - places
                              - activities
                              - collections
                              - destinations
                              - destinations_country
                              - destinations_region
                              - destinations_district
                              - destinations_city
                              - destinations_highlight
                              - places_arts_and_entertainment
                              - places_community_and_government
                              - places_cultural_and_historic
                              - places_education
                              - places_food_and_drink
                              - places_geographic_entities
                              - places_health_care
                              - places_lifestyle_services
                              - places_lodging
                              - places_services_and_business
                              - places_shopping
                              - places_sports_and_recreation
                              - places_travel_and_transportation
                            name:
                              type: string
                              maxLength: 4000
                            description:
                              type: string
                              maxLength: 4000
                            value:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            unit:
                              const: count
                            definitionVersion:
                              const: '1'
                            source:
                              const: catalog_coverage
                            observedAt:
                              type: string
                              pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$
                            computedAt:
                              type: string
                              pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$
                            window:
                              type: object
                              properties:
                                code:
                                  const: all_time
                                start:
                                  type: string
                                  pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$
                                end:
                                  type: string
                                  pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$
                                timeZone:
                                  type:
                                  - string
                                  - 'null'
                              required:
                              - code
                              - start
                              - end
                              - timeZone
                              additionalProperties: false
                          additionalProperties: false
                          required:
                          - code
                          - name
                          - description
                          - value
                          - unit
                          - definitionVersion
                          - source
                          - observedAt
                          - computedAt
                          - window
                      count:
                        type: integer
                        minimum: 0
                        maximum: 22
                      missingCodes:
                        type: array
                        maxItems: 22
                        uniqueItems: true
                        items:
                          enum:
                          - places
                          - activities
                          - collections
                          - destinations
                          - destinations_country
                          - destinations_region
                          - destinations_district
                          - destinations_city
                          - destinations_highlight
                          - places_arts_and_entertainment
                          - places_community_and_government
                          - places_cultural_and_historic
                          - places_education
                          - places_food_and_drink
                          - places_geographic_entities
                          - places_health_care
                          - places_lifestyle_services
                          - places_lodging
                          - places_services_and_business
                          - places_shopping
                          - places_sports_and_recreation
                          - places_travel_and_transportation
                    required:
                    - category
                    - scope
                    - metrics
                    - count
                    - missingCodes
                    additionalProperties: false
                  error:
                    type: string
                required:
                - schemaVersion
                - pageType
                - pageId
                - locale
                - canonicalUrl
                - contentVersion
                - updatedAt
                - freshness
                - completeness
                - data
                additionalProperties: false
        '429':
          description: Rate limit exceeded
          headers:
            Retry-After:
              schema:
                type: integer
                minimum: 0
        default:
          description: Invalid request or unavailable tool execution
externalDocs:
  url: https://govisit.ai/en/docs/developers/http-api/overview
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)