Developer · Free tool

Online API Client & REST API Tester

Free browser-based API client and Postman alternative. Test REST, GraphQL and WebSocket APIs, save collections, use environments, write tests, run collections in a loop and export Python scripts.

Instant resultsPrivate by defaultNo sign-up
Posts

Query parameters

2 active

Tip: write /users/:id in the URL to get a path variable, and {{baseUrl}} to use a variable.

Send a request to see the response

Press Ctrl/⌘ + Enter to send. Paste a cURL command into the URL field to import it.

About this tool

A free online API client — a browser-based Postman alternative with nothing to install and no account. Build REST, GraphQL and WebSocket requests with query and path parameters, headers, cookies, authentication and any body (JSON, XML, text, form-data with files, x-www-form-urlencoded, binary or GraphQL), send them, and inspect the status, a timing waterfall, size, headers and a pretty-printed, searchable response. Organise requests into collections and folders, switch between local, staging and production environments with {{variables}} and secret values, write JavaScript tests with JSON Schema checks, and compare each response with the previous one. Run a whole collection in a loop with a CSV data file, measure latency with repeated requests, or export the flow as a ready-to-run Python, Node.js, Bash or k6 script. Import cURL, .http files, fetch() calls, Postman collections, OpenAPI/Swagger specs and HAR files, and generate code in 18 languages. Everything stays in your browser: requests go straight to the API (or through a proxy you run yourself), never through TheVanTool’s servers. For a single quick cURL command, the cURL Executor is the faster choice.

Features

Every method and body type

GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS and custom methods, with JSON, XML, HTML, text, JavaScript, form-data with file uploads, x-www-form-urlencoded, binary file and GraphQL bodies. JSON bodies get syntax highlighting, error underlines and one-click beautify.

Params, headers and path variables

The query-parameter table and URL stay in sync, /users/:id becomes a path variable, and header names and content types autocomplete. Toggle rows on and off, add descriptions, or edit everything at once in bulk mode.

Authentication

Bearer token, Basic auth, API key in a header or query string, and OAuth 2.0 with a built-in client-credentials and password-grant token request. Collections can set auth once for every request inside them.

Import and run cURL

Paste a cURL command — bash or Windows cmd, including Chrome and Firefox “Copy as cURL” — and it becomes a request with method, headers, auth, cookies, form fields and body. Several commands at once become a collection.

Code generation in 18 flavors

Turn a request into cURL (bash or cmd), HTTPie, wget, PowerShell, JavaScript fetch, Node.js axios, Python requests, Java HttpClient, OkHttp, Spring RestClient, Kotlin, Go, C#, PHP, Ruby, Rust or Swift, with or without your variable values filled in.

Response viewer

Status, total and header time, and size at a glance. Pretty-printed JSON that keeps large integers exact, a collapsible JSON tree, JSONPath filtering, raw text, sandboxed HTML preview, image and PDF preview, headers, cookies, and the exact request that was sent.

Collections, folders and history

Save requests into collections and folders, open several in tabs, duplicate, reorder and search them, and reopen anything you sent from the history. Everything autosaves in your browser.

Environments and variables

Write {{baseUrl}} or {{token}} anywhere. Switch between Local, Staging and Production environments, use collection variables and globals, and dynamic values such as {{$guid}}, {{$timestamp}} and {{$randomEmail}}. Undefined variables are highlighted in red.

Pre-request and test scripts

JavaScript with a Postman-compatible pm API: pm.test, pm.expect assertions, pm.response.json(), pm.environment.set, request header changes and console.log. Scripts run in an isolated worker with no network access, with a library of ready-made snippets.

Collection runner with loops and data files

Run a whole collection in order, repeat it for many iterations, feed it a CSV or JSON data file, add delays, stop at the first failure and use pm.execution.setNextRequest for branching. See pass/fail per request and download the results.

Export as Python, Node.js, Bash or k6

Turn a collection into a script you can run anywhere: python run_collection.py --iterations 10 --data users.csv. Tokens saved in tests carry over between requests, and the k6 export becomes a load test.

Import and export everything

Import cURL, .http files (IntelliJ and VS Code REST Client), raw HTTP requests, fetch() calls, Postman v2.0/v2.1 collections and environments, OpenAPI 3 and Swagger 2 specs in JSON or YAML (including Spring Boot’s /v3/api-docs), HAR files and cURL Executor exports. Export to Postman, OpenAPI 3, .http, Markdown docs or a full backup.

Examples and mock responses

Save any response as an example, or write one by hand, to document an endpoint. Turn on Mock to answer with that example instead of calling the network — handy for designing a new endpoint before the backend exists.

Cookies and the local proxy

Browsers block cross-origin requests that a server does not allow (CORS) and some headers such as Cookie. Download a 100-line, dependency-free Node.js proxy to run on your own computer and call any API — including localhost and VPN hosts — with every header and a cookie jar.

WebSocket client

Enter a ws:// or wss:// URL to connect, send text or JSON messages with {{variables}}, and watch a live, searchable log of sent and received frames with timestamps, sizes and pretty JSON. Download the log as JSON.

Timing waterfall

See where the time goes: DNS lookup, TCP connect, TLS handshake, waiting for the first byte and download, plus the HTTP protocol, whenever the browser can measure them.

Compare responses

Send a request again and the Compare tab shows a line-by-line diff of the body against the previous response, with status, time and size changes — handy after a deploy or when switching environments.

Repeat and measure latency

Send a request up to 1,000 times, in parallel if you like, and get min, median, mean, p95 and max response times, a histogram, requests per second and a status-code breakdown.

JWT decoding and JSON Schema tests

Bearer and OAuth tokens that are JWTs are decoded under the token field, with issuer, scopes and a warning when they have expired. Tests can check a whole response with pm.response.to.have.jsonSchema(schema).

Secret variables

Mark tokens and passwords as secret to mask them on screen and leave them out of Postman, OpenAPI, Markdown and .http exports. Type {{ in the URL to pick from your variables.

Private by design

No sign-up. Collections, environments, tokens and history are stored only in this browser. Requests go from your browser (or your own proxy) straight to the API you call; nothing passes through or is logged by TheVanTool.

How to test an API online

Choose the HTTP method, type the endpoint URL and press Send. For a JSON API, open the Body tab, choose JSON and type the payload; the Content-Type header is added for you, and Beautify tidies the JSON. Use the Auth tab rather than typing an Authorization header by hand, so the token can come from a variable and is masked on screen.

The status pill is green for 2xx, blue for redirects, amber for 4xx client errors and red for 5xx server errors. Hover over the time to see how long the server took to send its headers versus the body. The Sent request tab shows exactly what went out after variables, auth and the body were applied — the quickest way to debug a 400 or 401.

  • Press Enter in the URL field or Ctrl/⌘ + Enter anywhere to send; Ctrl/⌘ + S saves.
  • Write /orders/:orderId in the URL and fill in orderId under Params → Path variables.
  • Use Save as example on a response to keep it as documentation and for Mock mode.

Run a cURL command online and convert it to code

Paste a cURL command into the URL field and it is imported straight away: the method, URL, query parameters, headers, cookies, Basic or Bearer auth, form fields and body are split into the right tabs. This works with commands copied from API documentation and with “Copy as cURL” in Chrome, Edge and Firefox DevTools, in bash or Windows cmd format. Press Send to run it.

To go the other way, select Code. Choose Python requests, Java HttpClient, Spring RestClient, JavaScript fetch, Go or any of the other languages, decide whether to fill in variable values or keep {{placeholders}}, and copy or download the snippet. Copy as cURL in the menu puts a shell-ready command on your clipboard.

curl -X POST https://jsonplaceholder.typicode.com/posts \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer my-token' \
  --json '{"title": "Hello", "userId": 1}'
A cURL command you can paste into the URL field. It becomes a POST with a JSON body, an Accept header and Bearer auth.

Use environments and variables for local, staging and production

Create an environment for each place your API runs — for example Local with baseUrl = http://localhost:8080 and Staging with baseUrl = https://staging.example.com — and write {{baseUrl}}/users in your requests. Switching the environment in the top bar points every request at a different server without editing them.

Variables resolve in this order: values set by scripts, the current data-file row, the active environment, collection variables, then globals. A variable that is defined turns green in the URL; an undefined one turns red and is listed under the URL so you can add it. Dynamic variables such as {{$guid}}, {{$timestamp}}, {{$isoTimestamp}} and {{$randomInt}} create a fresh value for every request.

Write API tests and chain requests with scripts

The Tests script runs after each response. Wrap each check in pm.test so it shows up as passed or failed, and use pm.expect for readable assertions. To chain requests, save a value from one response into a variable and use it in the next request, for example a login token used as {{token}} in the Auth tab. In the JSON tree view, select a value and choose Save to variable to have this line written for you.

Pre-request scripts run before sending and can set variables or change headers, for example to add a request ID or an HMAC signature with the Web Crypto API. Scripts are plain JavaScript, can use await, and run in a separate worker without network access, so a script in an imported collection cannot send your tokens anywhere.

pm.test("Login succeeded", () => {
  pm.response.to.have.status(200);
  pm.expect(pm.response.responseTime).to.be.below(800);
});

const data = pm.response.json();
pm.expect(data).to.have.property("token");
pm.environment.set("token", data.token);
A test script that checks the response and saves a token for later requests.

Run many API calls in a loop: collection runner and Python scripts

Select Run to open the collection runner. Choose which requests run and in what order, how many iterations, a delay between requests, and optionally a CSV or JSON data file: each row becomes one iteration and its columns become variables, so a users.csv with email and password columns can log in as every user in turn. Results show each request’s status, time and tests, and can be downloaded as JSON.

To run the same flow outside the browser — in a terminal, a cron job or a CI pipeline — switch to Export as script. The Python version needs only the requests package and accepts --iterations, --data, --delay, --var name=value, --bail and --report; it exits with an error code when a request fails. The Node.js version needs no packages, the Bash version uses curl, and the k6 version turns the flow into a load test with virtual users.

pip install requests
python run_collection.py --data users.csv --var baseUrl=http://localhost:8080 --report results.json
Running an exported collection 20 times, once per CSV row, against a local server.

CORS errors, localhost and the local proxy

A web page may only read a response from another site if that site allows it with CORS headers. Many public APIs do, and so does your own API if you enable CORS in development (in Spring Boot, @CrossOrigin or a CorsConfigurationSource). If a request fails with no status at all, the browser most likely blocked it for CORS, a mixed HTTP/HTTPS page, or the server could not be reached; browsers deliberately hide which.

For everything else, switch Send via to Local proxy in Settings. Download the proxy script, read it, and run node thevantool-api-proxy.mjs. It listens only on 127.0.0.1, accepts requests only from this page with the access token it prints, and forwards them to any API without CORS limits — including private hosts on your VPN — while letting you send Cookie, User-Agent and other headers browsers block, see Set-Cookie responses, and keep a cookie jar.

Import Postman collections, OpenAPI specs and HAR files

Select Import and paste text or drop a file. Postman v2.0 and v2.1 collections keep their folders, auth, variables, scripts and saved examples; Postman environments become environments. An OpenAPI 3 or Swagger 2 document — JSON or YAML, such as the /v3/api-docs endpoint of a Spring Boot app with springdoc — becomes one request per operation, with path and query parameters, example bodies generated from schemas, security schemes as auth, and documented responses as examples. A HAR file saved from the DevTools Network panel replays a whole browsing session.

From a collection’s menu you can export it back as a Postman v2.1 collection for Postman, Insomnia, Bruno or Newman, as an OpenAPI 3.0 specification with paths, parameters, request bodies and example responses, or as Markdown documentation.

How to use it

  1. Pick a method and enter a URL — or paste a cURL command into the URL field to import it. Add query params, path variables such as /users/:id, headers, auth and a body in the tabs below.
  2. Press Send (Ctrl/⌘ + Enter). Read the status, time and size, then switch between Pretty, Raw, Tree and Preview, filter JSON with a JSONPath, and check headers, cookies, test results and console output.
  3. Save the request to a collection (Ctrl/⌘ + S), use environments for base URLs and tokens, generate code with Code, and use Run to execute the collection in a loop or export it as a Python, Node.js, Bash or k6 script.

Common uses

  • Test a REST or GraphQL endpoint during development, including a local Spring Boot, Node.js or Django API on localhost
  • Import a request copied as cURL from browser DevTools or API docs, tweak it, resend it, and convert it to Python, Java or JavaScript code
  • Automate an API flow — log in, save the token, call protected endpoints — and run it for every row of a CSV file or as a script in CI

Common questions

Is this a free Postman alternative?

Yes. It covers the everyday Postman workflow — requests, collections, folders, environments, variables, auth, pre-request and test scripts with a pm API, a collection runner with data files, cURL import, code generation, and Postman collection import and export — free, in the browser, without an account or a desktop install. It is not affiliated with Postman.

Why does my request fail with no status code?

The browser blocked or could not complete it. The usual causes are CORS (the API does not allow requests from web pages), an http:// API called from this https:// page, a wrong host name, or a server that is down. Browsers do not reveal which. Enable CORS on your own API, or switch to the local proxy in Settings to call any API.

Can I call an API running on localhost?

Yes. Browsers allow an https page to call http://localhost and http://127.0.0.1. Your local server must allow cross-origin requests with CORS headers; for a Spring Boot API, add @CrossOrigin or a CORS configuration in development. Alternatively, run the local proxy, which needs no changes to your server.

How do I run a cURL command online?

Paste the command into the URL field or into Import, then press Send. Method, headers, auth, cookies and body are imported. Options that only make sense on the command line, such as -k or -o, are ignored, and file uploads need you to choose the file again because a web page cannot read paths on your computer.

How do I convert cURL to Python, Java or JavaScript?

Import the cURL command, then select Code and choose a language: Python requests, Java HttpClient, OkHttp, Spring RestClient, JavaScript fetch, Node.js axios, Go, C#, PHP, Ruby, Rust, Swift, PowerShell, HTTPie or wget. Turn off “Fill in variable values” to keep {{placeholders}} instead of real tokens.

Can I run many API requests in a loop?

Yes. The collection runner repeats a collection for any number of iterations or once per row of a CSV or JSON data file, with a delay between requests, and supports pm.execution.setNextRequest for branching. To run outside the browser, export the collection as a Python, Node.js, Bash or k6 script.

Are my tokens and collections uploaded anywhere?

No. Collections, environments, history and cookies are saved only in this browser’s local storage, and you can turn that off. Requests go directly from your browser — or from the proxy on your own computer — to the API you are calling. Share links keep the request inside the link fragment, which browsers do not send to servers, and leave out tokens unless you choose otherwise.

Which headers can’t be sent from the browser?

Browsers set Cookie, Host, Origin, Referer, User-Agent, Content-Length, Connection and a few others themselves and ignore them from web pages; the tool tells you when one is dropped. Use the local proxy to send them. Similarly, a server’s Set-Cookie and most response headers are only visible to a page if the server exposes them.

Can I upload files with form-data?

Yes. In the Body tab choose form-data, set a field’s type to File and choose a file, or choose Binary file to send a file as the whole body. Files stay in this tab’s memory and are not saved, so choose them again after a reload.

Can I import a Swagger or OpenAPI spec from Spring Boot?

Yes. Open /v3/api-docs (springdoc) or /v2/api-docs (Swagger 2) of your app, copy the JSON — or a YAML file — and paste it into Import. Each operation becomes a request using a {{baseUrl}} variable set from the spec’s servers, with example request bodies built from your schemas.

Can I test WebSocket APIs?

Yes. Type a ws:// or wss:// URL and press Connect. Write text or JSON messages (with {{variables}}) and press Send message; every sent and received frame appears in a searchable log you can download. Browsers do not allow custom headers on the WebSocket handshake, so pass tokens in the URL or as a subprotocol.

How is this different from the cURL Executor?

The cURL Executor is built for running and explaining a single cURL command quickly. The API client is a full workspace: collections and folders, tabs, environments with secret variables, pre-request and test scripts, a collection runner with data files, WebSocket support, latency measurement, response comparison, and Postman and OpenAPI import and export. Requests move between them as cURL, .http files or saved collections.

How do I validate a response against a JSON Schema?

In the Tests script, use pm.response.to.have.jsonSchema(schema) or pm.expect(value).to.have.jsonSchema(schema) with a schema object; the Validate JSON Schema snippet writes an example for you. A failing test lists the first mismatches with their JSON paths.

What can scripts do, and are they safe?

Scripts are JavaScript with a pm object for tests, assertions, variables and request changes, plus console.log, await and the Web Crypto API. They run in a separate Web Worker with network and storage access removed and are stopped after five seconds, so a script from an imported collection cannot read this page or send data elsewhere.

Can’t find the tool you need?

Tell us what you’d like it to do. We’ll review your suggestion for a future tool.

Suggest a toolOpens your email app. You can also write to [email protected].