API Request Builder

Developer Tools

Send API requests and copy cURL or fetch code

FreePrivateInstant
Method
URL
Headers — one per line (Name: value)
Add a file · .txt .md .csv .json … · up to 2.00 MB

The request is sent straight from your browser, so the API must allow CORS. Do not put secret keys of production systems here.

cURL
curl -X GET 'https://jsonplaceholder.typicode.com/posts/1' \
  -H 'Accept: application/json'
JavaScript fetch
const res = await fetch("https://jsonplaceholder.typicode.com/posts/1", {
  "method": "GET",
  "headers": {
    "Accept": "application/json"
  }
});
const data = await res.json();
Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →

API Request Builder — at a glance

Send API requests and copy cURL or fetch code.

Your request
POST /posts
{ "title": "hello" }
Send
Result
201 Created
Response JSON
cURL + fetch code

How to use it — step by step

Just your input — nothing to install or sign up for.

1

Enter the request

Pick GET, POST or another method and type the URL.

2

Add headers and body

One header per line. Add a JSON body for POST, PUT and PATCH.

3

Press Send

The request is sent from your browser.

4

Copy the code

Use the generated cURL or fetch snippet in your project.

Pro tips

Small things that make the result better.

✦If it fails with a network error, the API probably blocks browser requests (CORS) — use the CORS Tester to check.
✦Do not paste production secrets.

Quick facts

Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC

Frequently Asked Questions

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

More Free Tools