TravelMindsAI Public API

No authentication required.

GitHub OpenAPI

Operations 8

GET /v1/licenses Full TMAIV2 license registry #
GET /v1/licenses/audit Per-endpoint + per-marketplace-channel license posture #
GET /healthz Liveness probe — returns gateway version, no DB touch #
GET /v1/plans List active plan tiers with pricing and quotas #
POST /v1/newsletter/subscribe Subscribe to occasional coverage emails #
GET /v1/newsletter/confirm Consume a newsletter double-opt-in confirmation token #
POST /v1/partners/inquiry Submit a partner-program inquiry #
POST /v1/agent/concierge-public Trip planner demo for the website playground, IP rate-limited (not offered at… #

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/travelminds-ai:travelminds-ai-public-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

travelminds-ai-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Travelminds Ai Public API
  version: 0.13.0
  description: 'Operations tagged public across 2 of this provider''s published API definitions: travelminds-ai-api-openapi.json, travelminds-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.travelminds.ai
  description: Production
tags:
- name: Public
  description: No authentication required.
paths:
  /v1/licenses:
    get:
      tags:
      - Public
      summary: Full TMAIV2 license registry
      description: Promoted from the inline main.py handler. Returns the same shape.
      operationId: list_licenses_v1_licenses_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response List Licenses V1 Licenses Get
  /v1/licenses/audit:
    get:
      tags:
      - Public
      summary: Per-endpoint + per-marketplace-channel license posture
      description: 'Live attestation that mirrors legal/license_attestation_v1.json.


        Composes:

        - The static per-endpoint license map.

        - Active rows from tmai_marketplace_publications, joined to the

        canonical subset license list.

        - Publication channels not yet active are still surfaced so a

        reviewer can see the planned coverage.'
      operationId: audit_v1_licenses_audit_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Audit V1 Licenses Audit Get
  /healthz:
    get:
      tags:
      - Public
      summary: Liveness probe — returns gateway version, no DB touch
      description: Lightweight uptime check. Returns gateway version + service name. Does not touch the Postgres pool. Use this for load-balancer health checks and uptime monitors (StatusCake, Pingdom, etc.).
      operationId: healthz_healthz_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
  /v1/plans:
    get:
      tags:
      - Public
      summary: List active plan tiers with pricing and quotas
      description: 'Source of truth for the pricing-page renderer. Returns every active plan with its request quota, rate_limit_per_minute, and per-currency pricing (USD + INR, monthly + annual). quota_period says how the request quota counts: ''one_time'' for the free plan (a trial of monthly_request_quota calls, counted against all use so far, never reset), ''monthly'' for paid plans. monthly_concierge_quota is 0 while the trip planner is not offered. Public endpoint, no auth required.'
      operationId: list_plans_v1_plans_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PlanOut'
                type: array
                title: Response List Plans V1 Plans Get
  /v1/newsletter/subscribe:
    post:
      tags:
      - Public
      summary: Subscribe to occasional coverage emails
      description: Public endpoint — accepts an email + optional UTM tags. Sends a double-opt-in confirmation email; the row stays unconfirmed until the user clicks the link. It stores the email address, a confirmation token, the page the sign-up came from, any UTM tags and the time of sign-up.
      operationId: newsletter_subscribe_v1_newsletter_subscribe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewsletterSubscribeBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/newsletter/confirm:
    get:
      tags:
      - Public
      summary: Consume a newsletter double-opt-in confirmation token
      operationId: newsletter_confirm_v1_newsletter_confirm_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/partners/inquiry:
    post:
      tags:
      - Public
      summary: Submit a partner-program inquiry
      description: Public endpoint backing the /partners signup form. Records the inquiry in tmai_partner_inquiries and emails the founder.
      operationId: partners_inquiry_v1_partners_inquiry_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerInquiryBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agent/concierge-public:
    post:
      tags:
      - Public
      summary: Trip planner demo for the website playground, IP rate-limited (not offered at…
      description: 'Not offered at present. While the trip planner is switched off this route answers 503 with {"error": "planner_not_offered", "message": "The trip planner is not offered at present. The data routes are unaffected."}. Nothing is metered or stored for a refused call. When switched on: Planner path for the website playground. Rate-limited at 10 calls per IP per hour. Queries are logged for moderation review and may be filtered. Pass ?stream=1 (or Accept: text/event-stream) to receive SSE events: `started`, `tool_call`, `tool_result`, `thinking` (2s keepalive), and a final `done` event carrying the full ConciergeOut JSON.'
      operationId: concierge_public_v1_agent_concierge_public_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConciergeOut'
        '503':
          description: The trip planner is not offered at present.
          content:
            application/json:
              example:
                error: planner_not_offered
                message: The trip planner is not offered at present. The data routes are unaffected.
      x-tmai-offered: false
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PlanOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        monthly_request_quota:
          type: integer
          title: Monthly Request Quota
        quota_period:
          type: string
          title: Quota Period
          description: '''one_time'' for the free plan (the request quota is a trial counted against all use so far, never reset); ''monthly'' for paid plans.'
          default: monthly
        monthly_concierge_quota:
          type: integer
          title: Monthly Concierge Quota
          description: Trip-planner calls a month; 0 while the planner is not offered.
          default: 0
        rate_limit_per_minute:
          type: integer
          title: Rate Limit Per Minute
        price_usd_monthly:
          anyOf:
          - type: number
          - type: 'null'
          title: Price Usd Monthly
        price_usd_annual:
          anyOf:
          - type: number
          - type: 'null'
          title: Price Usd Annual
        price_inr_monthly:
          anyOf:
          - type: number
          - type: 'null'
          title: Price Inr Monthly
        price_inr_annual:
          anyOf:
          - type: number
          - type: 'null'
          title: Price Inr Annual
        features:
          additionalProperties: true
          type: object
          title: Features
          default: {}
      type: object
      required:
      - id
      - name
      - monthly_request_quota
      - rate_limit_per_minute
      title: PlanOut
    AnchorExperience:
      properties:
        name:
          type: string
          title: Name
        why_it_matters:
          anyOf:
          - type: string
          - type: 'null'
          title: Why It Matters
        best_time:
          anyOf:
          - type: string
          - type: 'null'
          title: Best Time
      type: object
      required:
      - name
      title: AnchorExperience
      description: 'Itinerary doctrine: each day is built around ONE titled hero

        moment with explicit significance. Optional — populated when the day has a

        clear anchor; absent for pure transfer/leisure days.'
    PartnerInquiryBody:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 2
          title: Name
        email:
          type: string
          maxLength: 254
          minLength: 4
          title: Email
        company:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Company
        partner_type:
          type: string
          pattern: ^(agency|academic|integration|other)$
          title: Partner Type
        description:
          type: string
          maxLength: 4000
          minLength: 10
          title: Description
        expected_volume:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Expected Volume
      type: object
      required:
      - name
      - email
      - partner_type
      - description
      title: PartnerInquiryBody
    ItineraryItem:
      properties:
        item:
          type: string
          title: Item
        category:
          anyOf:
          - type: string
          - type: 'null'
          title: Category
        duration_min:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Min
        timings:
          anyOf:
          - type: string
          - type: 'null'
          title: Timings
        fee:
          anyOf:
          - type: string
          - type: 'null'
          title: Fee
        citation:
          anyOf:
          - type: string
          - type: 'null'
          title: Citation
      type: object
      required:
      - item
      title: ItineraryItem
    CityRef:
      properties:
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        name:
          type: string
          title: Name
        iso_alpha2:
          anyOf:
          - type: string
          - type: 'null'
          title: Iso Alpha2
        state_code:
          anyOf:
          - type: string
          - type: 'null'
          title: State Code
      type: object
      required:
      - name
      title: CityRef
    RestaurantRecommended:
      properties:
        city_id:
          anyOf:
          - type: string
          - type: 'null'
          title: City Id
        name:
          type: string
          title: Name
        citation:
          anyOf:
          - type: string
          - type: 'null'
          title: Citation
      type: object
      required:
      - name
      title: RestaurantRecommended
    ItineraryDay:
      properties:
        day:
          type: integer
          title: Day
        city:
          anyOf:
          - $ref: '#/components/schemas/CityRef'
          - type: 'null'
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        anchor:
          anyOf:
          - $ref: '#/components/schemas/AnchorExperience'
          - type: 'null'
        pace:
          anyOf:
          - type: string
          - type: 'null'
          title: Pace
        morning:
          items:
            $ref: '#/components/schemas/ItineraryItem'
          type: array
          title: Morning
          default: []
        afternoon:
          items:
            $ref: '#/components/schemas/ItineraryItem'
          type: array
          title: Afternoon
          default: []
        evening:
          items:
            $ref: '#/components/schemas/ItineraryItem'
          type: array
          title: Evening
          default: []
        items:
          items:
            $ref: '#/components/schemas/ItineraryItem'
          type: array
          title: Items
          default: []
        stay:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Stay
        transit_in:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Transit In
      type: object
      required:
      - day
      title: ItineraryDay
    CitationsBlock:
      properties:
        tool_calls:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Tool Calls
          default: []
        data_sources:
          items:
            type: string
          type: array
          title: Data Sources
          default: []
        attribution_lines:
          items:
            type: string
          type: array
          title: Attribution Lines
          default: []
        ground_truth_refs:
          items:
            type: string
          type: array
          title: Ground Truth Refs
          default: []
      type: object
      title: CitationsBlock
    NewsletterSubscribeBody:
      properties:
        email:
          type: string
          maxLength: 254
          minLength: 4
          title: Email
        source_path:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Path
        utm_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Source
        utm_medium:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Medium
        utm_campaign:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Campaign
      type: object
      required:
      - email
      title: NewsletterSubscribeBody
    HealthResponse:
      properties:
        ok:
          type: boolean
          title: Ok
          default: true
        service:
          type: string
          title: Service
          default: tmaiv2-gateway
        version:
          type: string
          title: Version
      type: object
      title: HealthResponse
    ConciergeOut:
      properties:
        version:
          type: string
          title: Version
          default: concierge_v0
        query:
          type: string
          title: Query
        language_detected:
          anyOf:
          - type: string
          - type: 'null'
          title: Language Detected
        summary:
          type: string
          title: Summary
          default: ''
        itinerary:
          items:
            $ref: '#/components/schemas/ItineraryDay'
          type: array
          title: Itinerary
          default: []
        restaurants_recommended:
          items:
            $ref: '#/components/schemas/RestaurantRecommended'
          type: array
          title: Restaurants Recommended
          default: []
        heritage_highlights:
          items:
            $ref: '#/components/schemas/HeritageHighlight'
          type: array
          title: Heritage Highlights
          default: []
        coverage_notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Coverage Notes
        citations:
          $ref: '#/components/schemas/CitationsBlock'
          default:
            tool_calls: []
            data_sources: []
            attribution_lines: []
            ground_truth_refs: []
        partial:
          type: boolean
          title: Partial
          default: false
        degraded_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Degraded Reason
        tokens_used:
          $ref: '#/components/schemas/TokensUsed'
          default:
            input: 0
            output: 0
            cache_read: 0
            cache_create: 0
        tool_calls_made:
          type: integer
          title: Tool Calls Made
          default: 0
        elapsed_ms:
          type: integer
          title: Elapsed Ms
          default: 0
        layout_hint:
          type: string
          title: Layout Hint
          default: universal
      type: object
      required:
      - query
      title: ConciergeOut
    HeritageHighlight:
      properties:
        name:
          type: string
          title: Name
        type:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
        citation:
          anyOf:
          - type: string
          - type: 'null'
          title: Citation
      type: object
      required:
      - name
      title: HeritageHighlight
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    TokensUsed:
      properties:
        input:
          type: integer
          title: Input
          default: 0
        output:
          type: integer
          title: Output
          default: 0
        cache_read:
          type: integer
          title: Cache Read
          default: 0
        cache_create:
          type: integer
          title: Cache Create
          default: 0
      type: object
      title: TokensUsed
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: tmai_live_…
      description: Your TravelMindsAI API key.
    SessionAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: A session token from /v1/login.
x-refined-from:
- travelminds-ai-api-openapi.json
- travelminds-ai-openapi.json