Input your OpenAPI. Output SDKs and Docs.
Beautiful SDKs and Docs for your API
Input your OpenAPI. Output SDKs and Docs.
Beautiful SDKs and Docs for your API
Input your OpenAPI. Output SDKs and Docs.
Beautiful SDKs and Docs for your API


Our products
Our products
SDKs
Offer type-safe SDKs in the most popular languages
Let Fern do the heavy lifting of generating and publishing client libraries so your team can focus on building the API.
SDKs
Offer type-safe SDKs in the most popular languages
Let Fern do the heavy lifting of generating and publishing client libraries so your team can focus on building the API.
Step 1
Step 1
Import your API
Import your API
Import your API definition, whether it's in OpenAPI or Fern's simpler format.
Import your API definition, whether it's in OpenAPI or Fern's simpler format.
openapi: 3.0.3
paths:
"/benefits/{id}":
get:
operationId: benefits_retrieve
description: Retrieves a `Benefit` object
parameters:
- …
Fern Definition
OpenAPI Document
openapi: 3.0.3
paths:
"/benefits/{id}":
get:
operationId: benefits_retrieve
description: Retrieves a `Benefit` object
parameters:
- …
Fern Definition
OpenAPI Document

Step 2
Step 2
Generate your SDKs
Generate your SDKs
Generate your
SDKs
Select which code generators you'd like to use:
TypeScript, Python, Java, Go
*Ruby and C# are coming soon
Select the code generators you'd like to use:
TypeScript, Python, Java, Go
*Ruby and C# are coming soon



Step 3
Step 3
Publish your packages
Publish your packages
Publish your
packages
Fern semantically versions and publishes packages to each registry (e.g. npm, pypi, maven).
Fern semantically versions and publishes packages to each registry
(e.g. npm, pypi, maven).




Ruby
Java
Python
Node

Go
C#
npm install @mergeapi/merge-node-client
What developers are saying
What developers are saying

Kian Hooshmand
Co-founder at Vocode
So much better than the openapi generators!

Gil Feig
CTO at Merge.dev
We used an alternative SDK generator for years, and customers constantly complained. Since adopting Fern, customers have migrated rapidly to our new SDKs and have been blown away by the quality.

Steve Yazicioglu
Head of Engineering
at Candid Health
Fern sped up new API development by at least 50%.
The bits sped up are the most tedious, annoying parts. 🔥

Ashley Mulligan
Head of Developer Experience
at Flatfile
The Node.js library they produce is idiomatic and very similar to how we’d write it manually: the SDK is resource-based and Fern natively supports union types.
A monumental improvement to the Flatfile developer experience versus the OpenAPI generator.

Andrew Israel
CEO at PropelAuth
I really dislike most autogenerated code, but Fern’s genuinely feels like we have a developer writing it - would highly recommend.

Nikolas Huebecker
Co-founder at Onward
We migrated our API and SDK to them over a weekend. They provide exceptional support!

Joe McKenney
CTO at Dopt
The sleek and modern CLI made integrating Fern into our monorepo’s versioning and publishing workflows trivial.

Sandeep Dinesh
CTO at Mercoa
We use Fern to build our API and UI elements, and couldn’t be happier! End to end type safety and client/server generation gives us the ability to move very quickly.
Even better, we get great SDKs and API docs without any additional work!

Noah Flaherty
CTO at Vellum
We use Fern to autogenerate our Python and Node API clients from our OpenAPI spec. The clients are high quality, easy to update, and the Fern team moves blazing fast on feature requests.
Robust
Robust
Idiomatic
Each SDK gives the impression of being hand-written by an expert in the language.
Idiomatic
Each SDK gives the impression of being hand-written by an expert in the language.
Strongly typed
Get type safety and auto-complete when you hover your cursor over a type in the SDK.
Strongly typed
Get type safety and auto-complete when you hover your cursor over a type in the SDK.
Retry logic
Choose a retry mechanism for API calls, such as exponential backoff.
Retry logic
Choose a retry mechanism for API calls, such as exponential backoff.
Flexible
Flexible
Add custom code
Enrich the automatically generated code with custom additions, such as utility functions or a wrapper around the generated client.
Add custom code
Enrich the automatically generated code with custom additions, such as utility functions or a wrapper around the generated client.
Server-sent events
SDK users get autocompletion for events returned by the API and can traverse through them with a simple `for` loop.
Server-sent events
SDK users get autocompletion for events returned by the API and can traverse through them with a simple `for` loop.
Webhooks
Get webhook functions to set up webhook endpoints, manage incoming payloads, and validate signatures to confirm the authenticity of the requests.
Webhooks
Get webhook functions to set up webhook endpoints, manage incoming payloads, and validate signatures to confirm the authenticity of the requests.
Automated
Automated
CI/CD integration
Use the Fern CLI in your build process to automatically generate code and update your SDKs.
CI/CD integration
Use the Fern CLI in your build process to automatically generate code and update your SDKs.
GitHub app
We'll open a PR to update your SDK repo whenever your API changes.
GitHub app
We'll open a PR to update your SDK repo whenever your API changes.
SDK code snippets
Show developers how to use your SDKs. The code examples are populated in your documentation automatically.
SDK code snippets
Show developers how to use your SDKs. The code examples are populated in your documentation automatically.
Built by a team from
and
We are fortunate to work with some of the best investors in the world
We are fortunate to work with some of the best investors in the world


Abhinav Asthana
CEO, Postman

Abhinav Asthana
CEO, Postman

Arash Ferdowsi
Co-founder, Dropbox

Arash Ferdowsi
Co-founder, Dropbox

Ian McCrystal
Developer AI, Stripe

Ian McCrystal
Developer AI, Stripe

Jo Zhu
Investor, Pear VC

Jo Zhu
Investor, Pear VC

Avlok Kohli
CEO, AngelList

Avlok Kohli
CEO, AngelList

Benny Joseph
CTO, Allbirds

Benny Joseph
CTO, Allbirds

Austen Allred
CEO, BloomTech

Austen Allred
CEO, BloomTech

Reed McGinley-Stempel
CEO, Stytch

Reed McGinley-Stempel
CEO, Stytch

Katey Caldwell
Investor, TwentyTwo VC

Katey Caldwell
Investor, TwentyTwo VC
Start building with Fern
Start building with Fern

fern

fern