• Docs
  • API Playground
  • Portal

Interactive API Playground in the docs

The 1inch docs now include an interactive API Playground — call any endpoint live, tweak parameters, and copy working code without leaving the docs.

1inch API Playground — Get gasless swap active orders request and live JSON response

The 1inch developer docs now include an interactive API Playground on every endpoint — something that was missing before. Hit Try it, call the API live with your own key, tweak parameters, and copy working code — without leaving the docs.

What you can do

  • Call any endpoint live — open a reference page, hit Try it, and run the request against the real API.
  • Tweak parameters as you go — path, query, and body fields update the request; responses show status and JSON in place.
  • Copy working code — every endpoint generates request snippets that stay in sync with the parameters you set.
  • See supported chains per endpoint — pick the chain you need and run the call for that network.

Try it now

Open any endpoint and hit Try it — for example, Get gasless swap active orders opens with the playground ready to run. The docs generate the matching request code as you go:

const axios = require("axios");
const { data } = await axios.get(
"https://api.1inch.com/fusion/orders/v2.0/8453/order/active",
{
headers: { Authorization: `Bearer ${API_KEY}` },
params: { page: 1, limit: 100, version: "2.2" }
}
);
console.log(data);