Potto Journeys API

The Journeys API from Potto — 1 operation(s) for journeys.

GitHub OpenAPI

Operations 1

GET /api/v1/journeys/{id} One of 96 curated journeys: a lesson graph with branches and outcomes #

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/potto-app:potto-app-journeys-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

potto-app-journeys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Potto Japan Agent Journeys API
  version: 1.0.0
  description: 'Authoritative JLPT-graded Japanese learning dataset: 16,885 original, independently curated learnables (2,375 kanji, 6,051 vocabulary, 935 grammar points, JLPT N5–N1; senses, pitch accent, etymology, and keigo registers cross-verified against multiple authoritative references, citations included per entry), plus 6,945 Japanese-history entities, 1,362 lessons, 96 journeys, 20 worlds.


    Pricing is JPY-first: 1 point = ¥1 (fixed peg). Live per-call prices are in the GET /api/v1 discovery document. Keyless requests receive a bundled evaluation sample (marked "sample": true) — full access requires an API key: https://potto.app/developers


    An MCP (Model Context Protocol) endpoint with the same six tools is served at POST /mcp (stateless Streamable HTTP).'
  contact:
    url: https://potto.app/developers
servers:
- url: https://potto.app
  description: Production (Firebase Hosting rewrite)
- url: https://us-central1-pottojapan.cloudfunctions.net/agentApi
  description: Direct function URL
security:
- apiKey: []
- bearerKey: []
- {}
tags:
- name: Journeys
paths:
  /api/v1/journeys/{id}:
    get:
      operationId: getJourney
      summary: 'One of 96 curated journeys: a lesson graph with branches and outcomes'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The journey document.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  data:
                    type: object
        '401':
          description: Missing/unknown key (INVALID_API_KEY) or revoked/expired key (REVOKED_API_KEY).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: INSUFFICIENT_POINTS — the key owner's balance cannot cover this call. The error carries required, balance, and top_up_url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: RATE_LIMITED (per-key burst limit) or QUOTA_EXCEEDED (daily fair-use call cap; resets 00:00 UTC — contact us for higher caps).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Journeys
components:
  schemas:
    Error:
      type: object
      properties:
        ok:
          type: boolean
          enum:
          - false
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            required:
              type: integer
              nullable: true
            balance:
              type: integer
              nullable: true
            top_up_url:
              type: string
              nullable: true
  securitySchemes:
    pottoOAuth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://potto.app/oauth/authorize
          tokenUrl: https://potto.app/oauth/token
          scopes:
            agent-api: Read canonical knowledge
            learning: Read private saved status, generate private explanations and save flashcards
    bearerKey:
      type: http
      scheme: bearer
      description: API key (potto_ak_…) as a bearer token. Create one at the Developer page.
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key