API Playground
Uses networkSend HTTP requests with headers, body, auth, environment variables, collections and cURL import.
What is API Playground?
Test REST and GraphQL endpoints directly from your browser. Configure query params, headers, JSON/form/raw bodies, Bearer/Basic/API-key auth, environment variables ({{baseUrl}}), and local collections, or import cURL commands and export code snippets.
How to use API Playground
- Step 1
Choose an HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS) and enter a URL.
- Step 2
Configure Params, Headers, Auth (Bearer, Basic, API Key), or Body (JSON, Form, URL-encoded, Raw, GraphQL).
- Step 3
Define {{variables}} in the Environments drawer or import a cURL command directly.
- Step 4
Click Send to inspect status, response time, byte size, headers, and formatted JSON/HTML/raw body.
- Step 5
Save requests to local collections or export the request as fetch, Axios, Python, Go, Kotlin, or Swift code.
Features
- Full request builder: query params table, header editor, JSON/form/urlencoded/GraphQL bodies, auth helpers
- Environment variables ({{baseUrl}}, {{token}}) and local collections stored in your browser
- Import cURL commands or Postman v2.1 collections; export requests to 12+ languages
- Response inspector with status badge, duration, size, headers, formatted JSON, raw, and preview
- Honest CORS diagnostics explaining browser cross-origin blocks and server-side fixes
- Optional SSRF-protected proxy toggle when enabled by deployment configuration
Example
Input
GET https://jsonplaceholder.typicode.com/posts/1
Output
200 OK · {"userId": 1, "id": 1, "title": "..."}Executes the request from your browser and pretty-prints the JSON response with headers and timing.
Frequently asked questions
Why do some third-party APIs fail with a CORS error?
Browsers block cross-origin requests unless the target server sends Access-Control-Allow-Origin headers. Enable CORS on your dev server or export as cURL to run from your terminal.
Where are my collections and environment variables stored?
All collections, tabs, and variables are stored strictly in your browser localStorage.
Does NexaTools log my API requests or tokens?
No. Requests go straight from your browser to the URL you enter.
Can I paste a cURL command to populate the request?
Yes. Click Import cURL to parse headers, method, and body automatically.
Related tools
cURL to Code Converter
Convert cURL commands to fetch, Axios, Python, Go, Kotlin, Swift, Rust, C# and back.
JWT Decoder & Verifier
Decode, verify HS/RS/ES/EdDSA signatures, sign test tokens and inspect expiry claims locally.
JSON Formatter & Validator
Format, validate, minify, repair, sort keys and query JSON with Tree and Table views.
GraphQL Query Formatter & Tester
Format GraphQL queries, validate variables safely, convert SDL to TypeScript and execute queries.