Vakantio Blog API
The Blog API from Vakantio, for blog.
The Blog API from Vakantio, for blog.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/vakantio-de:vakantio-de-blog-api"
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.
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: 3.2.0
info:
title: Vakantio De Blog API
version: 1.0.0
contact:
name: Vakantio
email: info@vakantio.de
url: https://vakantio.de
description: 'Operations tagged Blog across 2 of this provider''s published API definitions: vakantio-de.json, vakantio-de-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.vakantio.de
security:
- bearerSession: []
- oauth2:
- vakantio:full
- {}
tags:
- name: Blog
paths:
/blog/post:
get:
operationId: getPost
summary: Get a single post by id or by blogPath + postPath
description: Public for published posts; drafts require auth (`draft=true`).
security:
- {}
- bearerSession: []
- oauth2:
- vakantio:full
parameters:
- name: _id
in: query
schema:
type: string
description: Post id (alternative to paths)
- name: blogPath
in: query
schema:
type: string
- name: postPath
in: query
schema:
type: string
description: Post slug
- name: draft
in: query
schema:
type: boolean
description: Return the draft working copy (auth)
- name: locale
in: query
schema:
type: string
responses:
'200':
description: The post (full content, media, comments)
content:
application/json:
schema:
$ref: '#/components/schemas/PostSummary'
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
post:
operationId: createOrUpdatePost
summary: Create or update a post/draft
description: 'Create (no `_id`) or update (with `_id`) a post. Set `draft: true` to work on the draft copy. Requires authentication: OAuth 2.1 access token or a vakantio session token (from `vakantio login`), sent as `Authorization: Bearer `.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
_id:
type: string
description: Omit to create
title:
type: string
content:
type: string
description: HTML body
blogPath:
type: string
draft:
type: boolean
tags:
type: array
items:
type: string
topics:
type: array
items:
type: string
locale:
type: string
enum:
- de
- en
dateTraveled:
type: number
description: Unix ms
images:
type: array
items:
type: object
description: Attached media objects
required:
- blogPath
responses:
'200':
description: The saved post
content:
application/json:
schema:
$ref: '#/components/schemas/PostSummary'
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
/blog/post/state:
post:
operationId: changePostState
summary: Publish, unpublish (delete), or delete a draft
description: 'Pass exactly one of `publish`, `delete`, `deleteDraft` as true together with `postId`. Requires authentication: OAuth 2.1 access token or a vakantio session token (from `vakantio login`), sent as `Authorization: Bearer `.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
postId:
type: string
publish:
type: boolean
delete:
type: boolean
deleteDraft:
type: boolean
required:
- postId
responses:
'200':
description: New blog counters
content:
application/json:
schema:
type: object
properties:
_id:
type: string
blog:
type: object
properties:
postCount:
type: integer
draftCount:
type: integer
deletedCount:
type: integer
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
/blog:
get:
operationId: getBlog
summary: Get a blog (settings, aggregate stats, authors) by its URL path
description: Blog settings, aggregate statistics (views, likes, countries), and author list, looked up by the blog's URL path (the segment in https://vakantio.de/). No authentication required for public blogs.
security:
- {}
parameters:
- name: path
in: query
required: true
schema:
type: string
responses:
'200':
description: The blog
content:
application/json:
schema:
type: object
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
/blog/posts:
get:
operationId: listBlogPosts
summary: List a blog's published posts (paginated, 30/page)
description: A single blog's published posts in reverse-chronological order, 30 per page. No authentication required for public blogs.
security:
- {}
parameters:
- name: path
in: query
required: true
schema:
type: string
description: Blog URL path
- name: page
in: query
schema:
type: integer
default: 1
responses:
'200':
description: Post list
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/PostSummary'
totalCount:
type: integer
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
/blog/drafts:
get:
operationId: listBlogDrafts
summary: List a blog's draft posts
description: 'Requires authentication: OAuth 2.1 access token or a vakantio session token (from `vakantio login`), sent as `Authorization: Bearer `.'
parameters:
- name: path
in: query
required: true
schema:
type: string
responses:
'200':
description: Draft list
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/PostSummary'
totalCount:
type: integer
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
/blog/stats:
get:
operationId: getBlogStats
summary: Daily views (90 days), view trends, countries and cities visited
description: 'Requires authentication: OAuth 2.1 access token or a vakantio session token (from `vakantio login`), sent as `Authorization: Bearer `.'
parameters:
- name: path
in: query
required: true
schema:
type: string
- name: locale
in: query
schema:
type: string
responses:
'200':
description: Blog statistics
content:
application/json:
schema:
type: object
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
/blog/{blogPath}/trips:
get:
operationId: listTrips
summary: List a blog's trips (multi-post itineraries)
description: A blog's trips — named multi-post itineraries with a date range. Posts are attached to trips; use the trip id in the public URL https://vakantio.de//trip/. No authentication required for public trips.
security:
- {}
parameters:
- name: blogPath
in: path
required: true
schema:
type: string
- name: locale
in: query
schema:
type: string
responses:
'200':
description: Trip list
content:
application/json:
schema:
type: array
items:
type: object
4XX:
description: Client error — JSON body with a stable `error` code (e.g. not_found, not_authenticated, request_failed) and an optional `hint`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
5XX:
description: 'Server error — JSON body with `error: "server_error"`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Blog
servers:
- url: https://api.vakantio.de
components:
schemas:
Error:
type: object
description: Structured error body returned for every non-2xx response.
properties:
error:
type: string
description: 'Stable machine-readable code: not_found, gone, not_authenticated, request_failed, server_error.'
message:
type: string
description: Human-readable detail (optional)
hint:
type: string
description: Where to look next (optional)
required:
- error
PostSummary:
type: object
properties:
_id:
type: string
title:
type: string
preview:
type: string
tags:
type: array
items:
type: string
topics:
type: array
items:
type: string
path:
type: string
description: URL slug (assigned at first publish)
fullPath:
type: string
description: 'Public URL path: /<blogPath>/<slug>'
blogName:
type: string
likeCount:
type: number
commentCount:
type: number
datePublished:
type: number
description: Unix ms
dateTraveled:
type: number
description: Unix ms
securitySchemes:
oauth2:
type: oauth2
description: OAuth 2.1 authorization code + PKCE with dynamic client registration (https://api.vakantio.de/register). Used automatically by MCP clients.
flows:
authorizationCode:
authorizationUrl: https://api.vakantio.de/authorize
tokenUrl: https://api.vakantio.de/token
scopes:
vakantio:full: 'Full access to the authorizing user''s account: read and write posts, drafts, blogs, trips, and comments.'
bearerSession:
type: http
scheme: bearer
description: Vakantio session token, e.g. from `vakantio login` (loopback) or `vakantio login --device` (RFC 8628). Equivalent to an OAuth access token.
x-refined-from:
- vakantio-de.json
- vakantio-de-openapi.json
x-provenance:
method: harvested
publisher: Vakantio
source: https://vakantio.de/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)