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-learning-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: 3.2.0
info:
title: Potto Japan Agent Learning 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: Learning
paths:
/api/v1/learning/lookup:
post:
operationId: contextualLookup
summary: Explain a selection in its private sentence/paragraph context.
security:
- pottoOAuth:
- agent-api
- learning
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
- request_id
properties:
text:
type: string
minLength: 1
maxLength: 1000
request_id:
type: string
pattern: ^[A-Za-z0-9-]{16,80}$
target_language:
type: string
description: BCP-47 language code. Defaults to account app_language, native_language, then en. Japanese presentation is always included.
source:
type: object
required:
- client
- type
- id
properties:
client:
type: string
maxLength: 64
type:
type: string
enum:
- email
- web-page
- text
id:
type: string
maxLength: 256
parent_translation_id:
type: string
maxLength: 200
max_points:
type: number
minimum: 0
context:
type: object
properties:
sentence:
type: string
maxLength: 2000
paragraph:
type: string
maxLength: 6000
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
tags:
- Learning
/api/v1/learning/translations/{id}:
get:
operationId: refreshLearningTranslation
summary: Read an owned saved lookup, bilingual presentations and latest verified…
security:
- pottoOAuth:
- agent-api
- learning
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- Learning
/api/v1/learning/connection:
get:
operationId: learningConnection
summary: Connected identity, capabilities, subscription coverage and current read pricing
security:
- pottoOAuth:
- agent-api
- learning
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
tags:
- Learning
/api/v1/learning/disconnect:
post:
operationId: learningDisconnect
summary: Revoke only the current OAuth grant and its tokens
security:
- pottoOAuth:
- agent-api
- learning
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
tags:
- Learning
/api/v1/learning/membership:
get:
operationId: learningMembership
summary: Check whether a source is saved
security:
- pottoOAuth:
- agent-api
- learning
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
parameters:
- name: source_type
in: query
required: true
schema:
type: string
enum:
- learnable
- translation
- name: source_id
in: query
required: true
schema:
type: string
minLength: 1
maxLength: 200
tags:
- Learning
/api/v1/learning/flashcards:
post:
operationId: saveLearningSource
summary: Idempotently add a Learnable or owned Translation without resetting review state
security:
- pottoOAuth:
- agent-api
- learning
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- source_type
- source_id
properties:
source_type:
type: string
enum:
- learnable
- translation
source_id:
type: string
minLength: 1
maxLength: 200
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
tags:
- Learning
/api/v1/learning/teach/quote:
post:
operationId: quoteTeaching
summary: Quote generation in points (1 point = JPY 1); no generation or charge
security:
- pottoOAuth:
- agent-api
- learning
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
properties:
text:
type: string
minLength: 1
maxLength: 1000
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
tags:
- Learning
/api/v1/learning/teach:
post:
operationId: teachSelection
summary: Generate a private English explanation using existing Chrome teaching/billing.
security:
- pottoOAuth:
- agent-api
- learning
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
- request_id
- max_points
properties:
text:
type: string
minLength: 1
maxLength: 1000
request_id:
type: string
pattern: ^[A-Za-z0-9-]{16,80}$
max_points:
type: number
minimum: 0
responses:
'200':
description: Account-bound result in {ok:true,data:{…}}.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: object
additionalProperties: true
'400':
description: Invalid input.
'401':
description: Connect or refresh the Potto account.
'402':
description: Insufficient points for generation.
'403':
description: Explicit learning consent is required.
'409':
description: Source not ready, price changed, or operation already pending/failed.
'429':
description: Rate limit reached.
tags:
- Learning
components:
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