Yondry Visits API

The visits API from Yondry, for visits.

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 5

POST /api/v1/visits Create Visit #
GET /api/v1/visits List Visits #
POST /api/v1/visits/simple Create Simple Visit #
GET /api/v1/visits/stats Visit Stats #
DELETE /api/v1/visits/{visit_id} Delete Visit #

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/yondry-app:yondry-app-visits-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

yondry-app-visits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yondry Visits API
  version: 0.1.0
tags:
- name: Visits
paths:
  /api/v1/visits:
    post:
      tags:
      - Visits
      summary: Create Visit
      description: Create a rich visit with optional rating, notes, and duration.
      operationId: create_visit_api_v1_visits_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VisitCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VisitResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Visits
      summary: List Visits
      description: List visits for the authenticated user, newest first.
      operationId: list_visits_api_v1_visits_get
      security:
      - HTTPBearer: []
      parameters:
      - name: place_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Place Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VisitResponse'
                title: Response List Visits Api V1 Visits Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/visits/simple:
    post:
      tags:
      - Visits
      summary: Create Simple Visit
      description: Backward-compatible simple check-in used by PlaceDetailScreen.
      operationId: create_simple_visit_api_v1_visits_simple_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateVisitRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VisitOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/visits/stats:
    get:
      tags:
      - Visits
      summary: Visit Stats
      description: Get aggregate visit statistics for a specific place.
      operationId: visit_stats_api_v1_visits_stats_get
      security:
      - HTTPBearer: []
      parameters:
      - name: place_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
          title: Place Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VisitStats'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/visits/{visit_id}:
    delete:
      tags:
      - Visits
      summary: Delete Visit
      description: Permanently delete a visit record.
      operationId: delete_visit_api_v1_visits__visit_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: visit_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Visit Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VisitPlaceSummary:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        place_type:
          anyOf:
          - $ref: '#/components/schemas/PlaceType'
          - type: 'null'
        address:
          anyOf:
          - type: string
          - type: 'null'
          title: Address
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        lat:
          anyOf:
          - type: number
          - type: 'null'
          title: Lat
        lon:
          anyOf:
          - type: number
          - type: 'null'
          title: Lon
      type: object
      required:
      - id
      - name
      - place_type
      - address
      - city
      - lat
      - lon
      title: VisitPlaceSummary
      description: Compact place info embedded in visit responses.
    PlaceType:
      type: string
      enum:
      - park
      - playground
      - museum
      - cafe
      - restaurant
      - bar
      - activity
      - shopping
      - other
      title: PlaceType
    VisitCreate:
      properties:
        place_id:
          type: string
          format: uuid
          title: Place Id
        visited_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Visited At
        rating:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rating
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        duration_mins:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Mins
        companions:
          anyOf:
          - type: string
          - type: 'null'
          title: Companions
        plan_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Plan Id
      type: object
      required:
      - place_id
      title: VisitCreate
      description: Richer visit creation request (used by VisitHistoryScreen log sheet).
    CreateVisitRequest:
      properties:
        place_id:
          type: string
          format: uuid
          title: Place Id
        visited_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Visited At
      type: object
      required:
      - place_id
      title: CreateVisitRequest
      description: Backward-compatible simple check-in request (used by PlaceDetailScreen).
    VisitOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        place_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Place Id
        visited_at:
          type: string
          format: date-time
          title: Visited At
        source:
          type: string
          title: Source
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - place_id
      - visited_at
      - source
      - created_at
      title: VisitOut
      description: Minimal visit shape (backward-compatible).
    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
    VisitResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        user_id:
          type: string
          format: uuid
          title: User Id
        place_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Place Id
        visited_at:
          type: string
          format: date-time
          title: Visited At
        source:
          type: string
          title: Source
        rating:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rating
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        duration_mins:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Mins
        companions:
          anyOf:
          - type: string
          - type: 'null'
          title: Companions
        plan_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Plan Id
        weather:
          anyOf:
          - type: string
          - type: 'null'
          title: Weather
        created_at:
          type: string
          format: date-time
          title: Created At
        place:
          anyOf:
          - $ref: '#/components/schemas/VisitPlaceSummary'
          - type: 'null'
      type: object
      required:
      - id
      - user_id
      - place_id
      - visited_at
      - source
      - rating
      - notes
      - duration_mins
      - companions
      - plan_id
      - weather
      - created_at
      - place
      title: VisitResponse
      description: Full visit shape including nested place summary.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VisitStats:
      properties:
        total_visits:
          type: integer
          title: Total Visits
        avg_rating:
          anyOf:
          - type: number
          - type: 'null'
          title: Avg Rating
        last_visited_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Visited At
      type: object
      required:
      - total_visits
      - avg_rating
      - last_visited_at
      title: VisitStats
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer