Northwind APIhttps://api.northwind.dev/v1
POST/payments
Charge a saved customer and return the payment object.
curl -X POST https://api.northwind.dev/v1/payments \  -H "Authorization: Bearer YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{"amount":4900,"currency":"eur","customer":"cus_8f3kZq","description":"Studio plan, October"}'
Press Run to send the request
// response

Show your API working
before anyone signs up

API Playground is a console for your landing page. Visitors pick an endpoint, read the request in their own language, press Run and watch the answer come back. Nothing is called for real. You type in the endpoints and what they return.

Languages

Write the endpoint once, get four snippets

Method, path, body and headers go in once. cURL, JavaScript, Python and Go come out, kept in sync when you edit. Pick which tabs to show, in which order, and which one it opens on.

  • +Auth header with your own key format, or off
  • +Copy button puts the current snippet on the clipboard
  • +Light and dark, window, card or bare frame
Northwind APIhttps://api.northwind.dev/v1
POST/payments
const res = await fetch("https://api.northwind.dev/v1/payments", {  method: "POST",  headers: {    "Authorization": "Bearer YOUR_API_KEY",    "Content-Type": "application/json"  },  body: JSON.stringify({      "amount": 4900,      "currency": "eur",      "customer": "cus_8f3kZq",      "description": "Studio plan, October"  })});const data = await res.json();
Press Run to send the request
// response
Responses

Every answer, including the bad ones

Each endpoint carries its own status and latency. 2xx goes green, 4xx and 5xx go red, and the code gets its text: 201 Created, 404 Not Found, 429 Too Many Requests. A 204 shows an empty body, as it should.

Latency is yours to set per endpoint, with a little jitter on every run so it never reads like a recording.

Keys and limitshttps://api.northwind.dev/v1
POST/keys
Mint a new API key for a workspace.
curl -X POST https://api.northwind.dev/v1/keys \  -H "Authorization: Bearer YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{"workspace":"ws_42","scopes":["read","write"]}'
Press Run to send the request
// response
Looks

Three frames, your colours

The same component in a sidebar, a card and bare on the page. Under 620px wide it folds the endpoint list into a row of pills by itself, so it fits a column as well as a hero.

Window, dark
SMShttps://api.northwind.dev/v1
POST/messages
curl -X POST https://api.northwind.dev/v1/messages \  -H "Content-Type: application/json" \  -d '{"to":"+31612345678","text":"Your table is ready."}'
Press Run to send the request
// response
Card, light
SMShttps://api.northwind.dev/v1
POST/messages
curl -X POST https://api.northwind.dev/v1/messages \  -H "Content-Type: application/json" \  -d '{"to":"+31612345678","text":"Your table is ready."}'
Press Run to send the request
// response
Bare
POST/messages
curl -X POST https://api.northwind.dev/v1/messages \  -H "Content-Type: application/json" \  -d '{"to":"+31612345678","text":"Your table is ready."}'
Press Run to send the request
// response
Setup

How it works

Three steps and the console runs. No plugins, no API keys, no backend.

01
Drop it on the page

Drag API Playground from Assets onto your hero or docs page. Set the base URL and the title in the panel.

02
Add your endpoints

Each endpoint has a name, method, path, request body, response, status and latency. The four samples stay until you add your own.

03
Pick the languages

Choose which tabs to show and the one it opens on. Switch on Auto run if you want the first request to send as the visitor scrolls in.

Get it

Put it on your own landing page

A console that shows your API answering, built from your own endpoints. Buy it once and use it in every project you build.

Get API Playground for $9
The Creator

Made by Michelle

I am Michelle. Under the name Zo-e I do branding, websites and marketing for companies that want to stand out, plus a growing set of Framer templates and components. I like taking a look inside a client's head and then making something better than they had in mind. This component started the same way.

Michelle de Haas, the designer behind Zo-e
API Playground byWorks on every Framer plan. No plugins, no API, no backend.

Create a free website with Framer, the website builder loved by startups, designers and agencies.