Fern API Definition
Schema describing a Fern-managed API definition. A Fern project can be authored from one of several upstream sources (OpenAPI, AsyncAPI, Protobuf, OpenRPC, or the Fern Definition Language) and produces SDKs and documentation as outputs.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Stable identifier for the API definition inside a Fern project. |
| name | string | Human-friendly API name. |
| version | string | API version string, semantic version preferred. |
| description | string | Free-form description of the API. |
| source | object | Upstream source of truth that Fern reads to generate SDKs and docs. |
| protocols | array | Wire protocols this API exposes. |
| auth | object | Authentication scheme metadata for SDK generators and docs. |
| environments | array | Named environments (e.g. production, sandbox) used by generated SDKs. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/fern/main/json-schema/fern-api-definition-schema.json",
"title": "Fern API Definition",
"description": "Schema describing a Fern-managed API definition. A Fern project can be authored from one of several upstream sources (OpenAPI, AsyncAPI, Protobuf, OpenRPC, or the Fern Definition Language) and produces SDKs and documentation as outputs.",
"type": "object",
"required": ["id", "name", "source"],
"properties": {
"id": {
"type": "string",
"description": "Stable identifier for the API definition inside a Fern project."
},
"name": {
"type": "string",
"description": "Human-friendly API name."
},
"version": {
"type": "string",
"description": "API version string, semantic version preferred."
},
"description": {
"type": "string",
"description": "Free-form description of the API."
},
"source": {
"type": "object",
"description": "Upstream source of truth that Fern reads to generate SDKs and docs.",
"required": ["type"],
"properties": {
"type": {
"type": "string",
"enum": ["openapi", "asyncapi", "protobuf", "openrpc", "fern-definition"]
},
"path": {"type": "string"},
"url": {"type": "string", "format": "uri"},
"overrides": {"type": "string"}
}
},
"protocols": {
"type": "array",
"description": "Wire protocols this API exposes.",
"items": {
"type": "string",
"enum": ["rest", "websocket", "grpc", "webhook", "json-rpc"]
}
},
"auth": {
"type": "object",
"description": "Authentication scheme metadata for SDK generators and docs.",
"properties": {
"schemes": {
"type": "array",
"items": {
"type": "string",
"enum": ["bearer", "basic", "api-key", "oauth2", "jwt", "header", "custom"]
}
}
}
},
"environments": {
"type": "array",
"description": "Named environments (e.g. production, sandbox) used by generated SDKs.",
"items": {
"type": "object",
"required": ["name", "url"],
"properties": {
"name": {"type": "string"},
"url": {"type": "string", "format": "uri"},
"default": {"type": "boolean"}
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/fern-api-definition"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.