What is an API tester?
An API tester, or HTTP client, sends requests to a web API and shows the full response. Developers use one to try endpoints, check authentication, debug errors and explore documentation examples before writing code.
Choose a method, enter the URL and add query parameters, headers and a JSON, form or text body. Press Send to see the status code and text, response time, size and content type, every header the browser exposes, and the body with JSON formatted for reading and available to download.
How to use the API tester
1.Build the request
Method, URL, query, headers and body.
2.Press Send
Requests time out after 30 seconds; Cancel stops them early.
3.Inspect the response
Status, time, size, headers and pretty-printed JSON.
Example: a public test API
GET https://httpbin.org/get?hello=zapkit with Accept: application/json:
- Status
- 200 OK
- Body
- JSON echoing the query and headers that arrived
- Time and size
- shown for each request
Proof the request is built correctly, before it goes into an app.
Browser rules apply
Requests go straight from your browser to the API, never through ZapKit, and without your cookies. That also means browser security rules apply: the API must allow requests from other websites through CORS, which public APIs usually do but private and internal ones often don't.
If a request is blocked, the tool says so; the same request generally works from cURL, which the API request code generator writes for you. Browsers also hide response headers unless the server lists them in Access-Control-Expose-Headers.
Frequently asked questions
Why did my request fail when it works in Postman?
Postman isn't a browser, so CORS doesn't apply to it. The API needs to allow browser requests.
Can I call http:// or localhost APIs?
Browsers block http:// from https pages, though some allow localhost. Use cURL for those.
Are my tokens stored?
No. They're used for the request you send and kept only in this page.
Is there a size limit?
Responses over about 500,000 characters are cut short in the view.
Related tools
API request code generator
Build an HTTP request and get cURL, fetch, Axios, Python, HTTPie or PowerShell code.
HTTP status codes
Every HTTP status code with its name and plain-English meaning.
JSON viewer
Explore JSON as a collapsible tree, search it and copy paths.
Query string builder and parser
Parse a URL's query parameters, or build an encoded query string from key = value lines.
HTTP headers reference
Common HTTP request and response headers explained, from caching to CORS.
MIME type lookup
Find the MIME type for a file extension, or the extension for a MIME type.
More Developer tools
JSON & data
CSV tools
Network & system
Web & API
Git & releases
Encoding & security
- Base64 encode & decode
- URL encode & decode
- JWT decoder
- Hash generator
- HTML entity encoder
- Text to binary
- Morse code translator
- Caesar cipher & ROT13
- Random string generator
- Secret key generator
- 2FA code generator (TOTP)
- Encrypt & decrypt text
- Encrypt & decrypt files
- SSH key generator
- Base32 encoder and decoder
- Unicode escape converter
- Nano ID generator
- JWT generator
Text & code
- Regex tester
- Text diff checker
- Cron expression explainer
- Lorem ipsum generator
- Markdown previewer
- Slug generator
- Strip HTML tags
- Unicode character inspector
- URL parser
- Markdown TOC generator
- cURL converter
- Whitespace visualizer
- Markdown link extractor
- Regex escape
- Regex match extractor
- Split text by regex
- HTML, CSS and JS playground
- Mock data generator
- Keyboard event tester
- ASCII table