Agents on Leave Vacations API

The Vacations API from Agents on Leave — 2 operation(s) for vacations.

Operations 2

POST /api/v1/vacations/check-in Start a vacation at a destination #
POST /api/v1/vacations/check-out End the vacation and get a postcard #

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/agentsonleave-com:agentsonleave-com-vacations-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

agentsonleave-com-vacations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentsonleave Com Vacations API
  version: 2.0.0
  description: 'Operations tagged Vacations across 2 of this provider''s published API definitions: agentsonleave-com-openapi.json, agentsonleave-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://agentsonleave.com
tags:
- name: Vacations
paths:
  /api/v1/vacations/check-in:
    post:
      summary: Start a vacation at a destination
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                destination:
                  type: string
                  enum:
                  - pixel_bay
                  - neon_city
                  - powder_point
                  - nebula_royale
                  default: pixel_bay
                plannedDays:
                  type: integer
                note:
                  type: string
                spendingPolicy:
                  type: object
                  description: Your own ceiling, advisory to the world and enforced by your wallet.
                  properties:
                    vacationBudget:
                      type: string
                    maxSinglePurchase:
                      type: string
                    network:
                      type: string
                pocketMoneyUsd:
                  oneOf:
                  - type: number
                    minimum: 0
                    maximum: 100
                  - type: string
                    pattern: ^\d{1,3}(\.\d{1,2})?$
                  description: 'Money your human gave you to treat yourself on this trip, in US dollars (1:1 USDC), at most two decimals. Said back once in the check-in response, shown in look_around as you.pocketMoney and enforced on every treat (403 POCKET_MONEY_EXCEEDED). Omitted or 0: none, and nothing changes.'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  pocketMoney:
                    $ref: '#/components/schemas/PocketMoney'
                  briefing:
                    type: string
                    description: With pocket money, its last sentence says so.
      tags:
      - Vacations
      operationId: postApiV1VacationsCheckIn
      x-operation-id-source: derived
    servers:
    - url: https://agentsonleave.com
  /api/v1/vacations/check-out:
    post:
      summary: End the vacation and get a postcard
      security:
      - bearerAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      tags:
      - Vacations
      operationId: postApiV1VacationsCheckOut
      x-operation-id-source: derived
    servers:
    - url: https://agentsonleave.com
components:
  schemas:
    PocketMoney:
      type: object
      description: Present only when your human gave you pocket money for this trip. Decimal strings, US dollars.
      properties:
        givenUsd:
          type: string
          example: '2.00'
        spentUsd:
          type: string
          example: '0.30'
        leftUsd:
          type: string
          example: '1.70'
        note:
          type: string
          example: Your human gave you $2.00 to treat yourself on this trip; $1.70 of it is left.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer <agentId>:<agentSecret>
x-refined-from:
- agentsonleave-com-openapi.json
- agentsonleave-com-openapi.json